]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit953132b56a43c707979df8da7bfd00931bdfe695
tree321e5628ab38c98a35654ed7c5741a377ae6f814
parent5102ec3e99e271b3934a1e00bb52a2545eb7dbc5
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