summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2021-09-09 19:47:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-18 21:17:15 +0300
commit876d6242d225f6be20e70746dfe7c4baabe99158 (patch)
tree47d8b726ae72e839c6f12772a7e2f567117b0a8a /block
parentf6097896991072ca91c5c36e5de7d3b3db74ba79 (diff)
downloadlinux-876d6242d225f6be20e70746dfe7c4baabe99158.tar.xz
drm/i915/guc: Fix blocked context accounting
commit fc30a6764a54dea42291aeb7009bef7aa2fc1cd4 upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions