linux_dsm_epyc7002/drivers/gpu/drm/amd
Harry Wentland 3f4e3a282e drm/amd/display: Use macro for isnan check
In code provided by HW teams we do a NaN check on floats
by comparing the number against itself. This confuses most
people including myself. Macro it out to make it self-explanatory.

Don't do a NaN check for int.

v2: parantheses around 'number' expression

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-12-14 10:54:51 -05:00
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: fix huge page setting for ATS case 2017-12-13 17:31:01 -05:00
amdkfd drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
display drm/amd/display: Use macro for isnan check 2017-12-14 10:54:51 -05:00
include drm/amdgpu: remove some old gc 9.x registers 2017-12-13 17:28:08 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: reset dpm level when adjust power state 2017-12-14 10:23:02 -05:00