[igt-dev] [PATCH i-g-t] tests/perf: update config register whitelist

Arkadiusz Hiler arkadiusz.hiler at intel.com
Mon Mar 12 15:00:18 UTC 2018


On Fri, Feb 23, 2018 at 04:28:26PM +0000, Lionel Landwerlin wrote:
> We have a gap for HSW on one Compute configuration.
> 
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
>  tests/perf.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/perf.c b/tests/perf.c
> index c302a355..ccbf030a 100644
> --- a/tests/perf.c
> +++ b/tests/perf.c
> @@ -3957,6 +3957,12 @@ test_whitelisted_registers_userspace_config(void)
>  		b_counters_regs[config.n_boolean_regs * 2 + 1] = 0;
>  		config.n_boolean_regs++;
>  	}
> +	if (intel_gen(devid) <= 7) {
> +		/* NOASELECT */
> +		b_counters_regs[config.n_boolean_regs * 2] = 0x236C;
> +		b_counters_regs[config.n_boolean_regs * 2 + 1] = 0;
> +		config.n_boolean_regs++;
> +	}
>  	config.boolean_regs_ptr = (uintptr_t) b_counters_regs;

Looks like it blows up:

https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_997/shard-hsw2/igt@perf@whitelisted-registers-userspace-config.html


More information about the igt-dev mailing list