mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
bd7d95e609
PD#SWPL-86119 Problem: Some functions don't mean "utility" but are put in vpu util. Code of RDMA registration is redundant. Register debugging by overwriting always uses rdma handle of crtc0. Global array is always allocated whether debugs and sysfs are used or not. Solution: Move those functions out of vpu util. Use single callback to implement RDMA registration. Add param in sysfs and debugfs to indicate which index of rdma handle to use. Allocate global array only when used. Verify: S905D5 Test: DRM-OSD-78 Change-Id: I4b46776ab0f3e7c3e6ca589fb2e43a2e79b44869 Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>