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>
PD#155696
1) replace msleep with sema in h265
2) decrease scatter mem cache size for non-4k h265
3) set vdec thread to higher priority
4) zz:set vdec work to higher priority
5) zz:don't reload mc code when on instance.
6) zz:del config SCALELUT_WR_ADDR for each frame.
7) zz:profile add some paras for debug.
Change-Id: Ie4be769269c8a485755f5610d3739df26d34cf17
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>
PD#156498: add mutex lock to avoid concurrency events.
usage:
cat sys/class/firmware_codec/reload
echo 1 > sys/class/firmware_codec/reload
echo 2 > sys/class/firmware_codec/reload
set 1 means that the fw is forced to update
set 2 means that the fw is try to reload
Change-Id: I99d629a8862cd13d394566fd31c788d01a302019
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Revert "firmware: adds a reload node to avoid the fw load fail [1/1]"
This reverts commit c3a2d6233635072a5d5c34498f990dafbc70261b.
Change-Id: I030809b913133cb3ac9a680cfec98fbcde97d40d
PD#156498: adds a reload node to avoid the fw load fail
usage:
cat sys/class/firmware_codec/reload
echo 1 > sys/class/firmware_codec/reload
echo 2 > sys/class/firmware_codec/reload
set 1 means that the fw is forced to update
set 2 means that the fw is try to reload
Change-Id: Id453860386cb3eb9dbd21c0ae7238c34655ab1ed
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#154260: add a item of firmware cfg for the txlx.
Change-Id: I0ce62cdc96b8e9a09a7abaff1c8258b858607285
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#151174: add detection of eos data to prevent err in play state
The play ready state requires 3 conditions:
1. input object is valid
2. available with chunk data
3. no eos data received
Change-Id: Idee816458f2da165fce52a74c9d308a32b116d15
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#150739: merged code from 43177e6a on the amlogic-3.14-dev
1.decoder: vmh264, fix multi pic in one packet
2.decoder: add amvdec_stop when error reset
3.clk: switch vdec clk source when suspend
Change-Id: I43b8f5a7a13d880c130505cd21e08c8e1eb4cf38
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>