[Intel-xe] [PATCH v3 0/2] drm/xe/mmio: Make xe_mmio_wait32() aware of interrupts

Gustavo Sousa gustavo.sousa at intel.com
Wed Nov 22 16:11:31 UTC 2023


Quoting Gustavo Sousa (2023-11-16 18:39:58-03:00)
>The current implementation of xe_mmio_wait32() is susceptible to
>preemption/interrupts causing false timeouts. This series proposes a fix
>for that.
>
>Changes in v2:
> - Add a patch moving xe_mmio_wait32() to xe_mmio.c
> - Use a barrier()-free implementation.
>
>Changes in v3:
> - Tweak documentation for @timeout_us.
> - Add note in the commit message to better justify the move of
>   xe_mmio_wait32() to xe_mmio.c.

CI results for this are avaiable at https://patchwork.freedesktop.org/series/126428/#rev6

There are no regressions seen in BAT results.

Pushed to drm-xe-next. Thanks Lucas and Rodrigo for the review!

--
Gustavo Sousa

>
>Gustavo Sousa (2):
>  drm/xe/mmio: Move xe_mmio_wait32() to xe_mmio.c
>  drm/xe/mmio: Make xe_mmio_wait32() aware of interrupts
>
> drivers/gpu/drm/xe/xe_mmio.c | 60 ++++++++++++++++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_mmio.h | 39 ++---------------------
> 2 files changed, 62 insertions(+), 37 deletions(-)
>
>-- 
>2.42.0
>


More information about the Intel-xe mailing list