No solid idea about what these 2 bits do, but nv50 can now survive a few
PGRAPH exceptions just as nv40 does :)
NV_WRITE(NV03_PGRAPH_INTR, status);
}
- if ((NV_READ(0x400500) & (1 << 16)) == 0)
- NV_WRITE(0x400500, NV_READ(0x400500) | (1 << 16));
+ {
+ const int isb = (1 << 16) | (1 << 0);
+
+ if ((NV_READ(0x400500) & isb) != isb)
+ NV_WRITE(0x400500, NV_READ(0x400500) | isb);
+ }
NV_WRITE(NV03_PMC_INTR_0, NV_PMC_INTR_0_PGRAPH_PENDING);
}