1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/modules
Angus Wang 19a2e1e36a 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>
2022-04-12 14:19:51 -04:00
..
color drm/amd/display: Revert adding degamma coefficients 2021-09-14 15:57:10 -04:00
freesync drm/amd/display: Fix inconsistent timestamp type 2022-04-12 14:19:51 -04:00
hdcp drm/amd/display: cleanup extern usage in function definition 2022-04-07 16:37:35 -04:00
inc drm/amd/display: Add flip interval workaround 2022-04-05 10:29:47 -04:00
info_packet drm/amd/display: Update VTEM Infopacket definition 2022-03-25 12:40:24 -04:00
power drm/amd/display: tune backlight ramping profiles 2021-06-15 17:25:40 -04:00
vmid drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00