[PATCH i-g-t v2 1/1] tests/intel/xe_oa: Fetch OA buffer size from observation IOCTL

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Nov 19 23:25:39 UTC 2024


On Tue, 19 Nov 2024 01:04:05 -0800, Sai Teja Pottumuttu wrote:
>
> Currently, the OA buffer size is hardcoded to 16MB in IGT. The patch
> refactors it to get the default oa buffer size using
> DRM_XE_OBSERVATION_IOCTL_INFO ioctl. This way if we decide to increase
> the default OA buffer size, it wouldn't need IGT modification every time.
>
> v2:
> - Rename the oa_buffer_size global variable [Ashutosh]
> - Use size_t instead of u64 [Ashutosh]

Looks good now:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

I will merge this after CI completes. Thanks for the patch :)


More information about the igt-dev mailing list