drm/edid: Unconfuse preferred timing stuff a bit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 27 Sep 2022 17:00:04 +0000 (20:00 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Oct 2022 22:18:11 +0000 (01:18 +0300)
commitf72f9529b0ba69d0d00563f54868c5efbf00e88d
treec4167ef4b7855ebe57378d870892162148f2bd0a
parentbf72b5ef6e2b4e7d1a8a7086757a651831f907cc
drm/edid: Unconfuse preferred timing stuff a bit

For EDID 1.4 the first detailed timing is always preferred,
for older EDIDs there was a feature flag to indicate the same.
While correct, the code setting that up is rather confusing.
Restate it in a slightly more straightforward manner.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220927170006.27855-8-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_edid.c