diff options
| author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2023-03-10 14:03:47 +0300 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:30:13 +0300 |
| commit | 155c9165542863c97b5284afa37e3d8e385a8815 (patch) | |
| tree | 4036dd40cff666f9f440d6a4bc47e7a64b8f5857 /scripts/stackusage | |
| parent | 17a28ea23c4087cf4580744a70105ccc83efc769 (diff) | |
| download | linux-155c9165542863c97b5284afa37e3d8e385a8815.tar.xz | |
drm/xe: Introduce xe_engine_is_idle()
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@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
