]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders...
authorBen Skeggs <bskeggs@redhat.com>
Wed, 8 May 2019 04:54:34 +0000 (14:54 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Jun 2019 09:52:54 +0000 (11:52 +0200)
commit8e1e4616c8ee046b764e87e38d8896743d23cdc9
tree201d2fa36ede038b9fe460e203581f8b658fd449
parentffd946c4c350846abc2d0483d61fde151449c0e8
drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change

[ Upstream commit a0b694d0af21c9993d1a39a75fd814bd48bf7eb4 ]

HW has error checks in place which check that pixel depth is explicitly
provided on DP, while HDMI has a "default" setting that we use.

In multi-display configurations with identical modelines, but different
protocols (HDMI + DP, in this case), it was possible for the DP head to
get swapped to the head which previously drove the HDMI output, without
updating HeadSetControlOutputResource(), triggering the error check and
hanging the core update.

Reported-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/nouveau/dispnv50/head.c