On 15.07.2021 03:58, Belgaumkar, Vinay wrote: > > > On 7/10/2021 10:37 AM, Michal Wajdeczko wrote: >> >> >> On 10.07.2021 03:20, Vinay Belgaumkar wrote: ... >>> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c >>> b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c >>> index e2644a05f298..3e76d4d5f7bb 100644 >>> --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c >>> +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c >>> @@ -2321,10 +2321,6 @@ void intel_guc_submission_enable(struct >>> intel_guc *guc) >>> void intel_guc_submission_disable(struct intel_guc *guc) >>> { >>> - struct intel_gt *gt = guc_to_gt(guc); >>> - >>> - GEM_BUG_ON(gt->awake); /* GT should be parked first */ >> >> if not mistake, can you explain why it was removed ? > > This was part of a different commit. The BUG_ON in > disable_guc_submission was added with an assumption that it will be > called only during driver unload and not expected to hold any GT PM > references. Since this needs to be called from an error scenario during > slpc enable, remove the BUG_ON. Do we need this as a separate commit? yes, please Michal
- Re: [Intel-gfx] [PATCH 04/16] drm/i915/guc/slpc... Belgaumkar, Vinay
- [PATCH 05/16] drm/i915/guc/slpc: Adding slpc communicati... Vinay Belgaumkar
- Re: [PATCH 05/16] drm/i915/guc/slpc: Adding slpc co... Michal Wajdeczko
- Re: [PATCH 05/16] drm/i915/guc/slpc: Adding slp... Belgaumkar, Vinay
- [PATCH 06/16] drm/i915/guc/slpc: Allocate, initialize an... Vinay Belgaumkar
- Re: [PATCH 06/16] drm/i915/guc/slpc: Allocate, init... Michal Wajdeczko
- Re: [PATCH 06/16] drm/i915/guc/slpc: Allocate, ... Belgaumkar, Vinay
- [PATCH 07/16] drm/i915/guc/slpc: Enable slpc and add rel... Vinay Belgaumkar
- Re: [Intel-gfx] [PATCH 07/16] drm/i915/guc/slpc: En... Michal Wajdeczko
- Re: [Intel-gfx] [PATCH 07/16] drm/i915/guc/slpc... Belgaumkar, Vinay
- Re: [Intel-gfx] [PATCH 07/16] drm/i915/guc/... Michal Wajdeczko
- [PATCH 08/16] drm/i915/guc/slpc: Add methods to set min/... Vinay Belgaumkar
- Re: [PATCH 08/16] drm/i915/guc/slpc: Add methods to... kernel test robot
- Re: [PATCH 08/16] drm/i915/guc/slpc: Add methods to... kernel test robot
- Re: [PATCH 08/16] drm/i915/guc/slpc: Add methods to... Michal Wajdeczko
- Re: [PATCH 08/16] drm/i915/guc/slpc: Add method... Belgaumkar, Vinay
- [PATCH 09/16] drm/i915/guc/slpc: Add get max/min freq ho... Vinay Belgaumkar
- Re: [PATCH 09/16] drm/i915/guc/slpc: Add get max/mi... Michal Wajdeczko
- Re: [PATCH 09/16] drm/i915/guc/slpc: Add get ma... Belgaumkar, Vinay
- [PATCH 10/16] drm/i915/guc/slpc: Add debugfs for slpc in... Vinay Belgaumkar
- Re: [PATCH 10/16] drm/i915/guc/slpc: Add debugfs fo... Michal Wajdeczko