linux/drivers/gpu/drm/amd
Murton Liu 59979bf8be drm/amd/display: Fix Divide by 0 in memory calculations
Check if we get any values equal to 0, and set to 1 if so.

Signed-off-by: Murton Liu <murton.liu@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Sivapiriyan Kumarasamy <Sivapiriyan.Kumarasamy@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:04:04 -05:00
..
acp
amdgpu drm/amdgpu: add thick tile mode settings for Oland of gfx6 2019-03-19 15:04:04 -05:00
amdkfd drm/amdkfd: avoid HMM change cause circular lock 2019-03-19 15:03:37 -05:00
display drm/amd/display: Fix Divide by 0 in memory calculations 2019-03-19 15:04:04 -05:00
include drm/amd/powerplay: add enable_umd_pstate functions for SMU11 2019-03-19 15:03:59 -05:00
lib
powerplay drm/amd/powerplay: fix semicolon code style issue 2019-03-19 15:04:03 -05:00