Add maxwell to backlight init (rhbz 1390308)

This commit is contained in:
Justin M. Forbes 2016-11-11 15:16:42 -06:00
parent 1f56e8e9f5
commit d3f81d044b
2 changed files with 30 additions and 0 deletions

View File

@ -640,6 +640,9 @@ Patch852: 0001-HID-input-ignore-System-Control-application-usages-i.patch
#rhbz 1392885
Patch853: 0001-drm-i915-Refresh-that-status-of-MST-capable-connecto.patch
#rhbz 1390308
Patch854: nouveau-add-maxwell-to-backlight-init.patch
# END OF PATCH DEFINITIONS
%endif
@ -2176,6 +2179,9 @@ fi
#
#
%changelog
* Fri Nov 10 2016 Justin M. Forbes <jforbes@fedoraproject.org>
- Nouveau: Add Maxwell to backlight initialization (rhbz 1390308)
* Thu Nov 10 2016 Justin M. Forbes <jforbes@fedoraproject.org> - 4.8.7-300
- Linux v4.8.7
- Fixes cve-2016-8630 (rhbz 1393350 1393358)

View File

@ -0,0 +1,24 @@
From bbe1f94a8b3f2e8622dd400a6827d3242005d951 Mon Sep 17 00:00:00 2001
From: Faris Alsalama <farisbenbrahem@gmail.com>
Date: Sat, 21 May 2016 14:41:43 -0400
Subject: drm/nouveau/kms: add Maxwell to backlight initialization
Signed-off-by: Faris Alsalama <farisbenbrahem@gmail.com>
Acked-by: Acked-by: Pierre Moreau <pierre.morrow@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c
index f5101be..5e2c568 100644
--- a/drivers/gpu/drm/nouveau/nouveau_backlight.c
+++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c
@@ -232,6 +232,7 @@ nouveau_backlight_init(struct drm_device *dev)
case NV_DEVICE_INFO_V0_TESLA:
case NV_DEVICE_INFO_V0_FERMI:
case NV_DEVICE_INFO_V0_KEPLER:
+ case NV_DEVICE_INFO_V0_MAXWELL:
return nv50_backlight_init(connector);
default:
break;
--
cgit v0.10.2