From: Ben Skeggs Date: Fri, 24 Jul 2020 00:13:21 +0000 (+1000) Subject: drm/nouveau/kms/tu102: set NVC57D_HEAD_SET_HEAD_USAGE_BOUNDS_UPSCALING_ALLOWED to... X-Git-Tag: v5.9-rc1~134^2~7^2~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=188e905ce4fe53fa984fe57357679168f5d7a091;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index c7d04dd935fdf..28d4431bba1b8 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); } }