[PATCH 0/7] drm/udl: Convert to struct drm_edid
Thomas Zimmermann
tzimmermann at suse.de
Thu Apr 4 15:03:17 UTC 2024
Convert udl to use struct drm_edid and its helpers. Also clean up
a few things in the process.
Patches 1 and 2 add a custom EDID probe function similar to the
existing drm_probe_ddc(). The seconds patch is necessary to make
it useful for udl.
Patch 3 fixes a bug.
Patches 4 to 6 convert the current EDID handling to struct drm_edid
and its helpers. Patch 6 also separates the helpers for .get_modes()
and .detect_ctx() from each other.
Patch 7 removes the obsolete struct udl_connector.
Thomas Zimmermann (7):
drm/edid: Implement drm_probe_ddc() with drm_edid_probe_custom()
drm/edid: Test for EDID header in drm_edit_probe_custom()
drm/udl: Remove DRM_CONNECTOR_POLL_HPD
drm/udl: Move drm_dev_{enter,exit}() into udl_get_edid_block()
drm/udl: Clean up Makefile
drm/udl: Untangle .get_modes() and .detect_ctx()
drm/udl: Remove struct udl_connector
drivers/gpu/drm/drm_edid.c | 62 +++++++++++---
drivers/gpu/drm/udl/Makefile | 8 +-
drivers/gpu/drm/udl/udl_drv.h | 12 +--
drivers/gpu/drm/udl/udl_edid.c | 67 +++++++++++++++
drivers/gpu/drm/udl/udl_edid.h | 15 ++++
drivers/gpu/drm/udl/udl_modeset.c | 136 ++++++------------------------
include/drm/drm_edid.h | 3 +
7 files changed, 173 insertions(+), 130 deletions(-)
create mode 100644 drivers/gpu/drm/udl/udl_edid.c
create mode 100644 drivers/gpu/drm/udl/udl_edid.h
--
2.44.0
More information about the dri-devel
mailing list