android_kernel_xiaomi_sm8350/drivers/char/agp
Dave Jones 28af24bb84 [AGPGART] Fix up misprogrammed bridges with incorrect AGPv2 rates.
Some dumb bridges are programmed to disobey the AGP2 spec.
This is likely a BIOS misprogramming rather than poweron default, or
it would be a lot more common.

AGPv2 spec 6.1.9 states:

 "The RATE field indicates the data transfer rates supported by this
  device. A.G.P. devices must report all that apply."

Fix them up as best we can.

This will prevent errors like..

agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: req mode 1f000201 bridge_agpstat 1f000a14 vga_agpstat 2f000217.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at 0000:00:00.0 into 0x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 0x mode
agpgart: Putting AGP V2 device at 0000:01:00.1 into 0x mode

https://bugs.freedesktop.org/show_bug.cgi?id=8816

Signed-off-by: Dave Jones <davej@redhat.com>
2006-11-03 15:13:27 -05:00
..
agp.h [AGPGART] agp.h: constify struct agp_bridge_data::version 2006-09-05 17:19:51 -04:00
ali-agp.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
alpha-agp.c [AGPGART] alpha-agp warning fix 2006-06-08 22:41:17 -04:00
amd64-agp.c [AGPGART] Use pci_get_slot not pci_find_slot 2006-09-26 23:05:55 -04:00
amd-k7-agp.c spelling fixes 2006-06-26 18:35:02 +02:00
ati-agp.c Merge ../linus 2006-06-29 16:01:54 -04:00
backend.c [AGPGART] Const'ify the agpgart driver version. 2006-08-11 18:02:27 -04:00
efficeon-agp.c [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c 2006-08-11 18:10:27 -04:00
frontend.c [AGPGART] remove private page protection map 2006-07-26 19:58:39 -04:00
generic.c [AGPGART] Fix up misprogrammed bridges with incorrect AGPv2 rates. 2006-11-03 15:13:27 -05:00
hp-agp.c ACPI: ia64 buildfix 2006-04-01 23:45:39 -05:00
i460-agp.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
intel-agp.c [AGPGART] Add suspend callback for i965 2006-09-10 21:09:26 -04:00
isoch.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
Kconfig Merge ../linus 2006-06-29 16:01:54 -04:00
Makefile
nvidia-agp.c [AGPGART] remove unused variable 2006-06-24 01:54:14 -04:00
sgi-agp.c [PATCH] Remove redundant NULL checks before [kv]free - in drivers/ 2006-06-27 17:32:48 -07:00
sis-agp.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
sworks-agp.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
uninorth-agp.c [AGPGART] uninorth: Add module param 'aperture' for aperture size 2006-10-15 19:49:59 -04:00
via-agp.c [AGPGART] const'ify VIA AGP PCI table. 2006-08-11 18:13:41 -04:00