PD#108267 fixed timeout when antutu5.7 many times run
authorJiyu Yang <jiyu.yang@amlogic.com>
Fri, 7 Aug 2015 03:18:43 +0000 (11:18 +0800)
committerJiyu Yang <jiyu.yang@amlogic.com>
Fri, 7 Aug 2015 06:11:48 +0000 (23:11 -0700)
commit774dbea0619930df682b77d702f287450079f254
treefdf5f85642f4a24c4905cb9636554cba2cd142e0
parente275f55ca4cc34fc5726794359e35f3d91f0671d
PD#108267 fixed timeout when antutu5.7 many times run

this patch from these two patch
Errata847169_Crashes_In_Application_Close.patch
Errata850522_Mali450_Job_Scheduler_Stop_In_CornerCase.patch

backtrace is below
<6>[ 2131.508868] kworker/1:1     D ffffffc001085a00     0  1625      2 0x00000000
<6>[ 2131.515844] Workqueue: events delayed_fput
<4>[ 2131.519892] Call trace:
<4>[ 2131.522310] [<ffffffc001085a00>] __switch_to+0x74/0x8c
<4>[ 2131.527403] [<ffffffc001985938>] __schedule+0x2b8/0x744
<4>[ 2131.532572] [<ffffffc001985df0>] schedule+0x2c/0x80
<4>[ 2131.537417] [<ffffffbffc0188bc>] _mali_osk_wait_queue_wait_event+0x44/0x80 [mali]
<4>[ 2131.544833] [<ffffffbffc02fd00>] mali_timeline_system_abort+0xfc/0x120 [mali]
<4>[ 2131.551902] [<ffffffbffc01f54c>] _mali_ukk_close+0x58/0xb4 [mali]
<4>[ 2131.557938] [<ffffffbffc01fdcc>] mali_release+0x3c/0xd4 [mali]
<4>[ 2131.563708] [<ffffffc0011b1f20>] __fput+0x90/0x20c
<4>[ 2131.568452] [<ffffffc0011b20d8>] delayed_fput+0x3c/0x54
<4>[ 2131.573629] [<ffffffc0010b5ecc>] process_one_work+0x140/0x430
<4>[ 2131.579320] [<ffffffc0010b6d04>] worker_thread+0x140/0x3d4
<4>[ 2131.584754] [<ffffffc0010bd85c>] kthread+0xd8/0xf0

Change-Id: I884b38478b09e3bdbf0d168abd589faccd3f1e23
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
mali/common/mali_executor.c
mali/common/mali_scheduler.c
mali/common/mali_timeline.c