]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/nouveau/kms/gv100: allow windows to use PACKED8BPP formats
authorBen Skeggs <bskeggs@redhat.com>
Tue, 28 May 2019 06:33:59 +0000 (16:33 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:31 +0000 (12:55 +1000)
Required for upcoming FP16 scanout support.

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

index 7860774b65bc0322aab7e0d69450738ff7c720c4..40d9b654ab8c12286b552796cbb5d40390961741 100644 (file)
@@ -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);