mirror of
https://github.com/X11Libre/xf86-video-nv.git
synced 2026-03-24 01:24:21 +00:00
<https://bugs.freedesktop.org/attachment.cgi?id=3417> Fix a hang during screen-to-screen blits on certain GeForce 6xxx and Quadro FX 540 graphics cards.
This commit is contained in:
@@ -919,7 +919,7 @@ void NVLoadStateExt (
|
||||
RIVA_HW_STATE *state
|
||||
)
|
||||
{
|
||||
int i;
|
||||
int i, j;
|
||||
|
||||
pNv->PMC[0x0140/4] = 0x00000000;
|
||||
pNv->PMC[0x0200/4] = 0xFFFF00FF;
|
||||
@@ -1172,6 +1172,10 @@ void NVLoadStateExt (
|
||||
pNv->PGRAPH[0x0090/4] = 0x00008000;
|
||||
pNv->PGRAPH[0x0610/4] = 0x00be3c5f;
|
||||
|
||||
j = pNv->REGS[0x1540/4] & 0xff;
|
||||
for(i = 0; !(j & 1); j >>= 1, i++);
|
||||
pNv->PGRAPH[0x5000/4] = i;
|
||||
|
||||
if((pNv->Chipset & 0xfff0) == 0x0040) {
|
||||
pNv->PGRAPH[0x09b0/4] = 0x83280fff;
|
||||
pNv->PGRAPH[0x09b4/4] = 0x000000a0;
|
||||
|
||||
Reference in New Issue
Block a user