Commit 36cd36ee authored by Dave Jones's avatar Dave Jones

[AGPGART] In AGP2.0 mode, if we're in 1X mode, disable fast writes.

In this mode, fast writes are just ignored, and treated as regular PCI
writes, but disabling them explicitly doesn't hurt.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 8d7a5b5d
......@@ -478,6 +478,10 @@ static void agp_v2_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_
*bridge_agpstat &= ~(AGPSTAT2_2X | AGPSTAT2_4X);
*bridge_agpstat |= AGPSTAT2_1X;
}
/* If we've dropped down to 1X, disable fast writes. */
if (*bridge_agpstat & AGPSTAT2_1X)
*bridge_agpstat &= ~AGPSTAT_FW;
}
/*
......
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