From 56659dcda3eaa971862867bc0de7680bb4ce2c02 Mon Sep 17 00:00:00 2001 From: chenzhen Date: Tue, 11 Jul 2017 15:01:20 +0800 Subject: [PATCH] MALI: utgard: fix the too small "max_job_runtime" in platform information The original setting of "max_job_runtime" is too small that jobs are too easy to timeout and be killed. Change-Id: I5316c2b594d94dd0b844ef9a297baa7b226c4665 Signed-off-by: chenzhen --- drivers/gpu/arm/mali400/mali/platform/rk/rk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/arm/mali400/mali/platform/rk/rk.c b/drivers/gpu/arm/mali400/mali/platform/rk/rk.c index 9ee1c40ff1dd..080d207772d3 100644 --- a/drivers/gpu/arm/mali400/mali/platform/rk/rk.c +++ b/drivers/gpu/arm/mali400/mali/platform/rk/rk.c @@ -493,7 +493,7 @@ static const struct device_type mali_gpu_device_device_type = { */ static const struct mali_gpu_device_data mali_gpu_data = { .shared_mem_size = 1024 * 1024 * 1024, /* 1GB */ - .max_job_runtime = 100, /* 100 ms */ + .max_job_runtime = 60000, /* 60 seconds */ #if defined(CONFIG_MALI_DEVFREQ) && defined(CONFIG_DEVFREQ_THERMAL) .gpu_cooling_ops = &rk_cooling_ops, #endif -- 2.34.1