Re: [Intel-gfx] [PATCH v7 3/5] drm/i915: No TLB invalidation on wedged or suspended GT

2023-10-06 Thread John Harrison
On 10/6/2023 03:23, Tvrtko Ursulin wrote: On 05/10/2023 20:35, Jonathan Cavitt wrote: ... +static bool intel_gt_is_enabled(const struct intel_gt *gt) +{ +    /* Check if GT is wedged or suspended */ +    if (intel_gt_is_wedged(gt) || !intel_irqs_enabled(gt->i915)) +    return false; +  

Re: [Intel-gfx] [PATCH v7 3/5] drm/i915: No TLB invalidation on wedged or suspended GT

2023-10-06 Thread Tvrtko Ursulin
On 05/10/2023 20:35, Jonathan Cavitt wrote: In case of GT is suspended or wedged, don't allow submission of new TLB invalidation request and cancel all pending requests. The TLB entries will be invalidated either during GuC reload or on system resume. Signed-off-by: Fei Yang Signed-off-by: J

[Intel-gfx] [PATCH v7 3/5] drm/i915: No TLB invalidation on wedged or suspended GT

2023-10-05 Thread Jonathan Cavitt
In case of GT is suspended or wedged, don't allow submission of new TLB invalidation request and cancel all pending requests. The TLB entries will be invalidated either during GuC reload or on system resume. Signed-off-by: Fei Yang Signed-off-by: Jonathan Cavitt CC: John Harrison --- drivers/g