From ea99386b335b20e7a0039d775f0f7fb37888f5dd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Apr 2018 23:25:57 +0100 Subject: fix PASCAL cards with nouveau --- sys-kernel/linux-image/files/nouveau-pascal-backlight.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys-kernel/linux-image/files/nouveau-pascal-backlight.patch (limited to 'sys-kernel/linux-image/files') diff --git a/sys-kernel/linux-image/files/nouveau-pascal-backlight.patch b/sys-kernel/linux-image/files/nouveau-pascal-backlight.patch new file mode 100644 index 00000000..754d982a --- /dev/null +++ b/sys-kernel/linux-image/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; -- cgit v1.2.3