diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_vram.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_vram.c b/drivers/gpu/drm/nouveau/nvc0_vram.c index ce984d573a51..fd687ee888de 100644 --- a/drivers/gpu/drm/nouveau/nvc0_vram.c +++ b/drivers/gpu/drm/nouveau/nvc0_vram.c @@ -115,6 +115,8 @@ nvc0_vram_init(struct drm_device *dev) NV_DEBUG(dev, "0x100800: 0x%08x\n", nv_rd32(dev, 0x100800)); NV_DEBUG(dev, "parts 0x%08x bcast_mem_amount 0x%08x\n", parts, bsize); + dev_priv->vram_type = nouveau_mem_vbios_type(dev); + /* read amount of vram attached to each memory controller */ part = 0; while (parts) { |