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 2E36FCD128D for ; Fri, 29 Mar 2024 15:31:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF1E9112735; Fri, 29 Mar 2024 15:31:29 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ac87dnnP"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9168110F88A for ; Fri, 29 Mar 2024 15:31: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=1711726282; x=1743262282; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oFdFwTwANkV8GoV/3KNpUA7IuEttgqFLQPCvePv7QQk=; b=ac87dnnPPOUrlKbc7Tyjclt9vyoWZqEerzNu1iYG1CEd8frM1y2GYAou lWWEmMYXTWdEH+1xW1pLAqX85UU929wkjUXqB0Bz1h0mZpaFGD/aPKlY4 C2MzKJ2ySRDukRXDQlxKoH1rNBqv6GB1HcZ1ficeWZpq7CRilX4oYG+gT l01x8WkPrsWAPDuRsIrWqznSaUSGh4rSbMjCtvjw6No9TXQzomStwVpvi 0ZPeM02i97wEvgBM2VCNn6pb99OZSwjRee2GMwizHQjA/C47scyl7aHbd Gkq4HPTLxfu2NTvBQ/5vv0eDwkij8VFa976GnabbFpnCv89V2c/WBbl88 A==; X-CSE-ConnectionGUID: IaQWDY02RWaoSoIFpI8upw== X-CSE-MsgGUID: 4ZpijFyhRkS9HVSt1+HO8A== X-IronPort-AV: E=McAfee;i="6600,9927,11028"; a="7042942" X-IronPort-AV: E=Sophos;i="6.07,165,1708416000"; d="scan'208";a="7042942" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2024 08:31:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,165,1708416000"; d="scan'208";a="54459206" Received: from fpirou-mobl1.ger.corp.intel.com (HELO f83c703597ca.intel.com) ([10.252.40.129]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2024 08:31:21 -0700 From: Francois Dugast To: igt-dev@lists.freedesktop.org Cc: Francois Dugast , Ashutosh Dixit , Lucas De Marchi Subject: [PATCH i-g-t 1/3] drm-uapi/xe: Align header with drm-xe-next Date: Fri, 29 Mar 2024 15:30:56 +0000 Message-Id: <20240329153058.7-2-francois.dugast@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240329153058.7-1-francois.dugast@intel.com> References: <20240329153058.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