]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50e873559956382528ecb3ca0cf172d720d9f0ef
tree28c0826ea3b5bb0d8e5456f7f7ac3c85b243c800
parent1233cded303dcfac8d1ee1fcb5decf8cb534704b
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