summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorEric Huang <JinHuiEric.Huang@amd.com>2016-01-19 22:28:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-01-22 18:47:48 +0300
commit4b5ece24ce564176f8ad786ad02b681a373bc615 (patch)
tree83730f6c82970371232e4e5f7d1f66bea9af60e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent3466904d38ff1e63f0a19cb31166db67f2d05c61 (diff)
downloadlinux-4b5ece24ce564176f8ad786ad02b681a373bc615.tar.xz
drm/amd/amdgpu: Improve amdgpu_dpm* macros to avoid unexpected result (v2)
The two macros returns are values which probably are used in the expression of calculation. Without the brackets the result of the expression may be wrong. v2: agd: squash both patches together Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions