[Intel-gfx] [PATCH 1/3] drm/i915/uc: Make uc_sanitize part of gt_sanitize
Chris Wilson
chris at chris-wilson.co.uk
Wed May 22 20:11:05 UTC 2019
Quoting Michal Wajdeczko (2019-05-22 20:00:55)
> In gt_sanitize we reset whole GPU (and indirectly uC).
> Make sure we don't miss to run our dedicated uC sanitize code.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/gt/intel_gt_pm.c | 2 ++
> drivers/gpu/drm/i915/i915_gem_pm.c | 1 -
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_gt_pm.c b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
> index ae7155f0e063..af6bcc7eabf3 100644
> --- a/drivers/gpu/drm/i915/gt/intel_gt_pm.c
> +++ b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
> @@ -114,6 +114,8 @@ void intel_gt_sanitize(struct drm_i915_private *i915, bool force)
> if (!reset_engines(i915) && !force)
> return;
>
> + intel_uc_sanitize(i915);
Better place. Still searching for better names for the conceptual layers
of this onion.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list