aboutsummaryrefslogtreecommitdiff
path: root/graphics/mesa-devel/files/patch-src_intel_common_xe_intel__gem.c
blob: b4f8bfd180d1ec7f0002c8122a696b96789cdc24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/intel/common/xe/intel_gem.c.orig	2024-06-05 23:45:33 UTC
+++ src/intel/common/xe/intel_gem.c
@@ -69,7 +69,9 @@ xe_gem_read_correlate_cpu_gpu_timestamp(int fd,
 #endif
    case CLOCK_REALTIME:
 #ifdef CLOCK_BOOTTIME
+#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC)
    case CLOCK_BOOTTIME:
+#endif
 #endif
 #ifdef CLOCK_TAI
    case CLOCK_TAI: