From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 78C2610E72F for ; Mon, 10 Oct 2022 21:42:17 +0000 (UTC) From: Umesh Nerlige Ramappa To: igt-dev@lists.freedesktop.org, Lionel G Landwerlin , Ashutosh Dixit Date: Mon, 10 Oct 2022 21:41:43 +0000 Message-Id: <20221010214215.5378-5-umesh.nerlige.ramappa@intel.com> In-Reply-To: <20221010214215.5378-1-umesh.nerlige.ramappa@intel.com> References: <20221010214215.5378-1-umesh.nerlige.ramappa@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v6 04/36] i915/perf: Limit sseu-config tests for gen11 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Gen11, the Media driver will need to limit dispatch to only big subslices (usually half the EUs depending on EU fusing). If media, render and OA are running in parallel, then OA will lose the NOA config because half of the EUs will be turned off by media. To avoid this with concurrent use cases, an sseu config to keep all EUs powered on is passed to OA in the i915_perf_open_ioctl params. This configuration is made part of the render contexts, so that it's applied when 3d contexts are running. Since this is an issue on gen11, limit sseu-config tests to gen11. Signed-off-by: Umesh Nerlige Ramappa Reviewed-by: Lionel Landwerlin --- tests/i915/perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/i915/perf.c b/tests/i915/perf.c index 0b8f6ac8..ca3ccc17 100644 --- a/tests/i915/perf.c +++ b/tests/i915/perf.c @@ -5112,6 +5112,7 @@ igt_main igt_subtest_group { igt_fixture { igt_require(i915_perf_revision(drm_fd) >= 4); + igt_require(intel_gen(devid) == 11); } igt_describe("Verify invalid SSEU opening parameters"); -- 2.25.1