aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
diff options
context:
space:
mode:
authorAngus Wang <Angus.Wang@amd.com>2022-03-31 09:33:10 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-12 14:19:51 -0400
commit19a2e1e36a2b14d7549a6d9584be131f4286f757 (patch)
treebdfd8e08d9dce23659fec7656e47d98dc6029a91 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c
parentdrm/amd/display: add DCN30 support FEC init (diff)
downloadlinux-rng-19a2e1e36a2b14d7549a6d9584be131f4286f757.tar.xz
linux-rng-19a2e1e36a2b14d7549a6d9584be131f4286f757.zip
drm/amd/display: Fix inconsistent timestamp type
[WHY] An unsigned int timestamp variable is assigned with an unsigned long long value. Also, the assignment directly converts the tick value to us without using built-in get elapsed time function. [HOW] Cast the assigned value correctly and also use built-in function to get the timestamp in the unit we want. v2: squash in 64 bit division fix Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com> Signed-off-by: Angus Wang <Angus.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions