Jani Nikula 6aa145bc94 drm/edid: abstract debugfs override EDID set/reset
Add functions drm_edid_override_set() and drm_edid_override_reset() to
support "edid_override" connector debugfs, and to hide the details about
it in drm_edid.c. No functional changes at this time.

Also note in the connector.override_edid flag kernel-doc that this is
only supposed to be modified by the code doing debugfs EDID override
handling. Currently, it is still being modified by amdgpu in
create_eml_sink() and handle_edid_mgmt() for reasons unknown. This was
added in commit 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)")
and later moved to amdgpu_dm.c in commit e7b07ceef2a6 ("drm/amd/display:
Merge amdgpu_dm_types and amdgpu_dm").

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8f6b4001630cafac5f44aa5913429ac9979743d2.1656494768.git.jani.nikula@intel.com
2022-06-30 10:50:59 +03:00
..
2021-07-29 09:12:01 +02:00
2022-02-07 16:35:35 -08:00
2021-11-30 09:41:28 +01:00
2022-04-04 18:00:19 +02:00
2021-08-02 16:41:20 +02:00
2021-08-13 17:50:48 +02:00
2021-11-30 09:41:28 +01:00
2022-03-14 17:36:59 +02:00
2022-02-07 16:35:35 -08:00
2022-06-27 13:45:48 +02:00
2020-07-16 18:16:31 -04:00
2021-10-04 12:06:14 +02:00
2019-12-18 16:09:12 -05:00