diff options
| author | Grazvydas Ignotas <[email protected]> | 2016-10-20 07:51:25 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-10-21 15:19:18 +0000 |
| commit | 8861a8209782faffedb6d64572fa968ee9c1c375 (patch) | |
| tree | 53e6e4804b506df786c716f1870d18050cadf487 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amd/powerplay: fix static checker warning in process_pptables_v1_0.c (diff) | |
| download | kernel-8861a8209782faffedb6d64572fa968ee9c1c375.tar.gz kernel-8861a8209782faffedb6d64572fa968ee9c1c375.zip | |
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 <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
