diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-04-13 04:33:15 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-15 20:49:47 -0400 |
commit | 3acf67f66e40633c8235d126bf3a7e59d27c6107 (patch) | |
tree | b2c39358a9eea71f9eb18405aeeb96e80c712e6e /drivers/gpu/drm/nouveau | |
parent | 619d4f7e219f4e65137b66ac878cd1eba8e51e10 (diff) |
drm/nv40/gr: oops, fix random bits getting set in engine obj
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv40_graph.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv40_graph.c b/drivers/gpu/drm/nouveau/nv40_graph.c index 638c8878e529..5beb01b8ace1 100644 --- 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, | |||
196 | 196 | ||
197 | nv_wo32(obj, 0x00, class); | 197 | nv_wo32(obj, 0x00, class); |
198 | nv_wo32(obj, 0x04, 0x00000000); | 198 | nv_wo32(obj, 0x04, 0x00000000); |
199 | #ifdef __BIG_ENDIAN | 199 | #ifndef __BIG_ENDIAN |
200 | nv_wo32(obj, 0x08, 0x00000000); | ||
201 | #else | ||
200 | nv_wo32(obj, 0x08, 0x01000000); | 202 | nv_wo32(obj, 0x08, 0x01000000); |
201 | #endif | 203 | #endif |
202 | nv_wo32(obj, 0x0c, 0x00000000); | 204 | nv_wo32(obj, 0x0c, 0x00000000); |