diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2016-10-20 15:51:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-10-21 11:19:18 -0400 |
commit | 8861a8209782faffedb6d64572fa968ee9c1c375 (patch) | |
tree | 53e6e4804b506df786c716f1870d18050cadf487 /Documentation | |
parent | 51585e03f5b26521d7840c06f4807ee62b23af3a (diff) |
drm/amd/powerplay: don't give up if DPM is already running
Currently the driver crashes if smu7_enable_dpm_tasks() returns early,
which it does if DPM is already active. It seems to be better just to
continue anyway, at least I haven't noticed any ill effects. It's also
unclear at what state the hardware was left by the previous driver, so
IMO it's better to always fully initialize.
Way to reproduce:
with GPU passthrough.
forced power off the VM or forced reset the VM
without shutting down the Os.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions