Skip to contentSkip to conversation

disp/nv50-: bump max chans to 21

PATCH New Ilia Mirkin 1 participant 1 message Jun 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 [email protected] # v4.10+
---
 drm/nouveau/nvkm/engine/disp/nv50.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drm/nouveau/nvkm/engine/disp/nv50.h +1 -1
index 19c63566..6ea19466 100644
@@ -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 *);
Signature · 6 lines
2.13.0

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau