drm/amd/display: MST support for DPIA
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Thu, 2 Sep 2021 18:09:30 +0000 (14:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Oct 2021 18:27:00 +0000 (14:27 -0400)
commit139a33112f170e0a29748138fbdb849031527791
treeffac4649592ad51d45f1e9f92c32a7012f3d07dd
parent839e59a34394905fef73093e8605f50a9eb6d802
drm/amd/display: MST support for DPIA

[Why]
- DPIA MST slot registers are not programmed during payload
allocation and hence MST does not work with DPIA.
- HPD RX interrupts are not handled for DPIA.

[How]
- Added inbox command to program the MST slots whenever
  payload allocation happens for DPIA links.
- Added support for handling HPD RX interrupts

Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h