Skip to contentSkip to conversation

nv49 & nv4b ctx switching patch

PATCH Stephan Schmid 1 participant 1 message May 21, 2007

lore
Share & tools
lore
#0 lore raw

Hello

this patch is a merge of jb17bsome's nv49 patch and mine.
I have tested it for a couple of days on a nv4b and didnt get crashes. Please rewiew and apply

Greetings
Stephan Schmid

shared-core/nouveau_fifo.c +2 -0
index 8e66ca2..6068b38 100644
@@ -83,6 +83,8 @@ static int nouveau_fifo_instmem_configure(drm_device_t *dev)
 		case NV_50:
 		case NV_40:
 			NV_WRITE(NV40_PFIFO_RAMFC, 0x30002);
+			if((dev_priv->chipset == 0x49) || (dev_priv->chipset == 0x4b))
+				NV_WRITE(0x2230,0x00000001);
 			break;
 		case NV_44:
 			NV_WRITE(NV40_PFIFO_RAMFC, ((nouveau_mem_fb_amount(dev)-512*1024+dev_priv->ramfc_offset)>>16) |
shared-core/nv40_graph.c +666 -0

708 lines not on this page · raw message

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