]> 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)
commit39f82792b61d1aee75ffd299eab5d1e9994d9a2f
tree2a60f2ff6ed5fbbc44769f1021ce5919536ceca6
parentb80f3fd730ca539ef8731efb57ad0da139fc4772
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