diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2017-06-28 15:24:45 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-07-25 08:30:10 +0300 |
commit | a90e049cacd965dade4dae7263b4d3fd550e78b6 (patch) | |
tree | be1fd0ebfd695d311bb485d2068c172590a56ff1 /drivers/gpu/drm/nouveau/nvkm/engine/disp | |
parent | 746c842d1f64caad81d82f0054c0e063c8aa5399 (diff) | |
download | linux-a90e049cacd965dade4dae7263b4d3fd550e78b6.tar.xz |
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')
-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 19c635663399..6ea19466f436 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 *); |