]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/drm/drm_dp_helper.h
drm/dp: Introduce EDID-based quirks
authorLyude Paul <lyude@redhat.com>
Tue, 11 Feb 2020 18:33:46 +0000 (13:33 -0500)
committerLyude Paul <lyude@redhat.com>
Wed, 4 Mar 2020 01:34:31 +0000 (20:34 -0500)
commit0883ce8146ed6074c76399f4e70dbed788582e12
tree83eb95c367030a38440bef88bc2644bdbe9d4ef5
parent391615d998367b6495ccf9e685120986e8d02fa6
drm/dp: Introduce EDID-based quirks

The whole point of using OUIs is so that we can recognize certain
devices and potentially apply quirks for them. Normally this should work
quite well, but there appears to be quite a number of laptop panels out
there that will fill the OUI but not the device ID. As such, for devices
like this I can't imagine it's a very good idea to try relying on OUIs
for applying quirks. As well, some laptop vendors have confirmed to us
that their panels have this exact issue.

So, let's introduce the ability to apply DP quirks based on EDID
identification. We reuse the same quirk bits for OUI-based quirks, so
that callers can simply check all possible quirks using
drm_dp_has_quirk().

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200211183358.157448-2-lyude@redhat.com
drivers/gpu/drm/drm_dp_helper.c
drivers/gpu/drm/drm_dp_mst_topology.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/i915/display/intel_psr.c
include/drm/drm_dp_helper.h