drm/i915: Assert that machine is wedged for nop_submit_request
authorChris Wilson <[email protected]>
Fri, 21 Jul 2017 12:32:28 +0000 (13:32 +0100)
committerDaniel Vetter <[email protected]>
Thu, 27 Jul 2017 07:38:46 +0000 (09:38 +0200)
commitbf2eac3bee51299bd08dcbd25f7bd8dbaaff1b62
treeb6612ef47447a2f2b3fd6f9dd2811fc49ff99d2b
parent3d7adbbf49c31b194958ad381010e86c842e40af
drm/i915: Assert that machine is wedged for nop_submit_request

We should only ever do nop_submit_request when the machine is wedged, so
assert it is so.

Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Michel Thierry <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_gem.c