Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3acf67f6 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv40/gr: oops, fix random bits getting set in engine obj



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 619d4f7e
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -196,7 +196,9 @@ nv40_graph_object_new(struct nouveau_channel *chan, int engine,


	nv_wo32(obj, 0x00, class);
	nv_wo32(obj, 0x00, class);
	nv_wo32(obj, 0x04, 0x00000000);
	nv_wo32(obj, 0x04, 0x00000000);
#ifdef __BIG_ENDIAN
#ifndef __BIG_ENDIAN
	nv_wo32(obj, 0x08, 0x00000000);
#else
	nv_wo32(obj, 0x08, 0x01000000);
	nv_wo32(obj, 0x08, 0x01000000);
#endif
#endif
	nv_wo32(obj, 0x0c, 0x00000000);
	nv_wo32(obj, 0x0c, 0x00000000);