From 964ab6169e4747a6a9cae68b76a13eb06efb59a5 Mon Sep 17 00:00:00 2001 From: Peng Yixin Date: Mon, 14 Sep 2020 17:23:44 +0800 Subject: [PATCH] h265: fixed VCPU DMC VIOLATION issue [2/2] PD#SWPL-30901 Problem: the VPS_BUFFER address stored in LMEM memory was modified to 0, cause this problem. Solution: Instead of using LMEM memory to store this address, use the DOS_SCRATCH20 register. ucode gerrit id: 124313 ucode commit id: 16e7cb ucode change id: Icf747 Verify: U215 Change-Id: I5dfb6d527c6f46a977ba6a1cfd151a8c1c94c26a Signed-off-by: Peng Yixin --- firmware/video_ucode.bin | Bin 1459200 -> 1459200 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/firmware/video_ucode.bin b/firmware/video_ucode.bin index 39420e179a6a39eeede09dfab5008d9f24c1915e..dab1b3be1a235b9ce835eb1a58839a4923349c68 100644 GIT binary patch delta 20775 zcmeHPd301o_O5!}=`GEB{Th;(1hcRO5(p$=M?wW;R~7@KG9dziAT9xv-2ernn79Cf zrbHnDA?P?mkbr4mFctzD1VIE5S412IQHDiC8N}bMu9u;kjwW(C|NIU)hf}Hd(sgTj z@B8lk?rmtn-L&BDxy^FVrDyL7ebu&e>SrB$|2p;25v$|3z4z6&)mfLPyk42U@X(9r z``q-{9dnxXZ5clH=Ba(xEJ@qg;Gk!4&iY2PTqRYAZLi#2`s|X8yY4_o9S5`SeqSre zT4LMp-hTeeh&0;$j%}a5mU?XZ=(n3hO+ih@@<%o=%bblTB_AyK^5{E_?_4r>_=bf) zMwQIHx%*2eC(r+OM&G>ScyF9%$nlrXemi}3AG#jk}jUJyMOuD3s2>p{9sNm zZQ#VNyFPB05dHPh%v;E~WhZCcb?MR!^Di0Bw1^*?hP~1=?}yKN-@2%GSkK&hn#_If zv~ytOyB_lB{Y%ex7@b=%eeFlh59d@KdHZDB)F^vjZE>rCy)uTNjBwN_YwchEx-?sP zX=xlDTCR-5u9S}BI^~QRliWWiw^RF0?ME+t(3C_nM^A~%95*R0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