Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/nouveau/disp/nv50-: bump max chans to 21

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>

authored by

Ilia Mirkin and committed by
Ben Skeggs
a90e049c 746c842d

+1 -1
+1 -1
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
··· 22 22 u8 type[3]; 23 23 } pior; 24 24 25 - struct nv50_disp_chan *chan[17]; 25 + struct nv50_disp_chan *chan[21]; 26 26 }; 27 27 28 28 void nv50_disp_super_1(struct nv50_disp *);