We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efa6fbd commit c088387Copy full SHA for c088387
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
@@ -3449,10 +3449,10 @@ static inline int guc_lrc_desc_unpin(struct intel_context *ce)
3449
*/
3450
ret = deregister_context(ce, ce->guc_id.id);
3451
if (ret) {
3452
- spin_lock(&ce->guc_state.lock);
+ spin_lock_irqsave(&ce->guc_state.lock, flags);
3453
set_context_registered(ce);
3454
clr_context_destroyed(ce);
3455
- spin_unlock(&ce->guc_state.lock);
+ spin_unlock_irqrestore(&ce->guc_state.lock, flags);
3456
/*
3457
* As gt-pm is awake at function entry, intel_wakeref_put_async merely decrements
3458
* the wakeref immediately but per function spec usage call this after unlock.
0 commit comments