[PATCH i-g-t 0/2] tests/intel/xe_oa: Refactors related to OA buffer size
Sai Teja Pottumuttu
sai.teja.pottumuttu at intel.com
Mon Nov 18 06:32:21 UTC 2024
Currently, the OA buffer size is hardcoded in IGT. This patch series
refactors it to get the oa buffer size using DRM_XE_OBSERVATION_IOCTL_INFO
ioctl.
This way we need not change the oa buffer size in IGT if there are any
changes with the default size on the kernel side.
Sai Teja Pottumuttu (2):
tests/intel/xe_oa: Fetch OA buffer size from observation IOCTL
tests/intel/xe_oa: Replace hardcoded OA buffer size assumptions
tests/intel/xe_oa.c | 67 +++++++++++++++++++++++++++++++--------------
1 file changed, 46 insertions(+), 21 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list