From: chenzhen Date: Tue, 11 Jul 2017 07:01:20 +0000 (+0800) Subject: MALI: utgard: fix the too small "max_job_runtime" in platform information X-Git-Tag: release-20171130_firefly~4^2~125 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=56659dcda3eaa971862867bc0de7680bb4ce2c02;p=firefly-linux-kernel-4.4.55.git 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 --- 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