Re: [PATCH 1/2] drm/i915/selftests: Provide a mock GPU reset routine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2019-09-27 20:14:42)
> -static reset_func intel_get_gpu_reset(struct drm_i915_private *i915)
> +static reset_func intel_get_gpu_reset(const struct intel_gt *gt)
>  {
> -       if (INTEL_GEN(i915) >= 8)
> +       struct drm_i915_private *i915 = gt->i915;
> +
> +       if (is_mock_gt(gt))

Actually this highlights an issue with using gt->awake == -1 as our
indicator.

Hmm. I wonder...
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux