mem: remove NORETRY flag, and fix possible deadlock.
authorsky zhou <sky.zhou@amlogic.com>
Mon, 28 May 2018 07:01:37 +0000 (15:01 +0800)
committerSky Zhou <sky.zhou@amlogic.com>
Fri, 15 Jun 2018 02:55:18 +0000 (19:55 -0700)
commit8614e713b0cce8634fa8d2cd22655a453ea15938
tree6f4f91f972f62072c4619cccfc8b469014564cf0
parent65013ffccd185ff5f2b0f73a8870f8409513599d
mem: remove NORETRY flag, and fix possible deadlock.

PD#168336

For low ram device, gpu may failed to alloc memory
with NORETRY flag.
Without NORETRY flag, allocation may be meet deadlock
when OOM killer triggered.

Change-Id: Ia93c16d387d524e4f9f078df1156da96800cc49a
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_context.c
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_defs.h
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_mem.c
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_mem.h
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_pool.c
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_mmu.c