From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7937C2BD09 for ; Thu, 27 Jun 2024 07:17:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8777F10EA54; Thu, 27 Jun 2024 07:17:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="hZpE34Wa"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id E611710EA59 for ; Thu, 27 Jun 2024 07:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719472643; x=1751008643; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version:content-transfer-encoding; bh=OHYYT4ZCwHA8mfmgLHplD6vMSRDqNGMX5waNS+ouIV8=; b=hZpE34WaaVeL3MBZZo2uDvEj6T3WXPv23SPA/RzaWb3/HNdrIaruI2Lt Kd9LDmWffxp+vX8cB5oSROHl42WDWfu4VmGqZdbB/x6r9tTe9vKsn5Ivl tX03J3ELuYQ68B7B40Jdl7Diaxboyl5ZYaIQ3nf1IDGh43J/K8fVsPUXw 5eErOuc4wlpBndhC/CQTIsX80O4vqa6iqTuj+mTZqmqSut44mGyXX9p+K 9486dO//e1pZmmxYKly3uhB/eRlfLq6hJUAUPyyMK1jWGs/d01spYgyZk PqiliPlWcJtRGhsHs7dxi7r+9k6O84zqXO9ItgYSmNGSXADQdgu2vpiPc Q==; X-CSE-ConnectionGUID: Hk5G8KKVR8Wm5/Lqs2KjIw== X-CSE-MsgGUID: asUkmhXdSae1krRGboX3mg== X-IronPort-AV: E=McAfee;i="6700,10204,11115"; a="16464648" X-IronPort-AV: E=Sophos;i="6.08,269,1712646000"; d="scan'208";a="16464648" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2024 00:17:22 -0700 X-CSE-ConnectionGUID: dhvfY74jR9WUnZwBwcZTYw== X-CSE-MsgGUID: WXd+zC3eR4anA566GGUeTg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,269,1712646000"; d="scan'208";a="44118130" Received: from tlhardin-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.125.225.168]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2024 00:17:22 -0700 Date: Thu, 27 Jun 2024 00:15:23 -0700 Message-ID: <87ed8ihn5g.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: "Souza, Jose" Cc: "intel-xe@lists.freedesktop.org" , "Nerlige Ramappa, Umesh" Subject: Re: [PATCH v5 0/2] drm/xe/oa: Add NO_PREEMPT property In-Reply-To: <87frszh4m5.wl-ashutosh.dixit@intel.com> References: <20240626021343.1054590-1-ashutosh.dixit@intel.com> <760e7d389b66748e839cc249933a9a95d0ad977f.camel@intel.com> <87frszh4m5.wl-ashutosh.dixit@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Wed, 26 Jun 2024 12:43:30 -0700, Dixit, Ashutosh wrote: > > On Wed, 26 Jun 2024 09:55:40 -0700, Souza, Jose wrote: > > > > On Tue, 2024-06-25 at 19:13 -0700, Ashutosh Dixit wrote: > > > Add DRM_XE_OA_PROPERTY_NO_PREEMPT property. This is intended to be Xe= GuC > > > equivalent of i915 property DRM_I915_PERF_PROP_HOLD_PREEMPTION. > > > > > > v2: Introduce no_preempt exec queue op > > > v3: Introduce set_no_preempt and clear_no_preempt exec queue op's > > > v4: Revert to v1, which doesn't add new exec queue op's > > > v5: Same as v4, except added 'uapi' to Patch 2/2 title > > > > Mesa/UMD uAPI user: https://gitlab.freedesktop.org/mesa/mesa/-/merge_re= quests/29312 > > Please lets push to make it part of the same kernel release as other OA= patches. > > I just now merged this, I think it will make it into the same kernel > release as the other OA patches. If not, I will update. According to Rodrigo's 6.11 PR, looks like all OA patches should make it into 6.11: https://lore.kernel.org/intel-xe/ZnyW9RdC_aWSla_q@intel.com/T/#u > > > > > Acked-by: Jos=E9 Roberto de Souza > > Thanks. Also, thanks Umesh for reviewing. > > Ashutosh > > > > > > > > > > Ashutosh Dixit (2): > > > drm/xe/oa: Allow stream enable/disable functions to return error > > > drm/xe/oa/uapi: Allow preemption to be disabled on the stream exec > > > queue > > > > > > drivers/gpu/drm/xe/xe_oa.c | 104 ++++++++++++++++++++++++++---= -- > > > drivers/gpu/drm/xe/xe_oa_types.h | 3 + > > > include/uapi/drm/xe_drm.h | 6 ++ > > > 3 files changed, 98 insertions(+), 15 deletions(-) > > > > >