summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
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/inc/mod_shared.h
parent30ffa74a04b6e48080f3181b29d2693b8486ca1e (diff)
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/inc/mod_shared.h')
0 files changed, 0 insertions, 0 deletions