From 188e905ce4fe53fa984fe57357679168f5d7a091 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 24 Jul 2020 10:13:21 +1000 Subject: [PATCH] drm/nouveau/kms/tu102: set NVC57D_HEAD_SET_HEAD_USAGE_BOUNDS_UPSCALING_ALLOWED to TRUE Fixes issues when switching between scaling modes. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index c7d04dd935fd..28d4431bba1b 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c @@ -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); } } -- 2.11.0