diff options
author | Wyatt Wood <wyatt.wood@amd.com> | 2021-02-19 12:21:47 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-02 14:06:55 -0500 |
commit | 8039bc7130ef4206a58e4dc288621bc97eba08eb (patch) | |
tree | 2686c0062c80eef2fa093942647f76e0262e91ff /drivers/gpu/drm/amd/display/dmub/src | |
parent | 45a1261b393bd3dc24d1ae8a55249c0897df0c88 (diff) |
drm/amd/display: Return invalid state if GPINT times out
[Why]
GPINT timeout is causing PSR_STATE_0 to be returned when it shouldn't.
We must guarantee that PSR is fully disabled before doing hw programming
on driver-side.
[How]
Return invalid state if GPINT command times out. Let existing retry
logic send the GPINT until successful.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/src')
0 files changed, 0 insertions, 0 deletions