summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKarol Herbst <nouveau@karolherbst.de>2015-11-03 23:16:04 +0100
committerBen Skeggs <bskeggs@redhat.com>2015-11-25 15:31:21 +1000
commit269249e17499ef7e431601a80ea552ff0695f290 (patch)
tree19de0dc2866c6a757684d90ff99bc18d2409e48f /drivers
parent79ef5dca5e5cd5a33662d64c927c1b9786d4edee (diff)
downloadlinux-stable-269249e17499ef7e431601a80ea552ff0695f290.tar.gz
linux-stable-269249e17499ef7e431601a80ea552ff0695f290.tar.bz2
linux-stable-269249e17499ef7e431601a80ea552ff0695f290.zip
drm/nouveau/pci: enable c800 magic for Clevo P157SM
this is needed for my gpu Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c
index e3c783d0e2ab..d506e028f043 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c
@@ -689,6 +689,12 @@ nvkm_device_pci_10de_1199[] = {
};
static const struct nvkm_device_pci_vendor
+nvkm_device_pci_10de_11e0[] = {
+ { 0x1558, 0x5106, NULL, { .War00C800_0 = true } },
+ {}
+};
+
+static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_11e3[] = {
{ 0x17aa, 0x3683, "GeForce GTX 760A" },
{}
@@ -1485,7 +1491,7 @@ nvkm_device_pci_10de[] = {
{ 0x11c6, "GeForce GTX 650 Ti" },
{ 0x11c8, "GeForce GTX 650" },
{ 0x11cb, "GeForce GT 740" },
- { 0x11e0, "GeForce GTX 770M" },
+ { 0x11e0, "GeForce GTX 770M", nvkm_device_pci_10de_11e0 },
{ 0x11e1, "GeForce GTX 765M" },
{ 0x11e2, "GeForce GTX 765M" },
{ 0x11e3, "GeForce GTX 760M", nvkm_device_pci_10de_11e3 },