]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/edid: Add support for quirks visible to DRM core and drivers
authorImre Deak <imre.deak@intel.com>
Thu, 5 Jun 2025 08:28:48 +0000 (11:28 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 12 Jun 2025 17:43:19 +0000 (20:43 +0300)
commit0b4aa85e8981198e23a68d50ee3c490ccd7f8311
treec4cbbce3d710c7eea5d45eb4657001193ca97698
parent5281cbe0b55a1ff9c6c29361540016873bdc506e
drm/edid: Add support for quirks visible to DRM core and drivers

Add support for EDID based quirks which can be queried outside of the
EDID parser iteself by DRM core and drivers. There are at least two such
quirks applicable to all drivers: the DPCD register access probe quirk
and the 128b/132b DPRX Lane Count Conversion quirk (see 3.5.2.16.3 in
the v2.1a DP Standard). The latter quirk applies to panels with specific
EDID panel names, support for defining a quirk this way will be added as
a follow-up.

v2: Reset global_quirks in drm_reset_display_info().
v3: (Jani)
- Use one list for both the global and internal quirks.
- Drop change for panel name specific quirks.
- Add comment about the way quirks should be queried.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250605082850.65136-4-imre.deak@intel.com
drivers/gpu/drm/drm_edid.c
include/drm/drm_connector.h
include/drm/drm_edid.h