media_module: fix hevc back mmu dmc warnning [2/2]
authorHui Zhang <hui.zhang@amlogic.com>
Thu, 16 May 2019 02:45:49 +0000 (10:45 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Wed, 29 May 2019 03:36:46 +0000 (20:36 -0700)
commitd84f5c888b072c9b4b1c8032dcfcf8c8d036cd6e
treef219ba162b7015ffe320803bed5887d9b5ba8b9c
parent32762779e481651d3721221a5cfbcde6d7e0fa44
media_module: fix hevc back mmu dmc warnning [2/2]

PD#TV-5832

Problem:
when mmu scatter tail is freed. sometimes sao mmu is not
stopped or in idle. there is potential memory pollution

Solution:
before free unused scatter, to check hw statu idle and
diable sao mmu to avoid hevc back overwrite system memory

Verify:
X301

Change-Id: Ib784809a0946bd0a6c479a98678cb40edacc4118
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
include/linux/amlogic/media/registers/regs/hevc_regs.h