[PATCH] drm/xe: Make GGTT TLB invalidation failure message GT oriented
Matthew Brost
matthew.brost at intel.com
Wed Jul 23 15:38:49 UTC 2025
On Wed, Jul 23, 2025 at 03:30:15PM +0200, Michal Wajdeczko wrote:
> GGTT TLB invalidation is performed on the specific GT, thus any
> failure message shall be also GT specific. And to help investigate
> any unexpected failures, promote message from warn level to WARN
> to get full call stack of this unlikely case.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Reviewed-by: Matthew Brost <matthew.brost at intel.com>
> ---
> drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
> index 29d4d3f51da1..249713139f69 100644
> --- a/drivers/gpu/drm/xe/xe_ggtt.c
> +++ b/drivers/gpu/drm/xe/xe_ggtt.c
> @@ -439,8 +439,7 @@ static void ggtt_invalidate_gt_tlb(struct xe_gt *gt)
> return;
>
> err = xe_gt_tlb_invalidation_ggtt(gt);
> - if (err)
> - drm_warn(>_to_xe(gt)->drm, "xe_gt_tlb_invalidation_ggtt error=%d", err);
> + xe_gt_WARN(gt, err, "Failed to invalidate GGTT (%pe)", ERR_PTR(err));
> }
>
> static void xe_ggtt_invalidate(struct xe_ggtt *ggtt)
> --
> 2.47.1
>
More information about the Intel-xe
mailing list