Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Remove a redundant argument check
@ 2024-12-11 23:50 Gwan-gyeong Mun
  2024-12-12  0:44 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Gwan-gyeong Mun @ 2024-12-11 23:50 UTC (permalink / raw)
  To: intel-xe; +Cc: rodrigo.vivi, matthew.brost

Remove a redundant check for the extensions member variable of the
drm_xe_vm_create structure from the xe_vm_create_ioctl function.

Fixes: f3e9b1f43458 ("drm/xe: Remove async worker and rework sync binds")
Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
---
 drivers/gpu/drm/xe/xe_vm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 74d684708b00..f1f6d2ccce51 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -1753,9 +1753,6 @@ int xe_vm_create_ioctl(struct drm_device *dev, void *data,
 			 args->flags & DRM_XE_VM_CREATE_FLAG_FAULT_MODE))
 		return -EINVAL;
 
-	if (XE_IOCTL_DBG(xe, args->extensions))
-		return -EINVAL;
-
 	if (args->flags & DRM_XE_VM_CREATE_FLAG_SCRATCH_PAGE)
 		flags |= XE_VM_FLAG_SCRATCH_PAGE;
 	if (args->flags & DRM_XE_VM_CREATE_FLAG_LR_MODE)
-- 
2.46.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-12-12 10:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11 23:50 [PATCH] drm/xe: Remove a redundant argument check Gwan-gyeong Mun
2024-12-12  0:44 ` ✓ CI.Patch_applied: success for " Patchwork
2024-12-12  0:44 ` ✓ CI.checkpatch: " Patchwork
2024-12-12  0:45 ` ✓ CI.KUnit: " Patchwork
2024-12-12  1:03 ` ✓ CI.Build: " Patchwork
2024-12-12  1:06 ` ✓ CI.Hooks: " Patchwork
2024-12-12  1:07 ` ✓ CI.checksparse: " Patchwork
2024-12-12  6:32 ` ✓ CI.BAT: " Patchwork
2024-12-12  9:25 ` [PATCH] " Matthew Auld
2024-12-12 10:51 ` ✗ Xe.CI.Full: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox