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

2017-02-22 Thread Chris Wilson
On Thu, Feb 16, 2017 at 07:35:59AM +, Chris Wilson wrote: > 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

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

2017-02-15 Thread Chris Wilson
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

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

2017-02-15 Thread Chuanxiao Dong
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