[igt-dev] [PATCH i-g-t 2/3] tests/perf: new tests for parameterized OA buffer polling

Dixit, Ashutosh ashutosh.dixit at intel.com
Wed Mar 25 19:37:57 UTC 2020


On Thu, 19 Mar 2020 15:52:53 -0700, Umesh Nerlige Ramappa wrote:
>
> From: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
>
> 2 new tests verifying that the OA buffer is properly checked at the
> frequency specified by userspace.
>
> v2: (Umesh)
> - Capture start_times in test_polling
> - Second parameterized test used a 500us hrtimer. Occassionally, this
>   timing does not fall within the duration/100 requirement for the time
>   spent in kernel. Change this value to 2ms to accommodate all
>   platforms.
>
> v3: (Lionel)
> - Use NUM_PROPERTIES
>
> v4: (Umesh)
> - Update poll parameter name
> - Update perf revision check to 5 in new tests
> - Fix oa sampling rate message in igt_debug prints

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

> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> ---
>  tests/perf.c | 144 +++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 106 insertions(+), 38 deletions(-)


More information about the igt-dev mailing list