[Intel-gfx] [RFCv2 13/14] drm/i915: Support context single submission when GVT is active

Tian, Kevin kevin.tian at intel.com
Wed Feb 24 08:52:15 UTC 2016


> From: Wang, Zhi A
> Sent: Thursday, February 18, 2016 7:42 PM
> diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
> index 1c0366a..2a6d6fe 100644
> --- a/drivers/gpu/drm/i915/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/intel_lrc.c
> @@ -479,6 +479,40 @@ static void execlists_i915_pick_requests(struct intel_engine_cs
> *ring,
>  	}
>  }
> 
> +static void execlists_gvt_pick_requests(struct intel_engine_cs *ring,
> +		struct drm_i915_gem_request **req0,
> +		struct drm_i915_gem_request **req1)

not read carefully, but if single submission itself has nothing tied to GVT,
better to make it generic since there may be other users in the future...

Thanks
Kevin


More information about the Intel-gfx mailing list