intel/ds: reduce min sampling period of pps-producer to 5us

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37991>
This commit is contained in:
Felix DeGrood 2025-10-21 22:23:59 +00:00 committed by Marge Bot
parent 69dc01405d
commit cbcfaca647
2 changed files with 2 additions and 2 deletions

View file

@ -180,7 +180,7 @@ void IntelDriver::disable_perfcnt()
/// @return True if the duration is at least close to the sampling period
static bool close_enough(uint64_t duration, uint64_t sampling_period)
{
return duration > sampling_period - 100000;
return duration > sampling_period - 1000;
}
/// @brief Transforms the raw data received in from the driver into records

View file

@ -18,7 +18,7 @@
#include <inttypes.h>
// Minimum supported sampling period in nanoseconds
#define MIN_SAMPLING_PERIOD_NS 50000
#define MIN_SAMPLING_PERIOD_NS 5000
#define CORRELATION_TIMESTAMP_PERIOD (1000000000ull)