aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
diff options
context:
space:
mode:
authorMurton Liu <[email protected]>2019-02-15 20:05:43 +0000
committerAlex Deucher <[email protected]>2019-03-19 20:04:04 +0000
commit59979bf8be1784ebfc44215031c6c88ca22ae65d (patch)
tree7cb757ff98adebc844a3e5c66f062987bcea03de /drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
parentdrm/amdgpu: add thick tile mode settings for Oland of gfx6 (diff)
downloadkernel-59979bf8be1784ebfc44215031c6c88ca22ae65d.tar.gz
kernel-59979bf8be1784ebfc44215031c6c88ca22ae65d.zip
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 <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Acked-by: Bhawanpreet Lakha <[email protected]> Acked-by: Sivapiriyan Kumarasamy <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v3_1.c')
0 files changed, 0 insertions, 0 deletions