Skip to content

Commit

Permalink
drm/nouveau/disp/nv50-: bump max chans to 21
Browse files Browse the repository at this point in the history
GP102's cursors go from chan 17..20. Increase the array size to hold
their data properly.

Fixes: e50fcff ("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>
  • Loading branch information
Ilia Mirkin authored and Ben Skeggs committed Jul 25, 2017
1 parent 746c842 commit a90e049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit a90e049

Please sign in to comment.