Files
kernel_common_drivers/drivers/drm
yujun.zhang bd7d95e609 drm: optimize vpu utils [1/1]
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>
2025-02-12 18:39:47 -08:00
..
2025-02-12 18:39:47 -08:00
2025-02-12 01:16:13 -08:00
2024-06-27 12:12:06 +00:00
2025-02-12 18:39:47 -08:00
2023-12-14 16:55:55 +08:00
2025-02-12 01:16:13 -08:00
2024-06-27 12:12:06 +00:00
2024-06-27 12:12:06 +00:00
2025-02-12 01:16:13 -08:00
2023-12-14 16:55:55 +08:00
2025-02-12 18:39:47 -08:00
2025-02-12 18:39:47 -08:00
2025-02-12 18:39:47 -08:00
2025-02-12 18:39:47 -08:00