projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
619d4f7
)
drm/nv40/gr: oops, fix random bits getting set in engine obj
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 13 Apr 2011 08:33:15 +0000
(18:33 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 16 May 2011 00:49:47 +0000
(10:49 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv40_graph.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv40_graph.c
b/drivers/gpu/drm/nouveau/nv40_graph.c
index 638c8878e529cdfa23f6910c4d4599c58142d3d2..5beb01b8ace1387bd04639a7b49be90d28bd4d9f 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv40_graph.c
+++ b/
drivers/gpu/drm/nouveau/nv40_graph.c
@@
-196,7
+196,9
@@
nv40_graph_object_new(struct nouveau_channel *chan, int engine,
nv_wo32(obj, 0x00, class);
nv_wo32(obj, 0x04, 0x00000000);
-#ifdef __BIG_ENDIAN
+#ifndef __BIG_ENDIAN
+ nv_wo32(obj, 0x08, 0x00000000);
+#else
nv_wo32(obj, 0x08, 0x01000000);
#endif
nv_wo32(obj, 0x0c, 0x00000000);