drm/nouveau: ltc/gf100-: fix cbc issues on certain boards
authorBen Skeggs <bskeggs@redhat.com>
Sat, 20 Sep 2014 07:39:00 +0000 (17:39 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 20 Sep 2014 07:42:25 +0000 (17:42 +1000)
commitfe3d9c4b87bb98222a502cc585844a0b950786fb
tree97d108065398a21e53af28a39c956a03e46baa13
parent92a32a4722b7c85377775f5ae987c7ae0c4ed67e
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>
drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c
drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c
drivers/gpu/drm/nouveau/core/subdev/ltc/gf100.c
drivers/gpu/drm/nouveau/core/subdev/ltc/gk104.c
drivers/gpu/drm/nouveau/core/subdev/ltc/gm107.c