aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2021-08-06 11:29:52 +0000
committerLaurent Pinchart <[email protected]>2022-10-19 13:53:57 +0000
commit6ca91bb43a63ad036a05491ad662aa18feb0e4ce (patch)
tree1039b83b7672a509c444ce45e173d89955001404 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parentdrm: xlnx: zynqmp_dpsub: Move DP bridge init to zynqmp_dp_probe() (diff)
downloadkernel-6ca91bb43a63ad036a05491ad662aa18feb0e4ce.tar.gz
kernel-6ca91bb43a63ad036a05491ad662aa18feb0e4ce.zip
drm: xlnx: zynqmp_dpsub: Manage DP and DISP allocations manually
The zynqmp_disp and zynqmp_dp structures are allocated with drmm_kzalloc(). While this simplifies management of memory, it requires a DRM device, which will not be available at probe time when the DP bridge will be used standalone, with a DRM device in the PL. To prepare for this, switch to manual allocation for zynqmp_disp and zynqmp_dp. The cleanup still uses the DRM managed infrastructure, but one level up, at the top level. This will be addressed separately. Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions