diff options
author | Chris Wilson <chris.p.wilson@intel.com> | 2023-05-17 19:27:54 +0530 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2023-05-30 23:11:59 +0200 |
commit | 5945d8b9a8e2501b0046ec34b12ef9c115bd77e6 (patch) | |
tree | 81e0ec985a6533f5920ec142e9e9b6ec10597be8 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 08264f85c5c05ecc38d409c84d48cfb00ccd3bc4 (diff) | |
download | linux-5945d8b9a8e2501b0046ec34b12ef9c115bd77e6.tar.gz linux-5945d8b9a8e2501b0046ec34b12ef9c115bd77e6.tar.bz2 linux-5945d8b9a8e2501b0046ec34b12ef9c115bd77e6.zip |
drm/i915/gem: Use large rings for compute contexts
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@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230517135754.1110291-1-tejas.upadhyay@intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions