]> 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)
commitb87580dc49d86d7364efd2c6324703399246900b
tree6b93eec187c4819bfc769c700e3cbee7f4e7371f
parent21d80cee0a492af315ef9da3b74a7e8bfc502f6c
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