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 49ED8C27C4F for ; Wed, 26 Jun 2024 19:49:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E602B10E08C; Wed, 26 Jun 2024 19:49:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="kk/74B0n"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2418310E08C for ; Wed, 26 Jun 2024 19:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719431381; x=1750967381; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version:content-transfer-encoding; bh=0ogsVOJdx8ycV7/VBYOJJrrl7CQ37VhN1aLFGkEKDnY=; b=kk/74B0nODK2ypo/r7+fx1KIUd1qz99Hz9ddaJNj7SkIav974woYbz75 xMQKaMnXI+WnKbDCjmHSc0GSUPuto44Oz/szmKjqUNYTxlhCUaMSElq26 wlLO/vTra1scyM/ZegsY7Ul/+scApWs/lh+KuLSAug7Cm7jJFPNwlam89 1+OPEKxiy+aq9ADmiPljpB/dZclvig4AM/aCKa94SvdmL4+YwnNRkmzMK R4XLFeskShznG8BZSLFH+lzbg1ZcFz5/+LHJPolf4o18PjFG4fNfvr/Ur 9GAFGW3W4itSZUf72VCgsfZKSICenw7sD6xLCn/XVzcTFPKcxtEEv20/S w==; X-CSE-ConnectionGUID: 6djj/RaQQqe6y3tm1F2Gzw== X-CSE-MsgGUID: JDAd+fmaRQaM7DYnbl6bJA== X-IronPort-AV: E=McAfee;i="6700,10204,11115"; a="20411228" X-IronPort-AV: E=Sophos;i="6.08,267,1712646000"; d="scan'208";a="20411228" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2024 12:49:41 -0700 X-CSE-ConnectionGUID: 84PkPs5GSPSXDi/qSFNDAA== X-CSE-MsgGUID: IjXemYoERE+x7RCtLZmtlA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,267,1712646000"; d="scan'208";a="48480266" Received: from unknown (HELO adixit-arch.intel.com) ([10.24.12.97]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2024 12:49:40 -0700 Date: Wed, 26 Jun 2024 12:43:30 -0700 Message-ID: <87frszh4m5.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: <760e7d389b66748e839cc249933a9a95d0ad977f.camel@intel.com> References: <20240626021343.1054590-1-ashutosh.dixit@intel.com> <760e7d389b66748e839cc249933a9a95d0ad977f.camel@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 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 G= uC > > 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_requ= ests/29312 > Please lets push to make it part of the same kernel release as other OA p= atches. 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. > > 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(-) > > >