summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-26 05:31:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-26 05:31:15 +0000
commitf4549696098e905ad479ee6eded6aa00bd1843b9 (patch)
treec8d3e773ddbd04fca9891535fbbaf4831b7a3a7e /sys/dev/pci/drm/i915
parentf01dc00098a72a94acc0755052e43bb71cdb7f60 (diff)
drm/i915/tc: fix the reset of ln0
From Khaled Almahallawy 479c06981236d3fea7ac4cf6a4f61fe896acacc1 in linux 5.7.y/5.7.6 a43555ac908c604f45ed98628805aec9355b9737 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r--sys/dev/pci/drm/i915/display/intel_ddi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/display/intel_ddi.c b/sys/dev/pci/drm/i915/display/intel_ddi.c
index 10e9cddc52e..131f3d903de 100644
--- a/sys/dev/pci/drm/i915/display/intel_ddi.c
+++ b/sys/dev/pci/drm/i915/display/intel_ddi.c
@@ -2866,7 +2866,7 @@ icl_program_mg_dp_mode(struct intel_digital_port *intel_dig_port,
ln1 = intel_de_read(dev_priv, MG_DP_MODE(1, tc_port));
}
- ln0 &= ~(MG_DP_MODE_CFG_DP_X1_MODE | MG_DP_MODE_CFG_DP_X1_MODE);
+ ln0 &= ~(MG_DP_MODE_CFG_DP_X1_MODE | MG_DP_MODE_CFG_DP_X2_MODE);
ln1 &= ~(MG_DP_MODE_CFG_DP_X1_MODE | MG_DP_MODE_CFG_DP_X2_MODE);
/* DPPATC */