Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a90e049c authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Ben Skeggs
Browse files

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: e50fcff1 ("drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices")
Cc: stable@vger.kernel.org # v4.10+
Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 746c842d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *);