drm/amd/display: Dpia hpd status not in sync after S4
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Tue, 19 Dec 2023 20:51:24 +0000 (15:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jan 2024 20:43:54 +0000 (15:43 -0500)
commitab76bd72ee12d9117c3a16d749ffce84f5b235bf
tree363c547b9e71851b371ba5f4b99d44b32ce64f05
parent2476bf4328d1a55db709ce9ad2c274d26040311b
drm/amd/display: Dpia hpd status not in sync after S4

[Why]
Dpia hpd status not in sync causing driver not enabling BW Alloc after
S4.

[How]
Update hpd_status of the link when querying hpd state from dmub in
dpia_query_hpd_status().

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@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/link/protocols/link_dp_dpia.c