From ce56d183a2e55b240b637240db5c89579baa0df3 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 15 Apr 2024 01:43:44 +0000 Subject: [PATCH] drm/amd/display: Fix nanosec stat overflow From Aric Cyr 953fee8160f1adf2929b9588c043170563c6ac4d in linux-6.6.y/6.6.27 14d68acfd04b39f34eea7bea65dda652e6db5bf6 in mainline linux --- sys/dev/pci/drm/amd/display/modules/inc/mod_stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/drm/amd/display/modules/inc/mod_stats.h b/sys/dev/pci/drm/amd/display/modules/inc/mod_stats.h index 4220fd8fdd6..54cd86060f4 100644 --- a/sys/dev/pci/drm/amd/display/modules/inc/mod_stats.h +++ b/sys/dev/pci/drm/amd/display/modules/inc/mod_stats.h @@ -57,10 +57,10 @@ void mod_stats_update_event(struct mod_stats *mod_stats, unsigned int length); void mod_stats_update_flip(struct mod_stats *mod_stats, - unsigned long timestamp_in_ns); + unsigned long long timestamp_in_ns); void mod_stats_update_vupdate(struct mod_stats *mod_stats, - unsigned long timestamp_in_ns); + unsigned long long timestamp_in_ns); void mod_stats_update_freesync(struct mod_stats *mod_stats, unsigned int v_total_min, -- 2.20.1