diff options
| author | 2017-05-15 04:08:28 -0400 | |
|---|---|---|
| committer | 2017-05-24 18:09:48 -0400 | |
| commit | e0ec45063609b4a583e7f4d843275888f2480321 (patch) | |
| tree | 884b1e0f41d825d32d4dd8dbc1a2d6f0ad9a5446 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: add raven gpu_info support (diff) | |
| download | wireguard-linux-e0ec45063609b4a583e7f4d843275888f2480321.tar.xz wireguard-linux-e0ec45063609b4a583e7f4d843275888f2480321.zip | |
drm/amd/powerplay: Fix Vega10 power profile switching
Clock index 0 is a valid index that is needed to restore the default
graphics power profile. Use ~0 to indicate a failure to find a clock
index. This fixes the clocks getting stuck in the compute power
profile after running a compute application on Vega10.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
