Commit bda9e379 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fb/gm200: enable NV_PFB_MMU_CTRL_USE_FULL_COMP_TAG_LINE where appropriate

To avoid wasting compression tags when using 64KiB pages, we need to
enable this so we can select between upper/lower comptagline in PTEs.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent f8a12039
......@@ -31,9 +31,9 @@ gm200_fb_init_page(struct nvkm_fb *fb)
{
struct nvkm_device *device = fb->subdev.device;
switch (fb->page) {
case 16: nvkm_mask(device, 0x100c80, 0x00000801, 0x00000001); break;
case 17: nvkm_mask(device, 0x100c80, 0x00000801, 0x00000000); break;
case 0: nvkm_mask(device, 0x100c80, 0x00000800, 0x00000800); break;
case 16: nvkm_mask(device, 0x100c80, 0x00001801, 0x00001001); break;
case 17: nvkm_mask(device, 0x100c80, 0x00001801, 0x00000000); break;
case 0: nvkm_mask(device, 0x100c80, 0x00001800, 0x00001800); break;
default:
return -EINVAL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment