summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-12 03:15:50 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-12 03:15:50 +0100
commit05dd9a296958364794a0b4910bf9623f51b083f9 (patch)
tree448e3c1f8e93ed9301b99124da2636fca71a968b /sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch
parent120066f9e16553b0569c6a94336b6b688e7a91c1 (diff)
- Workaround amdgpu and radeon issues by adding a new swiotlb option.
defaults to disabled ( old way ) while still possible to enable and test the new way / code. The newer code does not work good or does not work at all on some HW ( mine as example ) see: https://lkml.org/lkml/2018/4/5/737 https://bugzilla.kernel.org/show_bug.cgi?id=198511 https://bugs.freedesktop.org/show_bug.cgi?id=105038
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch b/sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch
new file mode 100644
index 00000000..754d982a
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore/files/nouveau-pascal-backlight.patch
@@ -0,0 +1,11 @@
+diff -up linux-4.16/drivers/gpu/drm/nouveau/nouveau_backlight.c.omv~ linux-4.16/drivers/gpu/drm/nouveau/nouveau_backlight.c
+--- linux-4.16/drivers/gpu/drm/nouveau/nouveau_backlight.c.omv~ 2018-04-06 01:04:34.573357055 +0200
++++ linux-4.16/drivers/gpu/drm/nouveau/nouveau_backlight.c 2018-04-06 01:05:46.985579248 +0200
+@@ -287,6 +287,7 @@ nouveau_backlight_init(struct drm_device
+ case NV_DEVICE_INFO_V0_FERMI:
+ case NV_DEVICE_INFO_V0_KEPLER:
+ case NV_DEVICE_INFO_V0_MAXWELL:
++ case NV_DEVICE_INFO_V0_PASCAL:
+ return nv50_backlight_init(connector);
+ default:
+ break;