]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: send pipe set command to dmcu when stream unblanks
authorJosip Pavic <Josip.Pavic@amd.com>
Tue, 29 Jan 2019 19:15:03 +0000 (14:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Feb 2019 20:58:26 +0000 (15:58 -0500)
commit2dc2ded0291b2691a1b2b7146d61a74530223b20
tree2a60f2ff6ed5fbbc44769f1021ce5919536ceca6
parentdcd90c94a33cb4430364b2b23e60b8e3dbd98ee4
drm/amd/display: send pipe set command to dmcu when stream unblanks

[Why]
When stream is blanked, pipe set command is sent to dmcu to notify it
that the abm pipe is disabled. When stream is unblanked, no notification is
made to dmcu that the abm pipe has been enabled, resulting in abm not
being enabled in the firmware.

[How]
When stream is unblanked, send a pipe set command to dmcu.

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/abm.h