From 5125bfd88608012d58652ac7ea6a03a78773200f Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Wed, 1 Sep 2010 15:24:33 +1000 Subject: drm/nv50: allow gpuobjs that aren't mapped into aperture Reviewed-by: Francisco Jerez Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_drv.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h') diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index f8476f14c15c..ec1be3fc80fc 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -513,8 +513,12 @@ struct drm_nouveau_private { int flags; void __iomem *mmio; + void __iomem *ramin; - uint32_t ramin_size; + u32 ramin_size; + u32 ramin_base; + bool ramin_available; + spinlock_t ramin_lock; struct nouveau_bo *vga_ram; -- cgit v1.2.3