Skip to contentSkip to conversation

drm/nouveau/nvd9: Fix GPIO initialisation sequence.

PATCH Applied Marcin Kościelnicki 2 participants 2 messages May 21, 2012 – May 22, 2012 1 message not in the archive

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

PATCH 1/1 drm/nouveau/nvd9: Fix GPIO initialisation sequence.

---
 drivers/gpu/drm/nouveau/nouveau_gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_gpio.c +1 -1
index f75ad66..a0911af 100644
@@ -369,7 +369,7 @@ nouveau_gpio_reset(struct nouveau_device *ndev)
 		if (ndev->card_type >= NV_D0) {
 			nv_mask(ndev, 0x00d610 + (line * 4), 0xff, unk0);
 			if (unk1--)
-				nv_mask(ndev, 0x00d640 + (unk1 * 4), 0xff, line);
+				nv_mask(ndev, 0x00d740 + (unk1 * 4), 0xff, line);
 		} else
 		if (ndev->card_type >= NV_50) {
 			static const u32 regs[] = { 0xe100, 0xe28c };
Signature · 6 lines
1.7.10.2

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

A message that is not in the archive (sent off-list or not yet received): 1337604710-3256-1-git-send-email-koriakin-mP9o5jsk0RY@public.gmane.org

Applied
#2 lore raw
Quoted 1 line · Marcin Kościelnicki

Applied, thanks!

Quoted 24 lines
---
 drivers/gpu/drm/nouveau/nouveau_gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_gpio.c +1 -1
index f75ad66..a0911af 100644
@@ -369,7 +369,7 @@ nouveau_gpio_reset(struct nouveau_device *ndev)
 		if (ndev->card_type >= NV_D0) {
 			nv_mask(ndev, 0x00d610 + (line * 4), 0xff, unk0);
 			if (unk1--)
-				nv_mask(ndev, 0x00d640 + (unk1 * 4), 0xff, line);
+				nv_mask(ndev, 0x00d740 + (unk1 * 4), 0xff, line);
 		} else
 		if (ndev->card_type >= NV_50) {
 			static const u32 regs[] = { 0xe100, 0xe28c };
Signature · 6 lines
1.7.10.2

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

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