]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/nouveau/disp/nv50-: bump max chans to 21
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 28 Jun 2017 12:24:45 +0000 (08:24 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 25 Jul 2017 05:30:10 +0000 (15:30 +1000)
GP102's cursors go from chan 17..20. Increase the array size to hold
their data properly.

Fixes: e50fcff15f ("drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices")
Cc: stable@vger.kernel.org # v4.10+
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h

index 19c635663399a2442b670479df18621119595043..6ea19466f43622565052d8600424c948c9705343 100644 (file)
@@ -22,7 +22,7 @@ struct nv50_disp {
                u8 type[3];
        } pior;
 
-       struct nv50_disp_chan *chan[17];
+       struct nv50_disp_chan *chan[21];
 };
 
 void nv50_disp_super_1(struct nv50_disp *);