MALI: utgard: fix deadlocks when CONFIG_SYNC is set
authorchenzhen <chenzhen@rock-chips.com>
Fri, 2 Jun 2017 07:33:45 +0000 (15:33 +0800)
committerchenzhen <chenzhen@rock-chips.com>
Tue, 20 Jun 2017 08:03:23 +0000 (16:03 +0800)
commitf2605eb08a6b1dc06791fde4853c43c241b863f0
treec908ab9473b9bf518a6e0aa4d0e539574eaa5807
parent0212025c7baaeaa92aee7ec25776222307887a9b
MALI: utgard: fix deadlocks when CONFIG_SYNC is set

This is the content of
Case693349_the_spinlock_fix_patch_2_for_kernel_4.4.patch
from support_mali, with slight modifications for building
with rockchip_linux_defconfig,
in which CONFIG_SYNC is not set.

Change-Id: Icedff21f7941fd1aefceb6be4fda638378fe4ca8
Signed-off-by: chenzhen <chenzhen@rock-chips.com>
drivers/gpu/arm/mali400/mali/common/mali_kernel_core.c
drivers/gpu/arm/mali400/mali/common/mali_timeline.c
drivers/gpu/arm/mali400/mali/common/mali_timeline.h