Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Francois Dugast <francois.dugast@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH v2 14/19] drm-uapi/xe: Kill tile_mask
Date: Wed, 22 Nov 2023 14:44:01 +0000	[thread overview]
Message-ID: <20231122144406.6-15-francois.dugast@intel.com> (raw)
In-Reply-To: <20231122144406.6-1-francois.dugast@intel.com>

Align with commit ("drm/xe/uapi: Kill tile_mask")

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
---
 include/drm-uapi/xe_drm.h | 8 +-------
 tests/intel/xe_vm.c       | 1 -
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
index 1e98363b2..2a4ac6e8e 100644
--- a/include/drm-uapi/xe_drm.h
+++ b/include/drm-uapi/xe_drm.h
@@ -683,12 +683,6 @@ struct drm_xe_vm_bind_op {
 	/** @addr: Address to operate on, MBZ for UNMAP_ALL */
 	__u64 addr;
 
-	/**
-	 * @tile_mask: Mask for which tiles to create binds for, 0 == All tiles,
-	 * only applies to creating new VMAs
-	 */
-	__u64 tile_mask;
-
 #define DRM_XE_VM_BIND_OP_MAP		0x0
 #define DRM_XE_VM_BIND_OP_UNMAP		0x1
 #define DRM_XE_VM_BIND_OP_MAP_USERPTR	0x2
@@ -723,7 +717,7 @@ struct drm_xe_vm_bind_op {
 	__u32 prefetch_mem_region_instance;
 
 	/** @reserved: Reserved */
-	__u64 reserved[2];
+	__u64 reserved[3];
 };
 
 struct drm_xe_vm_bind {
diff --git a/tests/intel/xe_vm.c b/tests/intel/xe_vm.c
index 5fe8e2dd7..e0d4de5fa 100644
--- a/tests/intel/xe_vm.c
+++ b/tests/intel/xe_vm.c
@@ -799,7 +799,6 @@ test_bind_array(int fd, struct drm_xe_engine_class_instance *eci, int n_execs,
 		bind_ops[i].obj_offset = 0;
 		bind_ops[i].range = bo_size;
 		bind_ops[i].addr = addr;
-		bind_ops[i].tile_mask = 0x1 << eci->gt_id;
 		bind_ops[i].op = DRM_XE_VM_BIND_OP_MAP;
 		bind_ops[i].flags = DRM_XE_VM_BIND_FLAG_ASYNC;
 		bind_ops[i].prefetch_mem_region_instance = 0;
-- 
2.34.1

  parent reply	other threads:[~2023-11-22 14:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 14:43 [igt-dev] [PATCH v2 00/19] uAPI Alignment - Cleanup and future proof Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 01/19] drm-uapi/xe: Extend drm_xe_vm_bind_op Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 02/19] xe_ioctl: Converge bo_create to the most used version Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 03/19] xe_ioctl: Rename *xe_bo_create_flags to simply xe_bo_create Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 04/19] xe_query: Add missing include Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 05/19] xe_query: Kill visible_vram_if_possible Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 06/19] drm-uapi/xe: Separate bo_create placement from flags Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 07/19] xe: s/hw_engine/engine Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 08/19] drm-uapi/xe: Make DRM_XE_DEVICE_QUERY_ENGINES future proof Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 09/19] drm-uapi/xe: Reject bo creation of unaligned size Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 10/19] drm-uapi/xe: Align on a common way to return arrays (memory regions) Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 11/19] drm-uapi/xe: Align on a common way to return arrays (gt) Francois Dugast
2023-11-22 14:43 ` [igt-dev] [PATCH v2 12/19] drm-uapi/xe: Align on a common way to return arrays (engines) Francois Dugast
2023-11-22 14:44 ` [igt-dev] [PATCH v2 13/19] drm-uapi/xe: Split xe_sync types from flags Francois Dugast
2023-11-22 14:44 ` Francois Dugast [this message]
2023-11-22 14:44 ` [igt-dev] [PATCH v2 15/19] drm-uapi/xe: Crystal Reference Clock updates Francois Dugast
2023-11-22 14:44 ` [igt-dev] [PATCH v2 16/19] drm-uapi/xe: Remove bogus engine list from the wait_user_fence IOCTL Francois Dugast
2023-11-29  9:13   ` Matthew Brost
2023-11-22 14:44 ` [igt-dev] [PATCH v2 17/19] drm-uapi/xe: Add Tile ID information to the GT info query Francois Dugast
2023-11-22 14:44 ` [igt-dev] [PATCH v2 18/19] drm-uapi/xe: Fix various struct padding for 64b alignment Francois Dugast
2023-11-22 14:44 ` [igt-dev] [PATCH v2 19/19] drm-uapi/xe: Move xe_exec after xe_exec_queue Francois Dugast
2023-11-22 19:29 ` [igt-dev] ✗ GitLab.Pipeline: warning for uAPI Alignment - Cleanup and future proof (rev3) Patchwork
2023-11-22 20:04 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-11-22 20:46 ` [igt-dev] ✗ CI.xeBAT: " Patchwork
2023-11-23  8:48 ` [igt-dev] [PATCH v2 00/19] uAPI Alignment - Cleanup and future proof Kamil Konieczny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231122144406.6-15-francois.dugast@intel.com \
    --to=francois.dugast@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox