linux_dsm_epyc7002/drivers/gpu/drm/amd
Moritz Kühner ac0cc35008 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 <kuehner.moritz@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-04 20:30:27 -04:00
..
acp drm/amd: make a type-safe cgs_device struct. (v2) 2016-05-04 20:20:28 -04:00
amdgpu drm/amd/amdgpu: Add debugfs entries for smc/didt/pcie 2016-05-04 20:30:11 -04:00
amdkfd drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type 2016-03-22 15:36:02 -07:00
include drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
powerplay drm/amd/powerplay/hwmgr: don't add invalid voltage 2016-05-04 20:30:27 -04:00
scheduler drm/amd/scheduler: Mark amdgpu_sched_ops const 2016-05-04 20:20:05 -04:00