aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2021-03-07 00:56:58 +0000
committerLaurent Pinchart <[email protected]>2021-08-08 23:28:04 +0000
commitb7f4753d7b71a87f0769a07da8c4beebc6903a2f (patch)
treea1f0854a27f0ac18626bac2427524f5c440792d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm: xlnx: zynqmp: Add zynqmp_disp_layer_is_video() to simplify the code (diff)
downloadkernel-b7f4753d7b71a87f0769a07da8c4beebc6903a2f.tar.gz
kernel-b7f4753d7b71a87f0769a07da8c4beebc6903a2f.zip
drm: xlnx: zynqmp_dpsub: Pass disp structure to all internal functions
The internal functions dealing with the audio/video buffer manager, the blender, and the audio mixer, all receive pointers to the respective objects. Those objects are embedded in the zynqmp_disp structure, and a very small. Treating them as separate objects would require expanding them with back-pointers to the zynqmp_disp in order to access fields such as the device pointer for debug messages, and this isn't worth it. Instead, merge those structures with the zynqmp_disp structure, and pass the zynqmp_disp pointer to all internal functions. Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions