summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xlnx/zynqmp_dpsub.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-06 14:29:52 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-19 16:53:57 +0300
commit6ca91bb43a63ad036a05491ad662aa18feb0e4ce (patch)
tree1039b83b7672a509c444ce45e173d89955001404 /drivers/gpu/drm/xlnx/zynqmp_dpsub.h
parent5889ee59031b75a5048870f0644419719a1d108d (diff)
downloadlinux-6ca91bb43a63ad036a05491ad662aa18feb0e4ce.tar.xz
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/xlnx/zynqmp_dpsub.h')
0 files changed, 0 insertions, 0 deletions