drm/nouveau: fix regression on original nv50 board
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Oct 2014 02:46:14 +0000 (12:46 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Oct 2014 03:32:24 +0000 (13:32 +1000)
commitf2f9a2cbaf019481feefe231f996d3602612fa99
tree28c0826ea3b5bb0d8e5456f7f7ac3c85b243c800
parent5838ae610ff36777b8fce6f353c2417980c1a1fa
drm/nouveau: fix regression on original nv50 board

Xorg (and any non-DRM client really) doesn't have permission to directly
touch VRAM on nv50 and up, which the fence code prior to g84 depends on.

It's less invasive to temporarily grant it premission to do so, as it
previously did, than it is to rework fencenv50 to use the VM.  That
will come later on.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_chan.c