[Intel-xe] [PATCH 4/6] drm/xe: Introduce xe_engine_is_idle()

Matthew Auld matthew.william.auld at gmail.com
Tue Mar 14 15:32:00 UTC 2023


On Mon, 13 Mar 2023 at 20:46, Thomas Hellström
<thomas.hellstrom at linux.intel.com> wrote:
>
> Introduce xe_engine_is_idle, and replace the static function in
> xe_migrate.c.
> The latter had two flaws. First the seqno == 1 test might return a false
> true value each time the seqno counter wrapped, Second, the
> cur_seqno == next_seqno test would never return true.
>
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-xe mailing list