aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Zhang <[email protected]>2022-05-03 10:49:52 -0400
committerAlex Deucher <[email protected]>2022-06-06 14:42:08 -0400
commit6cc5c77300afbb285c4f41e04f3435ae3c484c40 (patch)
tree2cee199e42b413bbb3bfcccf172a0f58bfa75c49 /scripts
parent32c453f18dccd93a27d6f026ca690167c8cc9639 (diff)
drm/amd/display: fix system hang when PSR exits
[why] When DC driver send PSR exit dmub command to DMUB FW, it might not wait until PSR exit. Then it may hit the following deadlock situation. 1. DC driver send HW LOCK command to DMUB FW due to frame update 2. DMUB FW Set the HW lock 3. DMUB execute PSR exit sequence and stuck at polling DPG Pending register due to the HW Lock is set 4. DC driver ask DMUB FW to unlock HW lock, but DMUB FW is polling DPG pending register [how] The reason why DC driver doesn't wait until PSR exit is because some of the PSR state machine state is not update the dc driver. So when DC driver read back the PSR state, it take the state for PSR inactive. Signed-off-by: David Zhang <[email protected]> Acked-by: Leo Li <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions