]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:35 +0000 (08:34 +0100)
commit200f0f7528e26b1a4d62b9e998a42e0747ff443d
tree632f9e33b99cd79d658335fd2a8d74f6872286e0
parentdec2a47c891f5286bb98ed63a39825bfe5e0728b
drm/i915: Allow panel fixed modes to have differing sync polarities

[ Upstream commit 079af818f8edce0695551215880352009a6d2f63 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/display/intel_panel.c