]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/guc/slpc: Remove BUG_ON in guc_submission_disable
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>
Fri, 30 Jul 2021 20:21:11 +0000 (13:21 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 3 Aug 2021 23:05:32 +0000 (16:05 -0700)
commitdb301cffd8a285bbe73879671e6d666a0b654138
tree56217077cf232a553c8de8a9623a939437ba1500
parent63c0eb30bfe9269d79f0cb9cbe6ff86b14928a19
drm/i915/guc/slpc: Remove BUG_ON in guc_submission_disable

The assumption when it was added was that GT would not be
holding any gt_pm references. However, uc_init is called
from gt_init_hw, which holds a forcewake ref. If SLPC
enable fails, we will still be holding this ref, which will
result in the BUG_ON.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210730202119.23810-7-vinay.belgaumkar@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c