diff options
author | Kevin Wang <kevin1.wang@amd.com> | 2020-08-24 16:50:12 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-27 10:08:29 -0400 |
commit | 3d14a79b5134173ced9364411800ea60029e785e (patch) | |
tree | f701a318db45ba01945fe8635ae9c41c809215bd /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 0bbb5462d30cb1a99d442a7d4b4bc5302fe24821 (diff) |
drm/amd/pm: fix is_dpm_running() run error on 32bit system
v1:
the C type "unsigned long" size is 32bit on 32bit system,
it will cause code logic error, so replace it with "uint64_t".
v2:
remove duplicate cast operation.
Signed-off-by: Kevin <kevin1.wang@amd.com>
Suggest-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions