Skip to contentSkip to conversation

bsp/g92: disable by default

PATCH New Ilia Mirkin 1 participant 1 message Oct 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bsp/g92: disable by default

G92's seem to require some additional bit of initialization before the BSP engine can work. It feels like clocks are not set up for the underlying VLD engine, which means that all commands submitted to the xtensa chip end up hanging. VP seems to work fine though.

This still allows people to force-enable the bsp engine if they want to play around with it, but makes it harder for the card to hang by default.

---
 drm/nouveau/nvkm/engine/bsp/g84.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drm/nouveau/nvkm/engine/bsp/g84.c +1 -1
index 8e2e24a7..44e116f7 100644
@@ -39,5 +39,5 @@ int
 g84_bsp_new(struct nvkm_device *device, int index, struct nvkm_engine **pengine)
 {
 	return nvkm_xtensa_new_(&g84_bsp, device, index,
-				true, 0x103000, pengine);
+				device->chipset != 0x92, 0x103000, pengine);
 }
Signature · 6 lines
2.13.6

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