mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
MALI: utgard: rockchip: fix_mali_hang_on_windows
Change-Id: I9a03f2427cbe0653821a1671c1f3758bc8e891fe Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
This commit is contained in:
@@ -617,9 +617,11 @@ _mali_osk_errcode_t mali_executor_interrupt_gp(struct mali_group *group,
|
||||
struct mali_gp_job *job;
|
||||
mali_bool success;
|
||||
|
||||
/*
|
||||
if (MALI_TRUE == time_out) {
|
||||
mali_group_dump_status(group);
|
||||
}
|
||||
*/
|
||||
|
||||
success = (int_result != MALI_INTERRUPT_RESULT_ERROR) ?
|
||||
MALI_TRUE : MALI_FALSE;
|
||||
|
||||
@@ -193,7 +193,7 @@ static const struct mali_gpu_device_data mali_gpu_data = {
|
||||
.shared_mem_size = 1024 * 1024 * 1024, /* 1GB */
|
||||
.fb_start = 0x40000000,
|
||||
.fb_size = 0xb1000000,
|
||||
.max_job_runtime = 60000, /* 60 seconds */
|
||||
.max_job_runtime = 100, /* 100 ms */
|
||||
/* .utilization_interval = 0, */ /* 0ms */
|
||||
.utilization_callback = mali_gpu_utilization_handler,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user