]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip repeated calls to i915_gem_set_wedged()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Jul 2018 14:53:35 +0000 (15:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Jul 2018 07:06:33 +0000 (08:06 +0100)
commit3970c65c2b47c450f917bc8a29c5849563a95dfe
tree923cbf62f0b0802ff29746d7efffed620db3bd1d
parent07685c827b2a020c88c25a6961c435050bbbe7b3
drm/i915: Skip repeated calls to i915_gem_set_wedged()

If we already wedged, i915_gem_set_wedged() becomes a complicated no-op.

References: https://bugs.freedesktop.org/show_bug.cgi?id=107343
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180723145335.24579-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c