]> git.baikalelectronics.ru Git - kernel.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)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 May 2019 06:58:06 +0000 (16:58 +1000)
commit2b2b9c2e586f174675d70d58bf10a589fb5b590f
tree22d4a732b7f6bd8b4c03a8463b53665c1fafea32
parent44b3cd7dd0a3beb3632e865867ad8391bb69740a
drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change

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>
drivers/gpu/drm/nouveau/dispnv50/head.c