drm/i915: Allow panel fixed modes to have differing sync polarities
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Oct 2022 09:39:38 +0000 (12:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Oct 2022 10:06:54 +0000 (13:06 +0300)
commit2bd0db4b3f0bd529f75b32538fc5a3775e3591c0
treed420b7d774bbd038e3ecd7f3a66fcf9a14270580
parent5988a0acad32823743b1a078b60392047aae4118
drm/i915: Allow panel fixed modes to have differing sync polarities

Apparently some panels declare multiple modes with random
sync polarities. Seems a bit weird, but looks like Windows/GOP
doesn't care, so let follow suit and accept alternate fixed
modes regardless of their sync polarities.

v2: Don't pollute the DRM_ namespace with a define (Jani)

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6968
Acked-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/20221020093938.27200-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_panel.c