[Intel-gfx] [PATCH V2] drm/i915/gem: Use large rings for compute contexts

Andi Shyti andi.shyti at linux.intel.com
Tue May 30 19:49:13 UTC 2023


Hi Tejas,

On Wed, May 17, 2023 at 07:27:54PM +0530, Tejas Upadhyay wrote:
> From: Chris Wilson <chris.p.wilson at intel.com>
> 
> Allow compute contexts to submit the maximal amount of work without
> blocking userspace.
> 
> The original size for user LRC ring's (SZ_16K) was chosen to minimise
> memory consumption, without being so small as to frequently stall in the
> middle of workloads. With the main consumers being GL / media pipelines
> of 2 or 3 batches per frame, we want to support ~10 requests in flight
> to allow for the application to control throttling without stalling
> within a frame.
> 
> v2:
>   - cover with else part
> 
> Signed-off-by: Chris Wilson <chris.p.wilson at intel.com>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com> 

Thanks,
Andi


More information about the Intel-gfx mailing list