mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
drm/amd/display: make flip_timestamp_in_us a 64-bit variable
[ Upstream commit 6fb12518ca ]
[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9aa2cba7a2
commit
4033887acd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user