Skip to content

Commit a2736b0

Browse files
imirkinBen Skeggs
authored andcommitted
drm/nouveau/pci: enable c800 magic for Lenovo Y510P
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70354#c75 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent 78eaf33 commit a2736b0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • drivers/gpu/drm/nouveau/nvkm/engine/device

drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ nvkm_device_pci_10de_0df4[] = {
258258
{}
259259
};
260260

261+
static const struct nvkm_device_pci_vendor
262+
nvkm_device_pci_10de_0fcd[] = {
263+
{ 0x17aa, 0x3801, NULL, { .War00C800_0 = true } }, /* Lenovo Y510P */
264+
{}
265+
};
266+
261267
static const struct nvkm_device_pci_vendor
262268
nvkm_device_pci_10de_0fd2[] = {
263269
{ 0x1028, 0x0595, "GeForce GT 640M LE" },
@@ -1349,7 +1355,7 @@ nvkm_device_pci_10de[] = {
13491355
{ 0x0fc6, "GeForce GTX 650" },
13501356
{ 0x0fc8, "GeForce GT 740" },
13511357
{ 0x0fc9, "GeForce GT 730" },
1352-
{ 0x0fcd, "GeForce GT 755M" },
1358+
{ 0x0fcd, "GeForce GT 755M", nvkm_device_pci_10de_0fcd },
13531359
{ 0x0fce, "GeForce GT 640M LE" },
13541360
{ 0x0fd1, "GeForce GT 650M" },
13551361
{ 0x0fd2, "GeForce GT 640M", nvkm_device_pci_10de_0fd2 },

0 commit comments

Comments
 (0)