OSDN Git Service

drm/amd/display: After program backend, also program front end regs.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 3 Mar 2017 14:37:11 +0000 (09:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:18:27 +0000 (17:18 -0400)
commitf196f0805b5b75f024481ab4dc65f60d86fe6441
tree88dde0021ffc219fff7d51754198e932696c81fb
parentc30267f5023aef44d4367c631c42f217a2ec37f6
drm/amd/display: After program backend, also program front end regs.

Issue:
In case of two 4K@60 + one non-4k monitor, when unplug non-4k monitor,
the remain two 4k monitor don't work properly.
Reason:
In that case, two 4k use two pipes and no split, when unplug happens,
those two monitor will use 4 pipes and split, but on that time, frontend
is not programed properly.
Solution:
After programed backend, front end should be programmed as per new pipe
setting.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c