drm/nouveau/gr/nv3x: fix instobj write offsets in gr setup
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 27 Jul 2016 23:16:39 +0000 (19:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 16:09:23 +0000 (18:09 +0200)
commit77f424903037180d485b6ed40273f5d8f9dccb1a
tree4be70d2ee015e6abcafe3ebc300f079284086a81
parent21f36ec95dcd59365ea8ab1c49739bc2abcff32e
drm/nouveau/gr/nv3x: fix instobj write offsets in gr setup

commit d0e62ef6ed257715a88d0e5d7cd850a1695429e2 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>
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c