drm/amd/display: Added multi instance support for ABM
authorJake Wang <haonan.wang2@amd.com>
Mon, 12 Apr 2021 21:46:49 +0000 (17:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:35:50 +0000 (23:35 -0400)
commit63de4f0413fe5487ba5a1ed04c92fa10ca6af7c7
tree106f51576592b537b938360950249a6a74603bd7
parent130ac6d8c69bbecf3331a8427ddb743c6cf4a8f1
drm/amd/display: Added multi instance support for ABM

[WHY & HOW]
ABM assumes only 1 eDP is connected. Refactored existing
ABM interface to support multiple instances.

Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Wayne Lin <waynelin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hwseq.c
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h