PD#SWPL-1081
Problem:
integer cast to pointer error
Solution:
use unsigned log to cast to pointer
Verify:
P212 Android(32/64) buildroot(32/64)
Change-Id: I5d8230e4bb71a62eccfb2846e6c48acca64a0468
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#SWPL-1081
Problem:
omx need get profile to know whether kernel support drm framemode
Solution:
add drm_framemode in codec profile
Verify:
P212
Change-Id: I9e817d01714296646f150680ca1e7a301de9b341
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#IPTV-347
Problem:
output frame latancy when run videophonetest.
Solution:
sps_max_dec_pic_buffering_minus1_0 to
get buf num when sps_num_reorder_pics_0 is 0.
ucode gerrit id: 56487
Verify:
need verify by u212 iptv code
Change-Id: I199c45ee48ba4c535d0303347af27f9a572ed2c8
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#IPTV-311
Problem:
decode a 4K mbaff video file will produce many random
mosaic frame
Solution:
1. Add mbaff macro decode timing support for multi-instance
for 4.9 Kernel
2. ucode gerrit id:55144
3. We commited a uncorrect version of ucode bin in commit
dfa0cc3e, and reverted it in commit 8ab874f. Now, we
recommit this correctly ucode bin version.
Verify:
Verified ampere
Change-Id: Ie9db7e1b11d230a3c3f1a60804607e4661976da2
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#SWPL-596
Problem:
Support User data push for H264 Single-instance
Solution:
1. Add user data push handler for h264
2. get correct user data buffer address for mh264
and mpeg2 for 32/64 Bit version
Verify:
Verified Einstein
Change-Id: If09a4240c512dcb13426fc88d0d3696ac3d8dd4e
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#SWPL-2509
Problem:
Ring buffer pointer may become null.
Solution:
Add judgement.
Verify:
Local build. R311
Change-Id: Ia3329bd91503b6d137b21a6e82fe2ca8380d087b
Signed-off-by: yan yan <yan.yan@amlogic.com>
PD#SWPL-714
Problem:
The last few seconds of the DD+ stream are not smooth by DTV playback.
Solution:
check the apts and vpts both discontinue,then replay.
Verify:
P321
Change-Id: I125a64905623ad639b5e96089e6650dfcb96607b
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
PD#SWPL-265
Problem:
special p video play jagged
Solution:
1.special p video force interlace
Verify:
T962 P321
Change-Id: I9f82bb8649d31166d9847dec59e5c75080d63d21
Signed-off-by: Conglin Guo <conglin.guo@amlogic.com>
PD#IPTV-311
Problem:
decode a 4K mbaff video file will produce many random
mosaic frame
Solution:
Add mbaff macro decode timing support for multi-instance
for 4.9 Kernel
ucode gerrit id:55144
Verify:
Verified ampere
Change-Id: I9f027331dfb449a362f5d947bc9f60b4f7a9a36f
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#SWPL-2304
Problem:
Video Peek function need support VP9 format.
Solution:
Video Peek function supported VP9 format.
Verify:
Verified p241
Change-Id: I49cec0054eb4694ee7872bc696bacad057b9b2f0
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#SWPL-2301
Problem:
txl do not support vp9 can build vp9 component
duo to vts fail
Solution:
do not add vp9 profile on txl
Verify:
verify on p321
Change-Id: Id738adbdaf61f395da439428afb000245425d237
Signed-off-by: Jian Wang <jian.wang@amlogic.com>
PD#SWPL-896
Problem:
1) vp9/h265 double write only mode doesn't work with mmu ucode
2) double write flag bug in decoder driver probe
Solution:
1) change code to support double write only mode with mmu ucode
2) fix double write flag bug
Verify:
QA verify
Change-Id: I544d49547238545303cd090541ff6effd1606863
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-1235
Problem:
pc bad value in kernel panic after change source
Solution:
vdec reset core when avs error reset
Verify:
need verify by t962-p321 as jira description.
Change-Id: I490980c43dd4c3de28af01021b3cb0b82d4e151c
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-1617
Problem:
On S805X, back end performance is not good. easy to cause
bufmgr reset and cts failed.
Solution:
optimize buf_available checkcondition to avoid reset.
Verify:
Verified P241
Change-Id: I98c7e9ad8a8c31e0f97c26f5130952d4308756bb
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-2284
Problem:
there is issue in vmh264 fw teeload. which cause decoding fail.
REG_G status should be saved for each instance
Solution:
saved reg_g at each instance ctx
Verify:
Verified P241
Change-Id: I7ff11951a7c53f360dfdae9a8605180f28c7bb4b
PD#SWPL-2270
Problem:
when do camera record on ampere P,platform stuck and reboot,
kernel panic in encoder module
Solution:
change phys_to_virt to codec_mm_phys_to_virt;
dma_flush to codec_mm_dma_flush
Verify:
verify by ampere P
Change-Id: I04002587a0683473a6609d3a89176a5cebd3260e
Signed-off-by: kunpeng.tang <kunpeng.tang@amlogic.com>
PD#SWPL-809
Problem:
in stream mode, decoder drivers with again check will be always in run_ready state.
because of again_threshold not reach. but acutally there is enough data in vbuf.
decoding hang up
Solution:
sync input buf status once again check appears
Verify:
QA test on ampere
Change-Id: I72dc98461865f296fe0c625f8ca60a11561976ac
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-2241
Problem:
too much print like below,
"amstream_do_ioctl error :ffffffed, c02053c3"
Solution:
set dec_status return 0 in multi-dec driver.
Verify:
Verify by x301
Change-Id: Ibd07e487706176b5c6a316ce48234b608112d0ce
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-2142
Problem:
the kernel maybe crash when swicthed the src channel
Solution:
checked init state before reads the vdec status
Verify:
p321
Change-Id: I3b9fc2128615c5b6151915baecb0516a7ebca2f4
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-1909
Problem:
mem rw exception caused crashed.
Solution:
1. add mapping the highmem address by the func vmap().
2. remove the flag CODEC_MM_FLAGS_CPU if not necessary.
Verify:
p212, w400
Change-Id: Id2904331098eef7245e9949619840dcb20d16b4b
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-1964
Problem:
multi play seized up.
Solution:
fix fw load failed in multi dec
Verify:
veryfy by u212
Change-Id: Icc90e171f46b3137375456298bc8562917d4efa3
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-1977
Problem:
Hardware coding does not support bgr
Solution:
Convert bgr to rgb using ge2d
Verify:
local
Change-Id: I9e246a0ae99a35c36fb92bb9c17ea63726bb5d28
Signed-off-by: Renjiang Han <renjiang.han@amlogic.com>
PD#156197: h264: set the s805x vdec clk to 333Mhz when
start decode, and set to normal clk after decoded 30 frames.
Change-Id: I08261af396f2b99af3e1a610a68967eef58b695f
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#174425
Problem:
Support AVS2 on G12A and GXLX2 for multi-instance
Solution:
1. ucode support AVS2 HDR information push ucode
gerrit id:47825
2. AVS2 C Driver support multi-instance
3. fix buffer leakage issue due to multi-task reentry
4. add stream buf empty check
5. This patch was merged in gerrit 52448, but dure to
the fault of ucode launcher, it was revered in
gerrit:53708. The ucode launcher fault has been
resolved in bug SWPL-670 with commit: 8546160f1. And
now, we recommit this patch with new ucode.bin
Verify:
Verified U212
Change-Id: I5d9b60546ef8ac4371ae19f68b0281b4d69cfd1f
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#SWPL-949
Problem:
1) with some 264 4k stream, mmu doesn't work in stream mode
2) there is no secure access right in 4k mmu
Solution:
1) fixed access rights issue in uboot in 264 mmu mode
2) disable 264 4k mmu mode
Verify:
Verified u212
Change-Id: I7b610581d96e017101a1b0a3ff7745e1b1c51b4c
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-895
Problem:
optimization for vdec schedule debug and fw load
Solution:
1) change vdec_core_thread priority
2) add reload flag in vdec to check if reload fw at every run
3) add mc_type to check if fw need reload at every run
Verify:
Verified p212
Change-Id: Ic14f14831bf59d913450228ba07e0f94dde5347e
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-869
Problem:
Notified HDR10+ message to receiver
Solution:
1. parse sei data to check hdr10+ data header
and then change transfer_characteristic to
0x30 in signal_type for each picture.
2. add video_signal_type debug infomation
Verify:
Verified U212
Change-Id: Ibcc65e624c2c82304fbda1b0ab02a603e975bd27
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#OTT-71
Problem:
google cast display green lump when seek.
bufmgr reset after seek opration.
Solution:
keep the normal pic before reset and free buffer;
Verify:
U212, Atom
Change-Id: I0b1d21fb73ed8e7b2bf9815b53e0832444f1e41a
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-971
Problem:
youtube play 4k60 vp9 video file, Serious
frame loss
Solution:
entend decode buffer number to 12
Verify:
Verified Ampere
Change-Id: I876c16e3b45eebda2640260ceab84c093463abfe
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#174425
Problem:
Support AVS2 on G12A and GXLX2 for multi-instance
Solution:
1. ucode support AVS2 HDR information push ucode
gerrit id:47825
2. AVS2 C Driver support multi-instance
3. fix buffer leakage issue due to multi-task reentry
4. add stream buf empty check
Verify:
Verified U212
Change-Id: I28998ac9f7a66fa8738afdbc812bcc1ca7436b24
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD# SWPL-479
Problem:
dvr function will cause crash
Solution:
open async_fifo init function
Verify:
verify by u200 at android p.
Change-Id: I97812b2241d5857646e19230232805fa4b39849f
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
PD#172483: if reserved mem is not maped;
must check the memory before used.
Change-Id: Ie6955059c73858e071c6d3b13e0698d659e6891a
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>