From: Michal Wajdeczko Date: Fri, 5 Apr 2024 11:38:44 +0000 (+0200) Subject: drm/xe: Drop xe_vm_assert_held() macro definition from xe_bo.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d7d997cd764ad1d462d857e3036d61bbcf534d1;p=linux.git drm/xe: Drop xe_vm_assert_held() macro definition from xe_bo.h It is already defined in xe_vm.h and shouldn't be duplicated. Signed-off-by: Michal Wajdeczko Reviewed-by: Himal Prasad Ghimiray Link: https://patchwork.freedesktop.org/patch/msgid/20240405113844.803-1-michal.wajdeczko@intel.com --- diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h index 4824ab145bc4a..a885b14bf5954 100644 --- a/drivers/gpu/drm/xe/xe_bo.h +++ b/drivers/gpu/drm/xe/xe_bo.h @@ -13,14 +13,6 @@ #include "xe_vm_types.h" #include "xe_vm.h" -/** - * xe_vm_assert_held(vm) - Assert that the vm's reservation object is held. - * @vm: The vm - */ -#define xe_vm_assert_held(vm) dma_resv_assert_held(xe_vm_resv(vm)) - - - #define XE_DEFAULT_GTT_SIZE_MB 3072ULL /* 3GB by default */ #define XE_BO_FLAG_USER BIT(0)