Re: [RFC PATCH 2/3] drm/i915: IOMMU based SVM implementation v16

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

 



On Mon, Jan 09, 2017 at 06:52:53PM +0200, Mika Kuoppala wrote:
> +static int i915_gem_context_enable_svm(struct i915_gem_context *ctx)
> +{
> +	int ret;
> +
> +	if (!HAS_SVM(ctx->i915))
> +		return -ENODEV;

How does legacy execbuf work with an svm context? It will write the
ppgtt, but those are no longer read by the GPU. So it will generate
faults at random addresses. Am I right in thinking we need to EINVAL if
using execbuf + context_is_svm?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux