]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use link_enc_cfg API for queries.
authorJimmy Kizito <Jimmy.Kizito@amd.com>
Thu, 4 Nov 2021 20:51:59 +0000 (16:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Nov 2021 21:58:06 +0000 (16:58 -0500)
commitff98a72fa7c7f56fc3b58c8c783311c925120616
treebd9a91b18c75ae7e740927cc152a06d04d9db238
parent4640d52c7be9880865a4b987a6f96c94ceaf82a2
drm/amd/display: Use link_enc_cfg API for queries.

[Why]
The link_enc_cfg API operates in one of two modes depending on the stage
of application of dc_state to hardware. The API is the safest way to
query link encoder assignments.

[How]
Use results of link encoder assignment query using link_enc_cfg API.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c