Skip to content

Commit

Permalink
drm/nvc0/fb: detect presense of second rank
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Mar 13, 2012
1 parent df26bc9 commit 950c44b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nvc0_vram.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ nvc0_vram_init(struct drm_device *dev)
NV_DEBUG(dev, "parts 0x%08x bcast_mem_amount 0x%08x\n", parts, bsize);

dev_priv->vram_type = nouveau_mem_vbios_type(dev);
dev_priv->vram_rank_B = !!(nv_rd32(dev, 0x10f200) & 0x00000004);

/* read amount of vram attached to each memory controller */
part = 0;
Expand Down

0 comments on commit 950c44b

Please sign in to comment.