OSDN Git Service

drm/nouveau/kms/tu102: set NVC57D_HEAD_SET_HEAD_USAGE_BOUNDS_UPSCALING_ALLOWED to...
authorBen Skeggs <bskeggs@redhat.com>
Fri, 24 Jul 2020 00:13:21 +0000 (10:13 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Jul 2020 08:50:50 +0000 (18:50 +1000)
Fixes issues when switching between scaling modes.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/headc57d.c

index c7d04dd..28d4431 100644 (file)
@@ -191,7 +191,7 @@ headc57d_mode(struct nv50_head *head, struct nv50_head_atom *asyh)
                evo_data(push, m->clock * 1000);
                /*XXX: HEAD_USAGE_BOUNDS, doesn't belong here. */
                evo_mthd(push, 0x2030 + (head->base.index * 0x400), 1);
-               evo_data(push, 0x00001014);
+               evo_data(push, 0x00001114);
                evo_kick(push, core);
        }
 }