drm/nouveau/ltc: allocate tagram from memory that spans all partitions
authorBen Skeggs <bskeggs@redhat.com>
Tue, 12 Aug 2014 05:16:16 +0000 (15:16 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:22:13 +0000 (22:22 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/ltc/gf100.c

index 8857d41a131275b0433e9efaf4ac0252127f3fdb..e7b7872481ef2c5e33c0f1064c66bb314ff7e86e 100644 (file)
@@ -168,7 +168,7 @@ gf100_ltc_init_tag_ram(struct nouveau_fb *pfb, struct nvkm_ltc_priv *priv)
        tag_size += tag_align;
        tag_size  = (tag_size + 0xfff) >> 12; /* round up */
 
-       ret = nouveau_mm_tail(&pfb->vram, 0, 1, tag_size, tag_size, 1,
+       ret = nouveau_mm_tail(&pfb->vram, 1, 1, tag_size, tag_size, 1,
                              &priv->tag_ram);
        if (ret) {
                priv->num_tags = 0;