[PATCH 1/3] drm/ttm: move swapout logic around v2

Nirmoy nirmodas at amd.com
Thu Mar 18 14:43:38 UTC 2021


Hi Christian,

On 3/18/21 1:47 PM, Christian König wrote:
<snip>
>   /**
>    * ttm_bo_uses_embedded_gem_object - check if the given bo uses the
> diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h
> index 035bbc044a3b..6a0b267d4fe6 100644
> --- a/include/drm/ttm/ttm_device.h
> +++ b/include/drm/ttm/ttm_device.h
> @@ -297,6 +297,8 @@ struct ttm_device {
>   	struct delayed_work wq;
>   };
>   
> +long ttm_global_swapout(struct ttm_operation_ctx *ctx, gfp_t gfp_flags);


There is a typo here, long -> int.


Thanks,

Nirmoy


> +
>   static inline struct ttm_resource_manager *
>   ttm_manager_type(struct ttm_device *bdev, int mem_type)
>   {


More information about the dri-devel mailing list