Skip to contentSkip to conversation

drm/nouveau/gr/gf100-: fix wrong constant definition

PATCH In review Lars Seipel 2 participants 2 messages May 21, 2015 1 message not in the archive

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

PATCH 1/1 drm/nouveau/gr/gf100-: fix wrong constant definition

Commit 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes") introduced a wrong macro definition causing acceleration setup to fail. Fix it.

Fixes 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes")
---
 drivers/gpu/drm/nouveau/include/nvif/class.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/include/nvif/class.h +1 -1
index 0b5af0fe8659..64f8b2f687d2 100644
@@ -14,7 +14,7 @@
 
 #define FERMI_TWOD_A                                                 0x0000902d
 
-#define FERMI_MEMORY_TO_MEMORY_FORMAT_A                              0x0000903d
+#define FERMI_MEMORY_TO_MEMORY_FORMAT_A                              0x00009039
 
 #define KEPLER_INLINE_TO_MEMORY_A                                    0x0000a040
 #define KEPLER_INLINE_TO_MEMORY_B                                    0x0000a140
Signature · 6 lines
2.4.1

_______________________________________________
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): 20150521010410.GA1812-K9HkBuzoh0B2uXPEXqTSleTW4wlIGRCZ@public.gmane.org

#2 lore raw
Quoted 3 lines · Lars Seipel

Commit 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes") introduced a wrong macro definition causing acceleration setup to fail. Fix it.

Oops, my apologies. I've merged the patch.

Thanks,
Ben.

Quoted 23 lines
Fixes 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes")
---
 drivers/gpu/drm/nouveau/include/nvif/class.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/include/nvif/class.h +1 -2
index 0b5af0fe8659..64f8b2f687d2 100644
@@ -14,7 +14,7 @@
 
 #define FERMI_TWOD_A                                                 0x0000902d
 
-#define FERMI_MEMORY_TO_MEMORY_FORMAT_A                              0x0000903d
+#define FERMI_MEMORY_TO_MEMORY_FORMAT_A                              0x00009039
 
 #define KEPLER_INLINE_TO_MEMORY_A                                    0x0000a040
 #define KEPLER_INLINE_TO_MEMORY_B                                    0x0000a140
--

2.4.1

Quoted 4 lines

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

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