[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
Thu Nov 21 17:13:54 UTC 2024
On Tue, 19 Nov 2024 15:25:39 -0800, Dixit, Ashutosh wrote:
>
> 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 :)
Merged!
More information about the igt-dev
mailing list