Skip to contentSkip to conversation

patch for backlight control with gt 525M (c0)

PATCH Florian Scholz 1 participant 1 message Apr 2, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

I wrote a patch for nouveau_backlight.c to support the backlight control of the GT 525M. Only the case NV_C0: is needed to get the backlight control with my NVC0 card working. I don't think that it's worth to add new functions for c0 if the old ones still work.

This is my first patch for the Linux kernel.

Best Regards

Florian Scholz

From c4acce7fe779c49695bfa321e9614430ded09315 Mon Sep 17 00:00:00 2001
From: Florian Scholz <[email protected]>
Date: Tue, 2 Apr 2013 23:16:38 +0200
Subject: [PATCH] drm/nouveau: adding support for backlight control of GT525M
(C0)

This patch adds support for the backlight control of the NVIDIA GT 525M , which identifies itself as a member of the C0 family.

---
 drivers/gpu/drm/nouveau/nouveau_backlight.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/nouveau/nouveau_backlight.c +1 -0
index 5d94030..17fd2dd 100644
@@ -239,6 +239,7 @@ nouveau_backlight_init(struct drm_device *dev)
 		case NV_40:
 			return nv40_backlight_init(connector);
 		case NV_50:
+		case NV_C0:
 			return nv50_backlight_init(connector);
 		default:
 			break;
Signature · 1 line
1.8.1.5

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau