]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Assert we idle in the kernel context
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 May 2018 22:40:57 +0000 (23:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jun 2018 12:38:40 +0000 (13:38 +0100)
commit6e927293fc87a7c4380b9a8efe076939db256f09
treec7e5611333da0d6ea43e06eb5c6e149fe6cb18f5
parent8c1ae41b603287f238082f9422356fdfd1a6c44c
drm/i915: Assert we idle in the kernel context

Now that we always switch to the kernel context upon idling, we can
make that assertion.

References: d7f6e2902860 ("drm/i915: Switch to kernel context before idling at runtime")
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/20180531224057.6036-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c