[PATCH] drm/xe: Drop xe_vm_assert_held() macro definition from xe_bo.h

Ghimiray, Himal Prasad himal.prasad.ghimiray at intel.com
Fri Apr 5 12:03:33 UTC 2024


On 05-04-2024 17:08, Michal Wajdeczko wrote:
> It is already defined in xe_vm.h and shouldn't be duplicated.
>
> Signed-off-by: Michal Wajdeczko<michal.wajdeczko at intel.com>
> ---
>   drivers/gpu/drm/xe/xe_bo.h | 8 --------
>   1 file changed, 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
> index bae042b35fa8..8d2da4022a17 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))
> -
> -
> -

LGTM.

Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>

>   #define XE_DEFAULT_GTT_SIZE_MB          3072ULL /* 3GB by default */
>   
>   #define XE_BO_FLAG_USER		BIT(0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-xe/attachments/20240405/55568db2/attachment.htm>


More information about the Intel-xe mailing list