diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-01 15:24:33 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 16:20:28 +1000 |
commit | 5125bfd88608012d58652ac7ea6a03a78773200f (patch) | |
tree | 8ccb36c6a023392e3c8a9f2c4e84c74ccdcaeb44 /drivers/gpu/drm/nouveau/nv50_instmem.c | |
parent | 43efc9ce25c6956133c07394a6fa44ef2c9268a4 (diff) | |
download | blackbird-op-linux-5125bfd88608012d58652ac7ea6a03a78773200f.tar.gz blackbird-op-linux-5125bfd88608012d58652ac7ea6a03a78773200f.zip |
drm/nv50: allow gpuobjs that aren't mapped into aperture
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_instmem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_instmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_instmem.c b/drivers/gpu/drm/nouveau/nv50_instmem.c index c18d1d8bb4cf..5c617f807b23 100644 --- a/drivers/gpu/drm/nouveau/nv50_instmem.c +++ b/drivers/gpu/drm/nouveau/nv50_instmem.c @@ -249,6 +249,8 @@ nv50_instmem_init(struct drm_device *dev) for (i = 0; i < 8; i++) nv_wr32(dev, 0x1900 + (i*4), 0); + dev_priv->ramin_available = true; + /* Assume that praying isn't enough, check that we can re-read the * entire fake channel back from the PRAMIN BAR */ for (i = 0; i < c_size; i += 4) { |