]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/nouveau: Disable AGP for SiS 761
authorOndrej Zary <linux@rainbow-software.org>
Mon, 14 Sep 2015 19:19:57 +0000 (21:19 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 12 Oct 2015 03:48:29 +0000 (13:48 +1000)
commit606340af1aa72797a922a4703041dd8fd87ccbff
tree321e5628ab38c98a35654ed7c5741a377ae6f814
parent4953da9eb9549c90a23854b4e43ac4e1b19edd11
drm/nouveau/nouveau: Disable AGP for SiS 761

SiS 761 chipset does not support AGP cards but has AGP capability (for
the onboard video). At least PC Chips A31G board using this chipset has
an AGP-like AGPro slot that's wired to the PCI bus. Enabling AGP will
fail (GPU lockup and software fbcon, X11 hangs).

Add support for matching just the host bridge in nvkm_device_agp_quirks
and add entry for SiS 761 with mode 0 (AGP disabled).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c