drm/i915/execlists: Move the GEM_BUG_ON context matches CSB later
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Feb 2018 15:23:01 +0000 (15:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Feb 2018 09:08:39 +0000 (09:08 +0000)
commite084039b5840ee6822b65167766cdfc47536964e
tree8ad05be7a8412eab0684a94b8735627445a420b2
parent65cb8c0f040bd791b9adb761be2710adcd9df00f
drm/i915/execlists: Move the GEM_BUG_ON context matches CSB later

Print out the current request/context before doing the GEM_BUG_ON, so
that we can inspect the values in the ftrace.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221152301.9178-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c