Skip to content

Commit

Permalink
drm/nv40/gr: oops, fix random bits getting set in engine obj
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <[email protected]>
  • Loading branch information
Ben Skeggs committed May 16, 2011
1 parent 619d4f7 commit 3acf67f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/gpu/drm/nouveau/nv40_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3acf67f

Please sign in to comment.