[Intel-xe] [PATCH 3/4] drm/xe/bo: Remove leftover trace_printk()

Ohad Sharabi osharabi at habana.ai
Wed Nov 22 17:19:54 UTC 2023


On 22/11/2023 13:03, Thomas Hellström wrote:
> trace_printk() is not intended for production code. Remove it.
>
> Suggested-by: Ohad Sharabi <osharabi at habana.ai>
> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/946
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Reviewed-by: Ohad Sharabi <osharabi at habana.ai>
> ---
>   drivers/gpu/drm/xe/xe_bo.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
> index 948fbbf56cee..5b84b97f8c24 100644
> --- a/drivers/gpu/drm/xe/xe_bo.c
> +++ b/drivers/gpu/drm/xe/xe_bo.c
> @@ -786,7 +786,6 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,
>       }
>
>       xe_device_mem_access_put(xe);
> -     trace_printk("new_mem->mem_type=%d\n", new_mem->mem_type);
>
>   out:
>       return ret;




More information about the Intel-xe mailing list