Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21721504 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/disp/sor/gf119: select correct sor when poking training pattern



Fixes a regression caused by a stupid thinko from "disp/sor/gf119: both
links use the same training register".

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
parent 52dfcc5c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ static int
gf119_sor_dp_pattern(struct nvkm_output_dp *outp, int pattern)
{
	struct nvkm_device *device = outp->base.disp->engine.subdev.device;
	nvkm_mask(device, 0x61c110, 0x0f0f0f0f, 0x01010101 * pattern);
	const u32 soff = gf119_sor_soff(outp);
	nvkm_mask(device, 0x61c110 + soff, 0x0f0f0f0f, 0x01010101 * pattern);
	return 0;
}