projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48651e1
)
drm/xe: Drop xe_vm_assert_held() macro definition from xe_bo.h
author
Michal Wajdeczko
<michal.wajdeczko@intel.com>
Fri, 5 Apr 2024 11:38:44 +0000
(13:38 +0200)
committer
Michal Wajdeczko
<michal.wajdeczko@intel.com>
Fri, 5 Apr 2024 18:01:05 +0000
(20:01 +0200)
It is already defined in xe_vm.h and shouldn't be duplicated.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240405113844.803-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_bo.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_bo.h
b/drivers/gpu/drm/xe/xe_bo.h
index 4824ab145bc4a3370d61244b225054dddc8de19e..a885b14bf595485481eb16396c9232666bc34ddb 100644
(file)
--- 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)