linux_dsm_epyc7002/drivers/gpu/drm/amd
Colin Ian King 54f73df4ca drm/amd/display: fix for-loop with incorrectly sized loop counter (v2)
A for-loop is iterating from 0 up to 1000 however the loop variable count
is a u8 and hence not large enough.  Fix this by making count an int.
Also remove the redundant initialization of count since this is never used
and add { } on the loop statement make the loop block clearer.

v2: drop useless else (Walter Harms)

Addresses-Coverity: ("Operands don't affect result")
Fixes: ed581a0ace ("drm/amd/display: wait for update when setting dpg test pattern")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-27 16:46:45 -05:00
..
acp
amdgpu drm/amdgpu: enable GPU reset by default on renoir 2020-01-27 16:46:45 -05:00
amdkfd drm/amdkfd: Add a message when SW scheduler is used 2020-01-16 13:38:07 -05:00
display drm/amd/display: fix for-loop with incorrectly sized loop counter (v2) 2020-01-27 16:46:45 -05:00
include drm/amdgpu: add EDC counter registers of gc for Arcturus 2020-01-22 16:36:22 -05:00
powerplay drm/amd/powerplay: use true, false for bool variable in smu7_hwmgr.c 2020-01-27 16:46:44 -05:00