[Intel-gfx] [PATCH] drm/i915/gvt: set ring buffer size to default for guc submission

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 16 07:35:59 UTC 2017


On Thu, Feb 16, 2017 at 02:36:40PM +0800, Chuanxiao Dong wrote:
> When not using GuC submission, the ring buffer size for GVT context is
> 512KB which is the max size. When switching to GuC submission, the ring
> buffer size is required to be less than 16KB. So use the GVT context
> default ring buffer size if GuC submission is enabled.
> 
> Signed-off-by: Chuanxiao Dong <chuanxiao.dong at intel.com>

Other than grimacing over seeing another i915.enable_guc_submission
outside of the guc setup code,

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the intel-gvt-dev mailing list