MALI: utgard: fix the too small "max_job_runtime" in platform information
authorchenzhen <chenzhen@rock-chips.com>
Tue, 11 Jul 2017 07:01:20 +0000 (15:01 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 21 Jul 2017 08:18:16 +0000 (16:18 +0800)
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 <chenzhen@rock-chips.com>
drivers/gpu/arm/mali400/mali/platform/rk/rk.c

index 9ee1c40ff1dd16c5a783ad7c33dc42a5a9b3ebcd..080d207772d37bc513452673e5b5febed0e30247 100644 (file)
@@ -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