From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C0D76ED01 for ; Tue, 28 Jan 2020 08:32:15 +0000 (UTC) From: Bommu Krishnaiah Date: Tue, 28 Jan 2020 13:45:57 +0530 Message-Id: <20200128081558.26688-1-krishnaiah.bommu@intel.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH i-g-t v4 0/1] tests/i915/gem_ctx_persistence: Set context with supported engines List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: Bommu Krishnaiah List-ID: Update the context with supported engines on the platform with set_property I915_CONTEXT_PARAM_ENGINES to make sure the work load is submitted to the available engines only. v2: addressed the review comments. v3: addressed v2 review comments. V4: addressed v3 review comments. In v4 Re-introduced the gem_context_set_all_engines() API, test_process_mixed() test creating new forked process, to set engine map to new forked process I added gem_context_set_all_engines() API. Bommu Krishnaiah (1): tests/i915/gem_ctx_persistence: Set context with supported engines lib/i915/gem_engine_topology.c | 11 ++++++ lib/i915/gem_engine_topology.h | 2 + tests/i915/gem_ctx_persistence.c | 65 ++++++++++++++++++++++++-------- 3 files changed, 62 insertions(+), 16 deletions(-) -- 2.24.0 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev