diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-05-14 02:03:33 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-05-20 03:24:06 (GMT) |
commit | fe6fc096b82eb0e84a0609f6431f7069f6c6c347 (patch) | |
tree | 8335f60fb6ec9a2b742adc8a16b98556b7a50551 /drivers/gpu/drm/nouveau/core/subdev | |
parent | 49debbe4540efd08b4e9a1c499dce392a43bf1ed (diff) | |
download | linux-fsl-qoriq-fe6fc096b82eb0e84a0609f6431f7069f6c6c347.tar.xz |
drm/nve0/ltcg: poke the partition count into yet another register
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c b/drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c index 7c6194f..fb794e9 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c @@ -118,6 +118,8 @@ nvc0_ltcg_init_tag_ram(struct nouveau_fb *pfb, struct nvc0_ltcg_priv *priv) int ret; nv_wr32(priv, 0x17e8d8, priv->part_nr); + if (nv_device(pfb)->card_type >= NV_E0) + nv_wr32(priv, 0x17e000, priv->part_nr); /* tags for 1/4 of VRAM should be enough (8192/4 per GiB of VRAM) */ priv->num_tags = (pfb->ram.size >> 17) / 4; |