linux/drivers/gpu/drm/amd/powerplay
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
..
eventmgr drm/amd/powerplay: Mark pem_event_action chains as const 2016-05-04 20:20:13 -04:00
hwmgr drm/amd/powerplay/hwmgr: don't add invalid voltage 2016-05-04 20:30:27 -04:00
inc drm/amd/powerplay: revise caching the soft pptable and add it's size 2016-05-04 20:29:52 -04:00
smumgr drm/amdgpu: change ELM/BAF to Polaris10/Polaris11 2016-05-04 20:27:57 -04:00
amd_powerplay.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
Kconfig
Makefile drm/amdgpu: clean up path handling for powerplay 2016-03-21 11:52:13 -04:00