]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/edid: Define the quirks in an enum list
authorImre Deak <imre.deak@intel.com>
Thu, 5 Jun 2025 08:28:47 +0000 (11:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:37:32 +0000 (16:37 +0200)
commit25def270d1d6b22dca9334804a9775493f2dfcfd
treea8c1ca3f9b44626f46e17456807255bcd62ebadd
parentc686124bcf06253620790857ff462f00f3f7a4ab
drm/edid: Define the quirks in an enum list

commit 5281cbe0b55a1ff9c6c29361540016873bdc506e upstream.

An enum list is better suited to define a quirk list, do that. This
makes looking up a quirk more robust and also allows for separating
quirks internal to the EDID parser and global quirks which can be
queried outside of the EDID parser (added as a follow-up).

Suggested-by: 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-3-imre.deak@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_edid.c