diff options
author | Josip Pavic <josip.pavic@amd.com> | 2023-12-05 12:01:05 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-19 14:47:58 -0500 |
commit | 6fb12518ca58412dc51054e2a7400afb41328d85 (patch) | |
tree | 18ca99d2b23622f9994ba846723d707ddbb63900 /drivers/gpu/drm/amd | |
parent | 5dd0bd06cb6c02b445d28144a83c561225c2fa5f (diff) | |
download | linux-stable-6fb12518ca58412dc51054e2a7400afb41328d85.tar.gz linux-stable-6fb12518ca58412dc51054e2a7400afb41328d85.tar.bz2 linux-stable-6fb12518ca58412dc51054e2a7400afb41328d85.zip |
drm/amd/display: make flip_timestamp_in_us a 64-bit variable
[Why]
This variable currently overflows after about 71 minutes. This doesn't
cause any known functional issues but it does make debugging more
difficult.
[How]
Make it a 64-bit variable.
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Josip Pavic <josip.pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h index e2a3aa8812df..811474f4419b 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h @@ -244,7 +244,7 @@ enum pixel_format { #define DC_MAX_DIRTY_RECTS 3 struct dc_flip_addrs { struct dc_plane_address address; - unsigned int flip_timestamp_in_us; + unsigned long long flip_timestamp_in_us; bool flip_immediate; /* TODO: add flip duration for FreeSync */ bool triplebuffer_flips; |