media_module: fixed H264_CO_MB_WR_ADDR DMC VIOLATION issue [2/2]
authorPeng yixin <yixin.peng@amlogic.com>
Wed, 2 Sep 2020 07:35:57 +0000 (15:35 +0800)
committerPeng Yixin <yixin.peng@amlogic.com>
Fri, 4 Sep 2020 03:42:53 +0000 (11:42 +0800)
PD#SWPL-32433

Problem:
The value of H264_CO_MB_WR_ADDR register will be saved in vr07 register
in ucode before internal reset. After internal reset, the value of
vr07 will be restored to H264_CO_MB_WR_ADDR. But in the process of
reset, vr07 will be assigned again, which causes the wrong address to
be written when restoring H264_CO_MB_WR_ADDR register.

Solution:
Instead of using vr07 during internal reset, replace it
with an unused register to resolve this problem.
ucode gerrit id: 123089
ucode commit id: 3501a8d
ucode change id: Ia931ebb

Verify:
AB311

Change-Id: Ia82a30eb83370bec419b99ddb64f9ed967b89d85
Signed-off-by: Peng yixin <yixin.peng@amlogic.com>
firmware/video_ucode.bin

index 8e6c085dcdcf3fe487cb89e83759e069835fc101..ee6f010d5fd6457f42b0442c4bb91aeddd6bf876 100644 (file)
Binary files a/firmware/video_ucode.bin and b/firmware/video_ucode.bin differ