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>
PD#150221: fixed the issure of mem to avoid leak.
Change-Id: Id1ef51e30cfab718e5e57881af5d84eb2609d1b1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#150221: fixed a issure of the memory leak when the seek.
Change-Id: Ie11a942f08cfeab59a6e4e7452c82bab62ec5f36
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#150498: modify modules dir in the sysfs to compatible with kernel 3.14
Change-Id: Ie2f5ef1d0473f1683e991ba405e5347e0d95f6db
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#150369: change the spinlock into the mutexlock to avoid crash.
Change-Id: I96528c1e496d0bc4ff984036a5d36b373732c932
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#146152: merged code from 43177e6a on the amlogic-3.14-dev
1. support for multi-instance features
2. some issures with the restoration of H.264/H.265/vp9 in
multiple-instance mode
3. optimized switch gate and decoder clk
Change-Id: Iff829f6e4058c7001901e65c03e283a82fd1ec4a
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD# NONE
change the directory of ucode_out to vendor/lib/firmware/video
Change-Id: Iceaa4f9699cdd62a2827920a6dc13a76c4a1450e
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-7006
Problem:
TL1 cave video 1080i 60hz have drawing.
Solution:
dark scenes don't into pulldown32 by vlsi yanling
Verify:
TL1
Signed
Change-Id: Ib77c0f99940c416943baa9b9a8a02a059b274e5b
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
PD#TV-4708
Problem:
small window,v scaling mode, bottom of the screen is no video.
Solution:
vline is odd, mif out is not more enouth
Verify:
verify on TL1
Change-Id: I2ac35af3632e8b14df5c773b322d4b2d64b050ba
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-4708
Problem:
small window, bottom of the screen is covered by
blank on the online video
Solution:
vline is odd, mif out is not right
Verify:
verify on TL1
Change-Id: I39eb0cdfd2f4b200a09a9c8b779f509caf6dea37
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-4072
Problem:
tl1 1080i in some dark scenes and roller coasters
have small sawtooth
Solution:
adjust a set of registers with special motion
Verify:
tl1
Change-Id: Idbe62e823f1c6c683b67d000978de1862c8e3162
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
PD#SWPL-6575
Problem:
chip bring up
Solution:
1.add tm2 chip id for tm2
2.add h scaling down function for tm2
Verify:
tm2
Change-Id: I364d7c07be331d81ef546357445225c6071f8e3c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/deinterlace/deinterlace_dbg.c
drivers/amlogic/media/deinterlace/deinterlace_hw.c
drivers/amlogic/media/deinterlace/nr_drv.c
PD#SWPL-6762
Problem:
di clkb frq is not right
Solution:
change from 500 to 667
Verify:
tl1
Change-Id: I9c62bb9936630937f19d8a6b490a8266d73a268c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6133
Problem:
monkey test di cause crash,when is di reg processing, unreg event
attach, and released the di buffer, so cause crash.
Solution:
every unreg event received, need waitting reg process had done.
Verify:
tl1
Change-Id: I2f2bb068ed65ab14ab4f09de96b64d7290da5914
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5908
Problem:
execute vmap when di reserved memory is disable
Solution:
skip memory calculation in init buf while using cma
Verify:
verified by t962x2_x301
Change-Id: Ib0c2e422f61f2b4182109cb7bbb3107029363ce0
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-6096
Problem:
from local av switch to dtv,black screen,then search channel
Solution:
revert the modification "62617"
Verify:
tl1
Change-Id: I49ae627b9f0b1f6a776e5cbffc723a43e85cee72
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6070
Problem:
flash garbages when unreg process.
Solution:
can't speed down the clkb rate, there is a mirror mode
Verify:
tl1
Change-Id: I5fcc29a1cda196992a457f40fee31992f4bc1528
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6097
Problem:
flash green garbages when play h.265 SD video
Solution:
afbc input not enable
Verify:
tl1
Change-Id: I310eeb6d922ab8b9035c815afc4e967c0e5390ff
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5877
Problem:
1.afbc mode, play h.265 local video, when exit playing,
screen will flashing sometimes.
2.when exit playing, there cost 5s time.
Solution:
4k video di bypass, afbc hw module used by vpp, when
DI unreg, needn't to disable AFBC moudule.
Verify:
tl1
Change-Id: I2ac66a145a009042d286dda50e7259657f4bfc8e
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
PD#SWPL-4918
Problem:
when reg unreg event called too fast, di cause system crash
Solution:
pretect reg and unreg flow
Verify:
tl1
Change-Id: I9b3e28c2b0b709d4f53f60b1f044a390933117ce
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
PD#SWPL-5205
Problem:
support afbc from vdin and decoder on tl1
Solution:
1.add this function
2.support from vdin and decoder
Verify:
tl1
Change-Id: I258d40ad5706f4a9a5749298dd9a33a9b4bbafa2
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/deinterlace/deinterlace_hw.c
PD#SWPL-3413
Problem:
when playing SD/HD/VP9/H265 video, there
are 3 veritcal lines on the picture.
Solution:
disable afbc
Verify:
verified on tl1
Change-Id: I839d8f26aefdf2c71272d8d3e7bf93e4c3294491
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-3113
Problem:
Add AFBC support on TL1
Solution:
Add AFBC support on TL1
Verify:
T962x2-x301
Change-Id: Ib4f40f6ca0cbb1553bf4f76848d1649822dda3e8
Signed-off-by: huaihao.guo <huaihao.guo@amlogic.com>
PD#OTT-778
Problem:
1.kernel received reboot command, but hang in shutdown
Solution:
move tasklet_disable behind tasklet_kill
Verify:
P321
Change-Id: I994c21c5aeb42dbbb4e3b50ccac8376db4d4039d
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#172587
Problem:
afbc now support on chip txlx and g12a,
but we use cpu_after_eq(G12A) to judge
if afbc is support or not.
Solution:
use is_meson_g12a_cpu() replace cpu_after_eq(G12A).
Verify:
u200(g12a),t962x_r311
Change-Id: I3fb7ed54f7137fada97481177e40a2543cf8df9f
Signed-off-by: huaihao guo <huaihao.guo@amlogic.com>
PD#SWPL-1618
Problem:
Add afbc support on g12a and txlx
Solution:
add afbc support on g12a and txlx
Verify:
T962X-R311, U200(G12A)
Change-Id: Ia0cce8516a98653b01c3bc628e812c3a81b1df59
Signed-off-by: huaihao.guo <huaihao.guo@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/deinterlace/deinterlace_hw.c