提交 a90e049c 编写于 作者: I Ilia Mirkin 提交者: Ben Skeggs

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: NIlia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 746c842d
......@@ -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 *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册