aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-10-22 13:40:36 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-10-22 13:58:05 +1000
commit2c25b7399570ebdcf737c5af67c9d26a1771c002 (patch)
tree08e9efc1c7e3a2880cd69b0ae52b1741e0059cf3 /drivers
parentdrm/nv41/vm: don't init hw pciegart on boards with agp bridge (diff)
downloadlinux-dev-2c25b7399570ebdcf737c5af67c9d26a1771c002.tar.xz
linux-dev-2c25b7399570ebdcf737c5af67c9d26a1771c002.zip
drm/nouveau/fb: fix reporting of memory type on GF8+ IGPs
Purely a cosmetic issue at this point. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c
index 42d7539e6525..27fb1af7a779 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c
@@ -237,6 +237,7 @@ nv50_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return ret;
priv->base.ram.stolen = (u64)nv_rd32(priv, 0x100e10) << 12;
+ priv->base.ram.type = NV_MEM_TYPE_STOLEN;
break;
default:
ret = nouveau_mm_init(&priv->base.vram, rsvd_head, size,