diff options
author | 2020-09-28 23:15:10 +0100 | |
---|---|---|
committer | 2020-09-30 14:24:51 -0400 | |
commit | 651dabe27f9638f569f6a794f9d3cc1889cd315e (patch) | |
tree | 865b8bc7aa2de879a22e1939eb6168cf706ab9ce /scripts/bpf_helpers_doc.py | |
parent | drm/i915/gt: Always send a pulse down the engine after disabling heartbeat (diff) | |
download | linux-dev-651dabe27f9638f569f6a794f9d3cc1889cd315e.tar.xz linux-dev-651dabe27f9638f569f6a794f9d3cc1889cd315e.zip |
drm/i915/gem: Always test execution status on closing the context
Verify that if a context is active at the time it is closed, that it is
either persistent and preemptible (with hangcheck running) or it shall
be removed from execution.
Fixes: 9a40bddd47ca ("drm/i915/gt: Expose heartbeat interval via sysfs")
Testcase: igt/gem_ctx_persistence/heartbeat-close
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: <stable@vger.kernel.org> # v5.7+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200928221510.26044-3-chris@chris-wilson.co.uk
(cherry picked from commit d3bb2f9b5ee66d5e000293edd6b6575e59d11db9)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions