drm/i915/perf: ensure selftests select valid format
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 29 Oct 2019 14:28:26 +0000 (16:28 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Oct 2019 18:58:07 +0000 (18:58 +0000)
commitbf96b515082c4b93ed706aa5edf518772fd7d394
treedf7c4a3a0f9dc7befc6673c32e89e673a0b6dd8f
parent6a3552527d431ae3281ce0dfa25107e71cc681e2
drm/i915/perf: ensure selftests select valid format

Gen12 only support a single report format :
I915_OA_FORMAT_A32u40_A4u32_B8_C8

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 00a7f0d7155c ("drm/i915/tgl: Add perf support on TGL")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029142826.20014-1-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/selftests/i915_perf.c