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 45670C04FFF for ; Wed, 17 Apr 2024 14:51:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A75331135D5; Wed, 17 Apr 2024 14:51:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ChmbFI42"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id A1E7A10F67C for ; Wed, 17 Apr 2024 14:51:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713365468; x=1744901468; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oFdFwTwANkV8GoV/3KNpUA7IuEttgqFLQPCvePv7QQk=; b=ChmbFI42cpqJFKSEz+g+Cp0/uvqBpjReEjKvqtjNfpA+v9KrJsfkxJi5 vc7zXJC8jM3gVMkLJOa31ifMYLAs27vUf9/Q8+i1ZZkwXcHLUiiQgHodn dJMQ3M5dIb4b1mOK4m3RyXgKj9g5O05pWXIlT/MLS3vVvjzTutVGxdWFN ntXj+CN+dwuzew63y7UGXBp4lWRqRarBnIkRxYJDeNucwtBOSLFj34ShK TQuQXkSLAUQezp6ZVHGZFWhI+GSWFfLeP+RcfSV/EjoXRZlTk+PTfaQk7 M4sxGyn5v4NUwD7SM9JiOJPb+8NDICAU1P6H834/pPJKau2jkU2q0p1l3 Q==; X-CSE-ConnectionGUID: VbgEyphFR+Kip/uMVia7Og== X-CSE-MsgGUID: KE5+7xdFTFq+kcyGXGLgAw== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="8726351" X-IronPort-AV: E=Sophos;i="6.07,209,1708416000"; d="scan'208";a="8726351" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2024 07:51:08 -0700 X-CSE-ConnectionGUID: 7DvIOU9ETW6FiXMetkMK0Q== X-CSE-MsgGUID: MpnRBXL/T4yk8llB7QmGJA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,209,1708416000"; d="scan'208";a="22729704" Received: from vdegtyar-mobl1.ger.corp.intel.com (HELO cc1cf3aaf32c.intel.com) ([10.252.44.146]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2024 07:51:06 -0700 From: Francois Dugast To: igt-dev@lists.freedesktop.org Cc: Francois Dugast , Ashutosh Dixit , Lucas De Marchi Subject: [PATCH i-g-t,v1 1/4] drm-uapi/xe: Align header with drm-xe-next Date: Wed, 17 Apr 2024 14:50:46 +0000 Message-Id: <20240417145049.7-2-francois.dugast@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240417145049.7-1-francois.dugast@intel.com> References: <20240417145049.7-1-francois.dugast@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" Currently xe_drm.h is based on drm-next with some additions from drm-xe-next. However some uAPI updates brought by commit ca4607939 ("drm-uapi/xe: \ Remove unused flags") were mistakenly reverted by commit aef5f4742 ("drm-uapi: sync with drm-next f112b68f273f"). Ensure xe_drm.h is now aligned with kernel commit 8e61e3192a77 ("drm/xe/uapi: Add IP version and stepping to GT list query"). v2: Add kernel commit hash in commit message (Lucas De Marchi) Cc: Ashutosh Dixit Cc: Lucas De Marchi Signed-off-by: Francois Dugast Reviewed-by: Ashutosh Dixit --- include/drm-uapi/xe_drm.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h index 4353595a4..91ea92035 100644 --- a/include/drm-uapi/xe_drm.h +++ b/include/drm-uapi/xe_drm.h @@ -871,10 +871,6 @@ struct drm_xe_vm_destroy { * - %DRM_XE_VM_BIND_OP_PREFETCH * * and the @flags can be: - * - %DRM_XE_VM_BIND_FLAG_READONLY - * - %DRM_XE_VM_BIND_FLAG_IMMEDIATE - Valid on a faulting VM only, do the - * MAP operation immediately rather than deferring the MAP to the page - * fault handler. * - %DRM_XE_VM_BIND_FLAG_NULL - When the NULL flag is set, the page * tables are setup with a special bit which indicates writes are * dropped and all reads return zero. In the future, the NULL flags @@ -967,8 +963,6 @@ struct drm_xe_vm_bind_op { /** @op: Bind operation to perform */ __u32 op; -#define DRM_XE_VM_BIND_FLAG_READONLY (1 << 0) -#define DRM_XE_VM_BIND_FLAG_IMMEDIATE (1 << 1) #define DRM_XE_VM_BIND_FLAG_NULL (1 << 2) #define DRM_XE_VM_BIND_FLAG_DUMPABLE (1 << 3) /** @flags: Bind flags */ @@ -1085,19 +1079,6 @@ struct drm_xe_exec_queue_create { #define DRM_XE_EXEC_QUEUE_EXTENSION_SET_PROPERTY 0 #define DRM_XE_EXEC_QUEUE_SET_PROPERTY_PRIORITY 0 #define DRM_XE_EXEC_QUEUE_SET_PROPERTY_TIMESLICE 1 -#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_PREEMPTION_TIMEOUT 2 -#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_JOB_TIMEOUT 4 -#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_ACC_TRIGGER 5 -#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_ACC_NOTIFY 6 -#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_ACC_GRANULARITY 7 -/* Monitor 128KB contiguous region with 4K sub-granularity */ -#define DRM_XE_ACC_GRANULARITY_128K 0 -/* Monitor 2MB contiguous region with 64KB sub-granularity */ -#define DRM_XE_ACC_GRANULARITY_2M 1 -/* Monitor 16MB contiguous region with 512KB sub-granularity */ -#define DRM_XE_ACC_GRANULARITY_16M 2 -/* Monitor 64MB contiguous region with 2M sub-granularity */ -#define DRM_XE_ACC_GRANULARITY_64M 3 /** @extensions: Pointer to the first extension struct, if any */ __u64 extensions; -- 2.34.1