Skip to content

Commit 9fbcc7c

Browse files
committed
Merge branch 'linux-4.3' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-next
three nouveau regression fixes. * 'linux-4.3' of git://anongit.freedesktop.org/git/nouveau/linux-2.6: drm/nouveau/device: enable c800 quirk for tecra w50 drm/nouveau/clk/gt215: Unbreak engine pausing for GT21x/MCP7x drm/nouveau/gr/nv04: fix big endian setting on gr context
2 parents d1031d5 + 778613e commit 9fbcc7c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ nvkm_device_pci_10de_11e3[] = {
689689

690690
static const struct nvkm_device_pci_vendor
691691
nvkm_device_pci_10de_11fc[] = {
692+
{ 0x1179, 0x0001, NULL, { .War00C800_0 = true } }, /* Toshiba Tecra W50 */
692693
{ 0x17aa, 0x2211, NULL, { .War00C800_0 = true } }, /* Lenovo W541 */
693694
{ 0x17aa, 0x221e, NULL, { .War00C800_0 = true } }, /* Lenovo W541 */
694695
{}

drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,11 +1048,11 @@ nv04_gr_object_bind(struct nvkm_object *object, struct nvkm_gpuobj *parent,
10481048
if (ret == 0) {
10491049
nvkm_kmap(*pgpuobj);
10501050
nvkm_wo32(*pgpuobj, 0x00, object->oclass);
1051-
nvkm_wo32(*pgpuobj, 0x04, 0x00000000);
1052-
nvkm_wo32(*pgpuobj, 0x08, 0x00000000);
10531051
#ifdef __BIG_ENDIAN
1054-
nvkm_mo32(*pgpuobj, 0x08, 0x00080000, 0x00080000);
1052+
nvkm_mo32(*pgpuobj, 0x00, 0x00080000, 0x00080000);
10551053
#endif
1054+
nvkm_wo32(*pgpuobj, 0x04, 0x00000000);
1055+
nvkm_wo32(*pgpuobj, 0x08, 0x00000000);
10561056
nvkm_wo32(*pgpuobj, 0x0c, 0x00000000);
10571057
nvkm_done(*pgpuobj);
10581058
}

drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ gt215_clk_pre(struct nvkm_clk *clk, unsigned long *flags)
326326
return -EIO;
327327

328328
if (nvkm_msec(device, 2000,
329-
u32 tmp = nvkm_rd32(device, 0x002504) & 0x0000003f;
329+
u32 tmp = nvkm_rd32(device, 0x00251c) & 0x0000003f;
330330
if (tmp == 0x0000003f)
331331
break;
332332
) < 0)

0 commit comments

Comments
 (0)