]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: Assert that machine is wedged for nop_submit_request
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 12:32:28 +0000 (13:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
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 <chris@chris-wilson.co.uk>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170721123238.16428-10-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c