drm/amd/display: make flip_timestamp_in_us a 64-bit variable
authorjsg <jsg@openbsd.org>
Tue, 6 Feb 2024 03:32:50 +0000 (03:32 +0000)
committerjsg <jsg@openbsd.org>
Tue, 6 Feb 2024 03:32:50 +0000 (03:32 +0000)
From Josip Pavic
4033887acddcbb15280091f0a125ac0829cffdc8 in linux-6.6.y/6.6.16
6fb12518ca58412dc51054e2a7400afb41328d85 in mainline linux

sys/dev/pci/drm/amd/display/dc/dc_hw_types.h

index 99880b0..00de342 100644 (file)
@@ -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;