diff options
author | Shawn Xiao <b49994@freescale.com> | 2015-06-12 13:08:42 +0800 |
---|---|---|
committer | Shawn Xiao <b49994@freescale.com> | 2015-06-12 13:14:49 +0800 |
commit | 6eefa0c21fd6b2ce9058ab53d375430ba13673d7 (patch) | |
tree | 7b4684dc2ffabb6030b0a440d45e39de03463e6e /drivers/watchdog/of_xilinx_wdt.c | |
parent | 6d5f951e94237c818576f4bcc6577d833f151804 (diff) |
MGS-532 [#1630] P13 driver meet "AXI BUS ERROR" on GC2000rel_imx_3.10.17_1.0.3_patch
When run Antutu benchmark several times continuously, it will
show "AXI BUS ERROR".
The root cause is When unlock a surface, driver must flush
its GPU cache. Otherwise, GPU may write out the cache after
GPU address is freed, which will cause MMU Exception or
AXI bus error. Even if GPU address isn't freed, data in cache
may pollute memory after memory is used by another surface.
The solution is Before an event is written to command buffer,
driver checks the group of records linked to this event to
find out which kinds of cache need to flush. This method
doesn't care whether the record is from user side or kernel.
And driver generates only one flush for a group of records.
Date: Jun 11, 2015
Signed-off-by: Meng Mingming <b51843@freescale.com>
Diffstat (limited to 'drivers/watchdog/of_xilinx_wdt.c')
0 files changed, 0 insertions, 0 deletions