]> 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)
commit791f6e5a610aad077fdab2bd446312aed96373a6
tree321e5628ab38c98a35654ed7c5741a377ae6f814
parent011a1e3d1f513db2ce094476d2490e93b3901157
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