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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Aug 2017 01:59:41 +0000 (18:59 -0700)
commit34da5f74eb5caf1ae3873463aa5e2b801fa450c3
tree2a37fb6f11574118148186e8763e1f09681c68cf
parente41779886b90cf928cdc3e790dd31104fdab00fa
drm/nouveau/disp/nv50-: bump max chans to 21

commit a90e049cacd965dade4dae7263b4d3fd550e78b6 upstream.

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")
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h