]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "drm/i915/guc: Disable global reset"
authorFernando Pacheco <fernando.pacheco@intel.com>
Fri, 19 Apr 2019 23:00:14 +0000 (16:00 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 20 Apr 2019 07:20:06 +0000 (08:20 +0100)
We have now prepared the guc reset paths to avoid taking struct_mutex, or
any other lock, and so it is now safe to re-enable.

References: f852ff4738d0 ("drm/i915/guc: Disable global reset")
Signed-off-by: Fernando Pacheco <fernando.pacheco@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419230015.18121-5-fernando.pacheco@intel.com
drivers/gpu/drm/i915/i915_reset.c

index 677d59304e7828452076df13492748a7091b7cc5..1092d16c289c441d6b32beb200dbac9931eb0c40 100644 (file)
@@ -641,9 +641,6 @@ int intel_gpu_reset(struct drm_i915_private *i915,
 
 bool intel_has_gpu_reset(struct drm_i915_private *i915)
 {
-       if (USES_GUC(i915))
-               return false;
-
        if (!i915_modparams.reset)
                return NULL;