drm/nouveau/gr/nv3x: fix instobj write offsets in gr setup

commit d0e62ef6ed upstream.

This should fix some unaligned access warnings. This is also likely to
fix non-descript issues on nv30/nv34 as a result of incorrect channel
setup.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96836
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ilia Mirkin 2016-07-27 19:16:39 -04:00 • committed by Greg Kroah-Hartman
commit 77f4249030
2 changed files with 4 additions and 4 deletions