diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-08-29 14:39:13 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-09-15 14:47:39 +0300 |
commit | 96f0ef50bfc646056a1a2ecf5a5b99888b97fe3c (patch) | |
tree | f9b679f563a715eb83773ef35956510ea1216495 /drivers/gpu/drm/i915/display/intel_dvo.c | |
parent | 08a629fff8c9af3283ee9ff4e8d9b7134666166a (diff) | |
download | linux-96f0ef50bfc646056a1a2ecf5a5b99888b97fe3c.tar.xz |
drm/i915/crt: Populate connector->ddc
Populate connector->ddc, and thus create the "ddc" symlink
in sysfs for analog VGA connectors.
As a bonus we can replace a bunch of intel_gmbus_get_adapter()
lookups with just the connector->ddc pointer. Sadly one extra
lookup still remains due to the g4x DVI-I shenanigans. We could
perhaps consider borrowing the ddc proxy idea from SDVO to deal
with that in a perhaps nicer way, but can't really be bothered
right now at least. Also not sure exposing such a dual ddc bus
to userspace would be quite wise.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230829113920.13713-6-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dvo.c')
0 files changed, 0 insertions, 0 deletions