• Laurent Pinchart's avatar
    drm: xlnx: zynqmp_dpsub: Decouple DRM device from zynqmp_dpsub · d189835f
    Laurent Pinchart authored
    To complete the decoupling of the DRM device from the zynqmp_dpsub,
    group all DRM-related structures in a zynqmp_dpsub_drm structure and
    allocate it separately from the zynqmp_dpsub. The DRM managed allocation
    of the drm_device now doesn't cover the zynqmp_dpsub anymore, so we need
    to register a cleanup action to release the zynqmp_dpsub when the
    drm_device is released.
    
    The will allow usage of the DisplayPort encoder as a standalone bridge,
    without registering a DRM device in this driver.
    Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
    d189835f
zynqmp_kms.h 1.06 KB