drm/nouveau/fb: fix reporting of memory type on GF8+ IGPs
authorBen Skeggs <bskeggs@redhat.com>
Mon, 22 Oct 2012 03:40:36 +0000 (13:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 22 Oct 2012 03:58:05 +0000 (13:58 +1000)
Purely a cosmetic issue at this point.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c

index 42d7539e65250d239a9e7f8c65efd68855b76c90..27fb1af7a779b2a0add14ab0462cb060d6e4d8d7 100644 (file)
@@ -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,