drm/nouveau/drm: adding support for backlight control of GT525M (NVC0)
authorFlorian Scholz <florian.scholz@stud.hn.de>
Tue, 2 Apr 2013 21:16:38 +0000 (23:16 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 26 Apr 2013 05:37:45 +0000 (15:37 +1000)
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>
drivers/gpu/drm/nouveau/nouveau_backlight.c

index 5d940302d2aae5756e2b5faaa33264a92d91c1fd..2ffad2176b7fc7a2e2f6a7ee90d653286e4151bc 100644 (file)
@@ -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;