From: Ben Skeggs Date: Tue, 28 May 2019 06:33:59 +0000 (+1000) Subject: drm/nouveau/kms/gv100: allow windows to use PACKED8BPP formats X-Git-Tag: v5.4-rc1~106^2~12^2~29 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=0446f48cb53d0fa2e122504ce235fcb25b1e2a19;p=linux.git drm/nouveau/kms/gv100: allow windows to use PACKED8BPP formats Required for upcoming FP16 scanout support. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/dispnv50/corec37d.c b/drivers/gpu/drm/nouveau/dispnv50/corec37d.c index 7860774b65bc..40d9b654ab8c 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/corec37d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/corec37d.c @@ -82,7 +82,7 @@ corec37d_init(struct nv50_core *core) for (i = 0; i < windows; i++) { evo_mthd(push, 0x1000 + (i * 0x080), 3); evo_data(push, i >> 1); - evo_data(push, 0x00000017); + evo_data(push, 0x0000001f); evo_data(push, 0x00000000); evo_mthd(push, 0x1010 + (i * 0x080), 1); evo_data(push, 0x00127fff);