diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index 22797882032046aac43e8c661dfcdfd121453d98..51ecb395551b98a058d6981905aef85bafdc4fa6 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -781,6 +781,7 @@ static int execlists_context_pin(struct intel_engine_cs *engine, if (ret) goto err; } + GEM_BUG_ON(!ce->state); flags = PIN_GLOBAL; if (ctx->ggtt_offset_bias)