OSDN Git Service

drm/nv50: fix a couple of vm init issues
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 16 Dec 2010 00:30:35 +0000 (10:30 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 16 Dec 2010 00:34:43 +0000 (10:34 +1000)
commitc45aadabb961501b3e64bc92d0bf12fdce26d37d
tree3ecb2731867c744e28666b86d573ca2ec420d471
parentfd70b6cd780742b97f525415bf5e4fb24a4bb6d8
drm/nv50: fix a couple of vm init issues

Fixes overwriting the first page table entry when testing that the PRAMIN
BAR can be correctly read/written, and adds an additional bar flush after
poking the BAR3 control regs.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_instmem.c