summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-03-09 14:29:26 +0100
committerLucas Stach <l.stach@pengutronix.de>2018-03-22 11:08:48 +0100
commit4ed75c3e525598ff1aa6aed09c419c73a4efd2f2 (patch)
tree362074fc568cbf9d8ea2cf760d7815a540eab12e /drivers/gpu/drm
parentdrm/etnaviv: etnaviv_sched: Staticize functions when possible (diff)
downloadlinux-4ed75c3e525598ff1aa6aed09c419c73a4efd2f2.tar.xz
linux-4ed75c3e525598ff1aa6aed09c419c73a4efd2f2.zip
drm/etnaviv: bump HW job limit to 4
The current limit of 2 leads to some GPU idle times, as the usual IRQ latency leads to up to 3 jobs getting signaled at once with some standard workloads. A larger HW job limit might lead to slightly worse QoS, but we accept that to not sacrifice GPU throughput in the common case. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_sched.c b/drivers/gpu/drm/etnaviv/etnaviv_sched.c
index 4b761b761f9e..6cf0775dbcd7 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_sched.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_sched.c
@@ -24,7 +24,7 @@
static int etnaviv_job_hang_limit = 0;
module_param_named(job_hang_limit, etnaviv_job_hang_limit, int , 0444);
-static int etnaviv_hw_jobs_limit = 2;
+static int etnaviv_hw_jobs_limit = 4;
module_param_named(hw_job_limit, etnaviv_hw_jobs_limit, int , 0444);
static struct dma_fence *