On 6/4/2017 5:06 AM, Chris Wilson wrote:
And whilst I'm here, we need to extend I915_PARAM_HAS_GPU_RESET to
indicate having per-engine resets for the complimentary set of igt.
-Chris
Something like this?
case I915_PARAM_HAS_GPU_RESET:
- value = i915.enable_hangcheck &&
intel_has_gpu_reset(dev_priv);
+ value = i915.enable_hangcheck;
+ if (value)
+ value = intel_has_reset_engine(dev_priv) ? 2 :
+ intel_has_gpu_reset(dev_priv) ? 1 : 0;
break;
(you'll probably think of a nicer way to do it)
I'm also sending the patch with the changes to support parallel resets,
some other patches need rebase after this change, but I'm holding on those.
Thanks,
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx