Commit 8268d81a authored by Dave Jones's avatar Dave Jones

[AGPGART] Lower 7 bits of TLB flush register must be zero.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 2d567cf3
......@@ -83,8 +83,10 @@ static void via_tlbflush(struct agp_memory *mem)
pci_read_config_dword(agp_bridge->dev, VIA_GARTCTRL, &temp);
temp |= (1<<7);
temp &= ~0x7f;
pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp);
temp &= ~(1<<7);
temp &= ~0x7f;
pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment