aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorSean Paul <[email protected]>2018-10-08 18:24:14 +0000
committerRob Clark <[email protected]>2018-10-09 00:16:01 +0000
commit16f37102181e23ec4bec88fe1cfdd6c3c24dd1ed (patch)
treea073db2f7f9f9b919bd91248fb27762e3a7fdb77 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/msm: a5xx: Remove unneeded parens (diff)
downloadkernel-16f37102181e23ec4bec88fe1cfdd6c3c24dd1ed.tar.gz
kernel-16f37102181e23ec4bec88fe1cfdd6c3c24dd1ed.zip
drm/msm: a6xx: Fix improper u64 division
This patch uses the proper do_div() macro to perform u64 division and guards against overflow if the result is too large for the unsigned long return type Fixes: a2c3c0a54d4c drm/msm/a6xx: Add devfreq support for a6xx Cc: Sharat Masetty <[email protected]> Signed-off-by: Sean Paul <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions