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, 27 Aug 2020 14:08:29 +0000 (10:08 -0400)
commit3d14a79b5134173ced9364411800ea60029e785e
treef701a318db45ba01945fe8635ae9c41c809215bd
parent0bbb5462d30cb1a99d442a7d4b4bc5302fe24821
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/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c