gpu: update gpu driver for t5 [1/1]
authorDezhi Kong <dezhi.kong@amlogic.com>
Fri, 25 Sep 2020 12:44:31 +0000 (20:44 +0800)
committerDezhi Kong <dezhi.kong@amlogic.com>
Mon, 28 Sep 2020 04:35:19 +0000 (21:35 -0700)
commit60a3be10a16326614b1edbe155436b0db6b57c2e
tree6a6056e2515ee77257cd6b06f868cd1c564ce7bc
parentb7a50ac734d029a30faa697e68ec4541fede82c2
gpu: update gpu driver for t5 [1/1]

PD#SWPL-33677

Problem:
The mali poweron ack reg have been remove on T5
The read operation of AO_RTI_GEN_PWR_ACK0 will result in crash

Solution:
replace the gpu power on status with gpu internal reg value.

Verify:
ak326 socket board

Change-Id: If9ad2eac0ba5759dc91901b2e7e296caf04a25a5
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
bifrost/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c
bifrost/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c