[Intel-xe] [PATCH 1/2] drm/xe/ct: fix resv_space print

Matthew Brost matthew.brost at intel.com
Thu Aug 24 14:17:34 UTC 2023


On Wed, Aug 23, 2023 at 06:55:52PM +0100, Matthew Auld wrote:
> Actually print the info.resv_space.
> 
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>

Reviewed-by: Matthew Brost <matthew.brost at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_guc_ct.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
> index 59136b6a7c6f..b92e04ba8f63 100644
> --- a/drivers/gpu/drm/xe/xe_guc_ct.c
> +++ b/drivers/gpu/drm/xe/xe_guc_ct.c
> @@ -1180,7 +1180,7 @@ static void guc_ctb_snapshot_print(struct guc_ctb_snapshot *snapshot,
>  	u32 head, tail;
>  
>  	drm_printf(p, "\tsize: %d\n", snapshot->info.size);
> -	drm_printf(p, "\tresv_space: %d\n", snapshot->info.space);
> +	drm_printf(p, "\tresv_space: %d\n", snapshot->info.resv_space);
>  	drm_printf(p, "\thead: %d\n", snapshot->info.head);
>  	drm_printf(p, "\ttail: %d\n", snapshot->info.tail);
>  	drm_printf(p, "\tspace: %d\n", snapshot->info.space);
> -- 
> 2.41.0
> 


More information about the Intel-xe mailing list