drm/i915/execlists: Remove too early assert
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Feb 2018 15:32:10 +0000 (15:32 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Feb 2018 16:18:32 +0000 (16:18 +0000)
commitd081e021fd62497412f8c0c16ea6644cc7d4a154
treeba165dd00222172b1667307c7ece48fa949089b2
parent339ccd35b42cb679b1a218fdbac4c029058c671c
drm/i915/execlists: Remove too early assert

We can't assert that the execlists are active before we set the flag. So
perform the assert after we are expected to have marked the execlists
active.

Fixes: 339ccd35b42c ("drm/i915: Assert that we always complete a submission to guc/execlists")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Tomi Sarvela <tomi.p.sarvela@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180216153210.30551-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c