summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_panel_orientation_quirks.c
diff options
context:
space:
mode:
authorAnisse Astier <anisse@astier.eu>2021-12-30 01:21:59 +0300
committerJani Nikula <jani.nikula@intel.com>2021-12-31 13:13:54 +0300
commite35d8762b04f89f9f5a188d0c440d3a2c1d010ed (patch)
tree10e02f1900fec21dd3ac573104bcc1fd375b5afe /drivers/gpu/drm/drm_panel_orientation_quirks.c
parentf7747be1410321de8a92e340c5ca6c18a59770e9 (diff)
downloadlinux-e35d8762b04f89f9f5a188d0c440d3a2c1d010ed.tar.xz
drm/i915/opregion: add support for mailbox #5 EDID
The ACPI OpRegion Mailbox #5 ASLE extension may contain an EDID to be used for the embedded display. Add support for using it via by adding the EDID to the list of available modes on the connector, and use it for eDP when available. If a panel's EDID is broken, there may be an override EDID set in the ACPI OpRegion mailbox #5. Use it if available. Fixes the GPD Win Max display. Based on original patch series by: Jani Nikula <jani.nikula@intel.com> https://patchwork.kernel.org/project/intel-gfx/patch/20200828061941.17051-1-jani.nikula@intel.com/ Changes: - EDID is copied and validated with drm_edid_is_valid - EDID is now only used as a fallback. - squashed the two patches Cc: Jani Nikula <jani.nikula@intel.com> Cc: Uma Shankar <uma.shankar@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Co-developed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Anisse Astier <anisse@astier.eu> Link: https://patchwork.freedesktop.org/patch/msgid/20211229222200.53128-2-anisse@astier.eu
Diffstat (limited to 'drivers/gpu/drm/drm_panel_orientation_quirks.c')
0 files changed, 0 insertions, 0 deletions