8000 Merge branch 'linux-4.7' of git://github.com/skeggsb/linux into drm-f… · bsd-unix/linux@27c0b74 · GitHub
[go: up one dir, main page]

Skip to content

Commit 27c0b74

Browse files
committed
Merge branch 'linux-4.7' of git://github.com/skeggsb/linux into drm-fixes
Just one fix for a stupid thinko in a DP training pattern commit. * 'linux-4.7' of git://github.com/skeggsb/linux: drm/nouveau/disp/sor/gf119: select correct sor when poking training pattern
2 parents fd50870 + 2172150 commit 27c0b74

File tree

1 file changed

+2
-1
lines changed
  • drivers/gpu/drm/nouveau/nvkm/engine/disp

1 file changed

+2
-1
lines changed

drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ static int
4040
gf119_sor_dp_pattern(struct nvkm_output_dp *outp, int pattern)
4141
{
4242
struct nvkm_device *device = outp->base.disp->engine.subdev.device;
43-
nvkm_mask(device, 0x61c110, 0x0f0f0f0f, 0x01010101 * pattern);
43+
const u32 soff = gf119_sor_soff(outp);
44+
nvkm_mask(device, 0x61c110 + soff, 0x0f0f0f0f, 0x01010101 * pattern);
4445
return 0;
4546
}
4647

0 commit comments

Comments
 (0)
0