PD#166845: vh265: fixed mem leak issue in aux buf
Change-Id: Id4ebc9ae1bf1684e25c75232a173e5f5f092472f
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#164365
when node mmu_enable is 0, load ucode is not matched, kernel will crash
Change-Id: Ie2ef9ee726766749be9c290ef9e9de9ed544fd24
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#166512
it must tee load mmu fw when tee enabled
Change-Id: I0ffd7c8415a77b41401b0e2ebdf697172a6b0d1d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#166251: vh265:
when h265 stop, sometimes isr thread has not completed, vdec might be
release before isr service,so add in isr flag , and not to release vdec
until isr thread completed.
Change-Id: I52507d24c64cfe6da68fedef0a0393eb3449b1d7
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#165763:
1. optimized some codes for fw and package parse.
2. adds a feature that the fw which the best match will be loaded.
3. adds the control of the ver for parsing of fw package.
Change-Id: Ia17474df3ff90c6abbe5b617699cfca227f5ea9d
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#165053:
1. regs about the ao dos needs to be reset when reboot.
2. the hhi regs with vdec clk should be clear when the
clock reference count minus to zero. the issue also
needs to be amended clk tree by qiufang.
Change-Id: Idce668af7e4d8fc7e400d5907705aaf87e59043c
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2. Revert the commition of using 8 buffers for all chips
When we fix bug 128904(commit id:d723223bc) by using 8 buffers, but afterward, we
found it caused mosaic for some videos, So i revert it. I also revert the associated
ucode commition for it. This change is fit for all chips, not only G12A.
Change-Id: Idc5d2f96ca9f38208039e23da54e39f3c852e74e
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#164394: h265_uninit_done_sema should be inited for multi-h265
Change-Id: I8e5fd16070cf859e83a0a81a0a3e503533efc048
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#159750
mutex_lock is called in (hevc)vdec_source_changed, so use
schedule_work to avoid crash in timer. all format changed.
Change-Id: Ib7e2cb3674ced63e7a2f786da734f48427f96be2
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#164394:1) fix crash for exit h265 player
2) fix tsdemux rrelease bug which may cause system crash
Change-Id: Ibe30376cefae4d973ea906c8b0b698c9ac14e846
PD#163674: fix avs && h265 vts timeout issue
1.remove some print info
2.use sema instead of sleep 20ms to save time in vmh265_stop
Change-Id: I17d0a23da75933a02e20500b26d783255761d9a6
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
PD#162854: fixes an issue of the media clock set
Change-Id: I8b788589c46becbfa53b83ff876c9a7570512322
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#162467: amports: mutex lock/unlock in create and destroy user data manager struct
PD#161160: mpeg2: correct write point to zero for cc buffer recycle
Change-Id: I2e3208623aae2073591256e3d2fb36e7875166ba
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#161077: fixes an issue that using semaphore could cause crash
Change-Id: I5ea95042a92030e298bcc026aeed48f436cf739e
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#162854: this problem is caused by the display order error
Change-Id: I81902828c32aa667e22136eb1edfcdf0639f2256
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
1.add encoder support for Oreo
2.change ucode load mode for h264 encoder
Change-Id: Ia407a4c205f17ecee6be1e6a741acf2bdadc04e5
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
PD#161244: the aiu fifo short address is 0x1400
Change-Id: I48b58db933b72e384e20995d10622feb8ff5c950
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#161606:
1. fixes an issue that the mutex lock could sleeping on isr context.
2. update the video_ucode.bin
Change-Id: I14d73e210d64de46d20396cf8edc33c397bbc1ec
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#161606: notes
1. fix avs2 bringup bug: config dblk_data2 and
config HEVC_SAO_CTRL0 with lcu_size_log2
2. vdec: merge debug code from kernel 3.14,
support step and schedule profile (multi-instance only)
echo 0x100 > /sys/module/decoder_common/parameters/step_mode
3. decoder: fixed a bug of the vdec_profile event.
the ISA register base has changeed to 0x3c00
on the txlx, g12a platforms
4. decoder: modify the value of the hevc reg HEVC_DBLK_STS1
G12A changes
#define HEVC_DBLK_STS0 0x350f
#define HEVC_DBLK_STS1 0x3510
5. stream_input: add a feature of check efuse status [2/2].
6. media_clock: adds media clk nodes
echo 1 > /sys/module/media_clock/parameters/set_frq_enable
echo 667 > /sys/module/media_clock/parameters/vdec_frq
echo 667 > /sys/module/media_clock/parameters/hevc_frq
echo 667 > /sys/module/media_clock/parameters/hevcb_frq
7. media_modules: revised dolby vision macro control for g12a
8. ucode: update the video_ucode.bin
Change-Id: Icf781a1e5f8095bd1b14a2b21e525683ad0cc22d
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#161180:
1) adjust timeout trigger threshold to prevent an instance not
being in a deadloop when decoding error happened
2) add check to a invalid display_q len
Change-Id: I9a8fcc2891aca5b03b75c54b5a9cf2514ed28ca7
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#160726
for longtime run, some stream error might cause pic_dc hardware in wrong state, it can't be recovery,
so this hardware module need to be reset at beginning of decoding slice. mosaic issue will be gone
Change-Id: I850ecfc08b45a66e15ce9a41dbf1d550fe55f640
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#157273
1. format code as kernel's format.
2. add kernel's format scripts to this script dir.
Change-Id: Id45c0919d0476b2cd990b027e80bbe7fed3a90be
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>