diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-09-20 17:39:00 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-20 17:42:25 +1000 |
commit | fe3d9c4b87bb98222a502cc585844a0b950786fb (patch) | |
tree | 97d108065398a21e53af28a39c956a03e46baa13 /drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c | |
parent | 92a32a4722b7c85377775f5ae987c7ae0c4ed67e (diff) | |
download | op-kernel-dev-fe3d9c4b87bb98222a502cc585844a0b950786fb.zip op-kernel-dev-fe3d9c4b87bb98222a502cc585844a0b950786fb.tar.gz |
drm/nouveau: ltc/gf100-: fix cbc issues on certain boards
A mismatch between FB and LTC's idea of how big a large page is causes
issues such as black "holes" in rendering to occur on some boards
(those where LTC is configured for 64KiB large pages) when compression
is used.
Confirmed to fix at least the GK107 MBP.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c b/drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c index 0a44459..05a278b 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c @@ -200,7 +200,6 @@ nvc0_bar_init(struct nouveau_object *object) nv_mask(priv, 0x000200, 0x00000100, 0x00000000); nv_mask(priv, 0x000200, 0x00000100, 0x00000100); - nv_mask(priv, 0x100c80, 0x00000001, 0x00000000); nv_wr32(priv, 0x001704, 0x80000000 | priv->bar[1].mem->addr >> 12); if (priv->bar[0].mem) |