diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2017-06-28 08:24:45 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-07-25 15:30:10 +1000 |
commit | a90e049cacd965dade4dae7263b4d3fd550e78b6 (patch) | |
tree | be1fd0ebfd695d311bb485d2068c172590a56ff1 /drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | |
parent | 746c842d1f64caad81d82f0054c0e063c8aa5399 (diff) | |
download | op-kernel-dev-a90e049cacd965dade4dae7263b4d3fd550e78b6.zip op-kernel-dev-a90e049cacd965dade4dae7263b4d3fd550e78b6.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h index 19c6356..6ea1946 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h @@ -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 *); |