summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Scholz <florian.scholz@stud.hn.de>2013-04-02 21:16:38 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-04-15 05:56:57 (GMT)
commit4a5bb9959a98f3e831ed9cb108ada034c99b42d9 (patch)
tree44ff673e94bfae3364f980544e95a85fd964c00f
parentc8f80213bbb9cd2b1b1d383372d14f6083f2ce1e (diff)
drm/nouveau: adding support for backlight control of GT525M (NVC0)
This patch adds support for the backlight control of the NVIDIA GT 525M, which identifies itself as a member of the NVC0 family. v2. Extended to handle Kepler too Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_backlight.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c
index 5d94030..2ffad21 100644
--- a/drivers/gpu/drm/nouveau/nouveau_backlight.c
+++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c
@@ -239,6 +239,9 @@ nouveau_backlight_init(struct drm_device *dev)
case NV_40:
return nv40_backlight_init(connector);
case NV_50:
+ case NV_C0:
+ case NV_D0:
+ case NV_E0:
return nv50_backlight_init(connector);
default:
break;