diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2016-07-07 08:27:15 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2016-07-07 08:29:22 -0400 |
commit | 884f5d76098ac4ba22950f64f48cb67a4dfb4ae1 (patch) | |
tree | c3999b86038e55058e9a26bbbf21d4ba4a72bd9c | |
parent | 202a693fe9b3cdeba317bda630907e6a664da253 (diff) | |
download | kernel-884f5d76098ac4ba22950f64f48cb67a4dfb4ae1.tar.gz kernel-884f5d76098ac4ba22950f64f48cb67a4dfb4ae1.tar.xz kernel-884f5d76098ac4ba22950f64f48cb67a4dfb4ae1.zip |
Fix blank screen on some nvidia cards (rbhz 1351205)
-rw-r--r-- | drm-nouveau-disp-sor-gf119-select-correct-sor-when.patch | 29 | ||||
-rw-r--r-- | kernel.spec | 6 |
2 files changed, 35 insertions, 0 deletions
diff --git a/drm-nouveau-disp-sor-gf119-select-correct-sor-when.patch b/drm-nouveau-disp-sor-gf119-select-correct-sor-when.patch new file mode 100644 index 000000000..996b47918 --- /dev/null +++ b/drm-nouveau-disp-sor-gf119-select-correct-sor-when.patch @@ -0,0 +1,29 @@ +From 217215041b9285af2193a755b56a8f3ed408bfe2 Mon Sep 17 00:00:00 2001 +From: Ben Skeggs <bskeggs@redhat.com> +Date: Wed, 6 Jul 2016 06:50:36 +1000 +Subject: [PATCH] drm/nouveau/disp/sor/gf119: select correct sor when poking + training pattern + +Fixes a regression caused by a stupid thinko from "disp/sor/gf119: both +links use the same training register". + +Signed-off-by: Ben Skeggs <bskeggs@redhat.com> +Cc: stable@vger.kernel.org +--- + drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c +index 22706c0..49bd5da 100644 +--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c ++++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c +@@ -40,7 +40,8 @@ static int + gf119_sor_dp_pattern(struct nvkm_output_dp *outp, int pattern) + { + struct nvkm_device *device = outp->base.disp->engine.subdev.device; +- nvkm_mask(device, 0x61c110, 0x0f0f0f0f, 0x01010101 * pattern); ++ const u32 soff = gf119_sor_soff(outp); ++ nvkm_mask(device, 0x61c110 + soff, 0x0f0f0f0f, 0x01010101 * pattern); + return 0; + } + diff --git a/kernel.spec b/kernel.spec index b036ce695..c04ddcc94 100644 --- a/kernel.spec +++ b/kernel.spec @@ -624,6 +624,9 @@ Patch815: 0015-drm-i915-gen9-Calculate-watermarks-during-atomic-che.patch Patch816: 0016-drm-i915-gen9-Reject-display-updates-that-exceed-wm-.patch Patch817: 0017-drm-i915-Remove-wm_config-from-dev_priv-intel_atomic.patch +#rbhz 1351205 +Patch833: drm-nouveau-disp-sor-gf119-select-correct-sor-when.patch + # END OF PATCH DEFINITIONS %endif @@ -2149,6 +2152,9 @@ fi # # %changelog +* Thu Jul 07 2016 Josh Boyer <jwboyer@fedoraproject.org> +- Fix blank screen on some nvidia cards (rbhz 1351205) + * Thu Jul 7 2016 Peter Robinson <pbrobinson@fedoraproject.org> - Enable Marvell mvebu for aarch64 |