drm/amd/pm: fix is_dpm_running() run error on 32bit system
authorKevin Wang <kevin1.wang@amd.com>
Mon, 24 Aug 2020 08:50:12 +0000 (16:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Sep 2020 04:33:16 +0000 (00:33 -0400)
commit7c62235b95db29210814b771a05279121400af5e
tree26ced5002c911b6cd7048e4db1249af2cedf7db8
parentf75aef392f869018f78cfedf3c320a6b3fcfda6b
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>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c