Re: [PATCH] drm/amd/pm: fix is_dpm_running() run error on 32bit system

2020-08-24 Thread Wang, Kevin(Yang)
ander ; Huang, Ray ; Wang, Kevin(Yang) Subject: RE: [PATCH] drm/amd/pm: fix is_dpm_running() run error on 32bit system [AMD Official Use Only - Internal Distribution Only] Good point, but I wonder whether the outmost uint64_t cast is necessary? Regards, Jiansong -Original Message- From: am

RE: [PATCH] drm/amd/pm: fix is_dpm_running() run error on 32bit system

2020-08-24 Thread Chen, Jiansong (Simon)
, Alexander ; Huang, Ray ; Wang, Kevin(Yang) Subject: [PATCH] drm/amd/pm: fix is_dpm_running() run error on 32bit system From: Kevin Wang the C type "unsigned long" size is 32bit on 32bit system, it will cause code logic error, so replace it with "uint64_t". Signed-off-by: Kev

[PATCH] drm/amd/pm: fix is_dpm_running() run error on 32bit system

2020-08-24 Thread Kevin
From: Kevin Wang the C type "unsigned long" size is 32bit on 32bit system, it will cause code logic error, so replace it with "uint64_t". Signed-off-by: Kevin --- drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 9 +++-- drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 9