]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnl: Mask previous DDI - PLL mapping
authorJames Ausmus <james.ausmus@intel.com>
Fri, 1 Dec 2017 02:17:00 +0000 (18:17 -0800)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 5 Dec 2017 14:56:41 +0000 (16:56 +0200)
commit98bd4f4fcb2e8ada812678735313f59b7e52eb2d
treeb1ba40eefdad7f5de70072c9391cec5d9d6463dc
parentd4be751642e648d1146286933eff5efac5180eb8
drm/i915/cnl: Mask previous DDI - PLL mapping

Without masking out the old value, we can end up pointing the DDI to a
disabled PLL, which makes the system fall over. Mask out the previous
value before setting the PLL to DDI mapping.

This can be observed by running igt/testdisplay with both an eDP and
HDMI/DP output active.

v2: Add the Bugzilla link

Fixes: 3ae0ab8fd3d6c ("drm/i915/cnl: DDI - PLL mapping")
Testcase: igt/testdisplay
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103997
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: James Ausmus <james.ausmus@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Tested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171201021700.13504-1-james.ausmus@intel.com
(cherry picked from commit 23a7068ec581fcc6fb61039448632d25987b1fae)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c