gpu: add 32bit kernel support [1/1]
authorJiyu Yang <jiyu.yang@amlogic.com>
Mon, 22 Oct 2018 07:21:58 +0000 (15:21 +0800)
committerJiyu Yang <jiyu.yang@amlogic.com>
Tue, 23 Oct 2018 05:23:40 +0000 (22:23 -0700)
commit546aaec970845731fd8063048b6e2ddb0a428e04
tree86405dd6db510fba9a2cee2c9237ae5f9ebd4eb4
parent3454bbebae37daa94f633bbf895bec0bf4390b23
gpu: add 32bit kernel support [1/1]

PD#SWPL-684

Problem:
the 32 bit kernel can't work

Solution:
introduce FMODE_UNSIGNED_OFFSET to allow negative file offsets

Verify:
run on the u212, which can boot into home.

Change-Id: I9af133e945911c5f4287c9a566ea38524f665dab
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
bifrost/r10p0/kernel/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
bifrost/r9p0/kernel/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_core_linux.c