]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Unblank hubp based on plane visibility
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Fri, 11 Dec 2020 02:47:12 +0000 (21:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:43:14 +0000 (23:43 -0500)
commit2a954ee50e6f9c66960be58f4b6058f02ef91760
tree6b93eec187c4819bfc769c700e3cbee7f4e7371f
parenta3ec36ccc38d3792ac0674160bde574294d3f92b
drm/amd/display: Unblank hubp based on plane visibility

[WHY]
DCN10 uses plane visibility to determine when to unblank HUBP; there is
no reason DCN20+ should not do the same.

[HOW]
In addition to changing the check in HWSEQ, we must change
is_pipe_tree_visible so that it checks ODM pipe topologies as well as
MPC. Since we're now checking both ODM and MPC topologies, the helper
function names have been changed to reference "parent" and "child"
instead of "top" and "bottom".

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/basics/dc_common.c
drivers/gpu/drm/amd/display/dc/basics/dc_common.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c