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)
committerSasha Levin <alexander.levin@verizon.com>
Sat, 20 Aug 2016 03:07:58 +0000 (23:07 -0400)
commitbaea0d65a4810802ee865d123c84436c52b416fd
tree94ec6335385f8b8d4bd6315095628b9e22a21aff
parentc1b4d25bc66d0c5f1552daeb0cb72b0794bb1e62
drm/nouveau/gr/nv3x: fix instobj write offsets in gr setup

[ Upstream commit d0e62ef6ed257715a88d0e5d7cd850a1695429e2 ]

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>
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c