diff options
| author | Moritz Kühner <[email protected]> | 2016-04-17 14:15:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-05-05 00:30:27 +0000 |
| commit | ac0cc35008d570f5338b72f48960467c764b0f36 (patch) | |
| tree | 98637a8e4ffd4a0b8dce595efb3ed907527a1c95 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amd/powerplay/hwmgr: prevent VDDC from exceeding 2V (diff) | |
| download | kernel-ac0cc35008d570f5338b72f48960467c764b0f36.tar.gz kernel-ac0cc35008d570f5338b72f48960467c764b0f36.zip | |
drm/amd/powerplay/hwmgr: don't add invalid voltage
if atomctrl_get_voltage_evv_on_sclk returns non zero (fail) in the expansion
of the PP_ASSERT_WITH_CODE macro the continue will actually do nothing
(The macro uses a do ... while(0) as scope, which eats the continue).
Based on the code I don't think this was the intent.
Unfortunately fixing this requires rewriting the control flow and
removing the macros.
v2: added signed of by
fixed error message print
v3: agd: drop DRM_ERROR
Signed-off-by: Moritz Kühner <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
