diff options
author | Matthew Brost <matthew.brost@intel.com> | 2021-09-09 09:47:22 -0700 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2021-09-13 11:30:25 -0700 |
commit | fc30a6764a54dea42291aeb7009bef7aa2fc1cd4 (patch) | |
tree | 6166e9148aefbf126528b77ea694ee9e336691e3 /tools/perf/scripts/python/stackcollapse.py | |
parent | f25e3908b9cd4a3fe819e9bdcdde58f20bacb34c (diff) |
drm/i915/guc: Fix blocked context accounting
Prior to this patch the blocked context counter was cleared on
init_sched_state (used during registering a context & resets) which is
incorrect. This state needs to be persistent or the counter can read the
incorrect value resulting in scheduling never getting enabled again.
Fixes: 62eaf0ae217d ("drm/i915/guc: Support request cancellation")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: <stable@vger.kernel.org>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-2-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions