linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay
Dan Carpenter 2f590f8419 drm/amd/powerplay: fix a signedness bugs
Smatch complains about a signedness bug here:

        vega10_hwmgr.c:4202 vega10_force_clock_level()
        warn: always true condition '(i >= 0) => (0-u32max >= 0)'

Fixes: 7b52db39a4 ("drm/amd/powerplay: fix bug sclk/mclk
                     level can't be set on vega10.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-24 17:39:34 -04:00
..
eventmgr drm/amd/powerplay: complete disable_smc_firmware_ctf_tasks. 2017-04-28 17:33:15 -04:00
hwmgr drm/amd/powerplay: fix a signedness bugs 2017-05-24 17:39:34 -04:00
inc drm/amd/powerplay: refine pwm1_enable callback functions for vi. 2017-05-10 13:36:35 -04:00
smumgr drm/amd/powerplay: clean up code in vega10_smumgr.c 2017-05-05 18:13:13 -04:00
amd_powerplay.c drm/amd/powerplay: fix suspend error on DPM disabled 2017-04-28 17:32:12 -04:00
Makefile drm/amdgpu: clean up path handling for powerplay 2016-03-21 11:52:13 -04:00