tvin: vdin: tl1 improve vdin afbce function [1/1]
PD#172587
Problem:
vdin afbce can not work well
Solution:
change afbce work mode
Verify:
verify on tl1
Change-Id: I3e980c7488bd8a0eb6f043fd1fb2d2b2bc75140f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
8adc242 tvafe: add control for tvconfig snow config [1/1]
190d82f cvbs: cvbsoutput support for tl1 [1/1]
3e859c8 vdin: add dolby mem release protection [1/1]
ba57ce5 vdin: G12A color space error when capture screen by post blend
[1/1]
768c100 vdin: add new interface for passing dma-buf to vdin [1/1]
f24b329 vdin: QD980 HDMI 4k 30Hz,change bit depth has green screen [1/1]
a8c6962 vdin: add afbce reg access protection [1/1]
874fe722 vdin: support afbc/non-afbc switch dynamically [1/1]
321d0bc vdin: revert ignore v4l2start/stop ioctl when vdin1 used for
preview [1/1]
05df311 vdin: disable afbce under 4k resolution [1/1]
3038cb8 vdin: recycle garbage frame for afbc mode [1/1]
fbb84a75 vdin: support dynamic dest_cfmt changing [1/1]
81c1e14 vdin: ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]
bab3adb tvafe: add av/atv/cvbs support for tm2 [1/1]
2c05842 vdin: add vdin support for tm2 [1/1]
5a825f1 vdin: config vdin mif/afbc path directly [1/1]
3cb9517 vdin: sync vdin0 & vdin1 buffer for afbc mode to avoid garbage
screen [1/1]
d1f8149 vdin: fixed the issue of mem mapping from vmap. [1/1]
0b049e1 vdin: add sm1 support [1/1]
bfc5e18 vdin: fix vdin1 dest_cfmt for tl1 afbc preview support [1/1]
ded6424 tvin: vdin: add vdin1 scaler preview for vdin0 preview [1/1]
b23ca7b vdin: optimize game mode for tl1 phase lock [1/1]
2a95ff7 vlock: add phase lock function [1/1]
51822f9 vlock: screen flash after PAL NTSC swich [1/1]
315f6d3 vlock: vlock for tl1 [1/1]
7f3b8d9 vdin: fix snowflake bottom screen [1/1]
c2a4eaf tvafe: optimize stable time on manual setting [1/1]
c05cefd tvin: vdin: add interface to get signalinfo [1/1]
5c5d26c tvin: vdin: fix vdin histgram error on tl1 [1/1]
7c0701b tvin: vdin: fix dolby vision memory free print error [1/1]
a510d76 tvin: vdin: fix system crash when dolby vision enable [1/1]
2f1ba00 vdin: add vdin1 histgram [1/1]
f5abdd8 tvin: vdin: fix TXLX ATv channel switching crash [1/1]
8d1a496 vdin: tl1: add viu loop back vpp path [1/1]
63f1b85 tvin: vdin: add vdin afbce memory power ctrl [1/1]
211b677 hdmirx: add allm mode. [1/2]
2afb3d7 tvafe: fix black border for atv [1/1]
ced9632 tvin: vdin: fix afbce 576p color anomaly [1/1]
f00295ae tvin: vdin: fix afbce 4k yuv444 display error [1/1]
1fef799 tvin: vdin: vdin add afbce write back to memory interface [1/1]
482e11b tvin: vdin: fix vdin CMA layout adaptation [1/1]
87d67d8 tvin: vdin: vdin afbce fix header size bug [1/1]
f938eed vdin: optimize game mode process [1/1]
6e847e0 tvin: vdin: hdmirx format change, display exception [1/1]
4c7bb63 tvin: vdin: tl1 improve vdin function [1/1]
8850ab8 tvin: vdin: tl1 improve vdin afbce function [1/1]
tvin: vdin: tl1 improve vdin function [1/1]
PD#172587
Problem:
1.in the afbce mode,
screen flicker when serial port print too many debugging information
2.vdin afbce 4K crash
3.viu loop back error
4.need afbce lossy mode
Solution:
1.vdin use rdma mode
2.change vdin afbce buff size
3.change VDIN_ASFIFO_CTRL3 register
4.add lossy mode
Verify:
x301
Change-Id: Id66c0d7df22a9aeaca15d645f9a2ce0ecf47be3f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
tvin: vdin: hdmirx format change, display exception [1/1]
PD#SWPL-2411
Problem:
hdmirx input 4096X2160 yuv422 in a short period of time,
formate change form yuv422 to yuv444, screen display is exception.
Solution:
force malloc yuv444 size
Verify:
Verify on txlx r311
Change-Id: Ie670b9a2b0c1eceffe423a1cf8606e78b6b347cd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
vdin: optimize game mode process [1/1]
PD#SWPL-2145
Problem:
HDMI Rx Video path display latency of Game mode and Normal mode
Solution:
optimize game mode
Verify:
T962X-R311
Change-Id: Ib0a41915dfb088495c976d56ab812f90e31602f4
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
tvin: vdin: vdin afbce fix header size bug [1/1]
PD#SWPL-3208
Problem:
vdin afbce scaler, display abnormal.
Solution:
fix afbce header size problem.
Verify:
TL1 X301
Change-Id: I461b4aa809ceddbe18cf7f6f49e8152b43b86076
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix vdin CMA layout adaptation [1/1]
PD#SWPL-2526
Problem:
1.CMA layout adaptation cause crash
2.vdin buff dump error
3.read_pic error
Solution:
1.codec mm has be moved to high memory area,
we should map memory use vmap.
2.make vdin high mem and low mem to be compatible
when we dump vdin buff.
3.fix read_pic bug.
Verify:
TXLX R311
Change-Id: I90e4f46ba91d38c6ce0f8bfd65b5c22e6be3b83f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: vdin add afbce write back to memory interface [1/1]
PD#SWPL-3200
Problem:
vdin add afbce need more debug method.
Solution:
vdin add read_pic_afbce debug interface
Verify:
TL1 X301
Change-Id: I45a741ba20409dc25b41ce316b0df0dce9d2dc28
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix afbce 4k yuv444 display error [1/1]
PD#SWPL-3429
Problem:
vdin output format is afbce 4k yuv444,it display ghost shadow of image
Solution:
add afbce comb control
Verify:
x301
Change-Id: I168f13994a4929bd227ba70b006f259ac0726238
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix afbce 576p color anomaly [1/1]
PD#SWPL-3424
Problem:
dvd play 576p media, tl1 display color anomaly
Solution:
encoder use same default color setting with decoder
Verify:
x301
Change-Id: I8954874ea048b2d9e9b7aa58c883da1f306c4459
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvafe: fix black border for atv [1/1]
PD#SWPL-3573
Problem:
appear black border after unplug/plug signal
Solution:
reset de when nosignal
restore acd hsync when signal unstable
Verify:
verified by x301
Change-Id: Ia9e2e9dfb326061bd3b9b6f9a02be0d935cdf06f
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
hdmirx: add allm mode. [1/2]
PD#SWPL-1619
Problem:
need support allm mode
Solution:
add allm mode
Verify:
None
Change-Id: I34d05cfbef4b3fccbbb7c6b35fa613cda9b9cf36
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
tvin: vdin: add vdin afbce memory power ctrl [1/1]
PD#SWPL-3635
Problem:
Miss vdin afbce memory power ctrl.
Solution:
Add vdin afbce memory power ctrl.
Verify:
x301_tl1
Change-Id: I94946e3d16027083688735d68b9d023b6bc5c8bf
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
vdin: tl1: add viu loop back vpp path [1/1]
PD#SWPL-2676
Problem:
tl1 viu loop back error
Solution:
add viu loop back vpp path
Verify:
TL1 X301
Change-Id: I4069f6bbd6672d89bd93a0c8b275cfffc273c427
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix TXLX ATv channel switching crash [1/1]
PD#SWPL-3964
Problem:
ATv channel switching crash
Solution:
stop vdin, close afbc
need judge platform, there is not afbce on txlx
Verify:
verify by einstein
Change-Id: Ibcff1da47b9fdca7e1758b0d45e7d6800bfc8080
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
vdin: add vdin1 histgram [1/1]
PD#SWPL-3059
Problem:
vdin1 hisgram and screencap cannot be used simultaneously
Solution:
add vdin1 histgram,and make hist and screencap function to be compatible
Verify:
txlx r311
Change-Id: I759d1cdc69d59015ce845898990088eb6943cc41
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix system crash when dolby vision enable [1/1]
PD#SWPL-3353
Problem:
system crash when dolby vision enable
Solution:
32bit kernel,phy addr to virt interface is changed
Verify:
Verified on txlx R311
Change-Id: Ie012bdaf7f9dc24acf7a7e03f0db056ff31e578c
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix dolby vision memory free print error [1/1]
PD#SWPL-3353
Problem:
dolby vision memory free print error
Solution:
dolby vision memory has been free by vdin_cma_release,
don't free again.
Verify:
test pass on R311
Change-Id: Id7108cf17260430c53dff707e843ed7833c8ee7c
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: fix vdin histgram error on tl1 [1/1]
PD#TV-2263
Problem:
vdin histgram error on tl1
Solution:
tl1 use TVIN_PORT_VIU1_WB0_VPP
Verify:
verify on tl1
Change-Id: I225a85a1debee0e8c42f60751524661fc5c986bd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvin: vdin: add interface to get signalinfo [1/1]
PD#TV-2083
Problem:
TVIN_IOC_G_SIG_INFO not complete enough
Solution:
add interface to get signalinfo
Verify:
Verify on TL1
Change-Id: I32f198f14dfcc1f8a8ee1f19c4065bd7d4d5dccc
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
tvafe: optimize stable time on manual setting [1/1]
PD#SWPL-5052
Problem:
optimize swith channel time
Solution:
lower wait time on manual colorfmt setting
stable time optimized from 500ms -> 300ms
Verify:
x301
Change-Id: I7e7d711d1c3ab0630d41e933c53ce34d0025e860
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
vdin: fix snowflake bottom screen [1/1]
PD#SWPL-5129
Problem:
cut window need restore when nosignal
Solution:
restore cutwin when nosignal
Verify:
verified by r341
Change-Id: If18dbd18df11cce5d1ddb99ee266901b75b065b3
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
vlock: vlock for tl1 [1/1]
PD#SWPL-3129
Problem:
1.verify manual pll mode
2.modify vlock hiu register access api
3.add a new fsm for tl1 test
4.add chip match data
Solution:
add function for tl1
Verify:
verified on tl1
Change-Id: I75f8d2a40437056135f8dd0fb241016a9ea680df
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
vlock: screen flash after PAL NTSC swich [1/1]
PD#SWPL-4246
Problem:
the screen always flash after switch PAL to NTSC in AVin
Solution:
do not change pll M value, M value will case v by one fail
Verify:
verified on tl1 android p
Change-Id: Ib5ea8dfef1c40af5535e69fdc9241a7f77b4a7dd
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
vlock: add phase lock function [1/1]
PD#SWPL-3644
Problem:
new feature on tl1
Solution:
add function
Verify:
verified on tl1 android p
Change-Id: I964054512f59a98f03d20df11b8c63d6802744d5
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
vdin: optimize game mode for tl1 phase lock [1/1]
PD#SWPL-4788
Problem:
sometimes hdmi source display broken in game mode
Solution:
use phase lock for tl1 game mode ahead 2 frames,
and ahead 1 frame for previous chips.
Verify:
x301
Change-Id: I00df9125c9ea7869ed6e111ba99a8b755c914129
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
tvin: vdin: add vdin1 scaler preview for vdin0 preview [1/1]
PD#SWPL-4115
Problem:
vdin preview error when input 4K
Solution:
use vdin1 as double write function
Verify:
x301
Change-Id: I4ed15dd5c445ed3c38b4a2535be075210dcbdac7
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
vdin: fix vdin1 dest_cfmt for tl1 afbc preview support [1/1]
PD#SWPL-5971
Problem:
preview window color is green with 1080p & 4k hdmirx
Solution:
vdin1 dest_cfmt follow vdin0 for the software double write for preview
Verify:
x301
Change-Id: I2e45b5f838cddcac1ca1c4e6710a7cc1f45ae9b5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: add sm1 support [1/1]
PD#SWPL-6065
Problem:
need add vdin support for sm1
Solution:
add vdin support for sm1
Verify:
pxp
Change-Id: I55af5273607a88f4e5a2394de0acbb44811da8f9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: fixed the issue of mem mapping from vmap. [1/1]
PD#SWPL-6196
Problem:
the memory issue cause to kernel crash.
Solution:
1. add flush cache when the mem oper end.
2. unmap addr which from vmap in vdin driver.
Verify:
X301
Change-Id: Id6efe2b009fe64ad753d51eb06784bd4e66f5e87
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
vdin: sync vdin0 & vdin1 buffer for afbc mode to avoid garbage screen [1/1]
PD#SWPL-3431
Problem:
enter hdmi 4k port will flash garbage screen with afbc mode
Solution:
sync vdin0 & vdin1 buffer for afbc mode
Verify:
x301
Change-Id: I443a9be2ed619a5cd2b6229f15814d8b856c5535
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: config vdin mif/afbc path directly [1/1]
PD#SWPL-6277
Problem:
switch hdmi port maybe display green screen
Solution:
1.optimize vdin stop sequence, reduce afbc state polling interval,
and rest afbc to get a clean state
2.change vdin mif/afbc patch directly, not rdma method,
for vdin0/1 rdma are independent
Verify:
x301
Change-Id: I0ddf5d27dcfc0fd930eeb681f876c4c5e92e8d70
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: add vdin support for tm2 [1/1]
PD#SWPL-6701
Problem:
Need vdin supprt for sm2
Solution:
add vdin support for tm2
Verify:
test pass on tm2 ab311
Change-Id: I57d7b3014938011d18c5e168f18c78e4fa542fc7
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
tvafe: add av/atv/cvbs support for tm2 [1/1]
PD#:SWPL-6702
Problem:
tm2 bringup
Solution:
add av/atv/cvbs support for tm2
Verify:
tm2 T962E2
Change-Id: I1c7358cd17463843fbdd7a93c7416a22aaa2387c
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
vdin: ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]
PD#SWPL-6840
Problem:
hdmi port can't screencap
Solution:
ignore v4l2start/stop ioctl when vdin1 used for preview
Verify:
x301
Change-Id: I26e7b057177a0b7ed203c04bd3008c2a34793b4a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: support dynamic dest_cfmt changing [1/1]
PD#TV-4306
Problem:
vdin afbc will show green screen when hdmirx change dest_cfmt after stable
Solution:
dynamic config vdin afbc with cfmt
Verify:
x301
Change-Id: I404c47934f090222a2cdd7cf98b619826cd92cc7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: recycle garbage frame for afbc mode [1/1]
PD#TV-4335
Problem:
switch tvin signals will flash garbage screen
Solution:
recycle barbage frame for afbc mode
Verify:
x301
Change-Id: I17c13b5db7a506403aa5ac74568b7a9e16c075c0
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: disable afbce under 4k resolution [1/1]
PD#SWPL-7511
Problem:
no need enable vdin afbce under 4k,
it is no help for bandwidth with these resolution
Solution:
only enable vdin afbce for 4k resolution
Verify:
x301
Change-Id: I283efd872004846d158ef6c9addbd1e666d2f61a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: revert ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]
PD#SWPL-7324
Problem:
tvafe work abnormal when use vdin1 preview
Solution:
revert the previous commit for v4l2start/stop
Verify:
x301
This reverts commit
81c1e1449c5e7362dc263bea76e134ba8fd25265.
Change-Id: I8cdefececb8b01cb86426684a6c700bc9bf8b615
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: support afbc/non-afbc switch dynamically [1/1]
PD#SWPL-7512
Problem:
need switch vdin afbc/non-afbc mode sometime
Solution:
support afbc/non-afbc switch dynamically
Verify:
x301
Change-Id: I08433938f169a51ed1ed7a23fd99f3ba42e076fe
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
vdin: add afbce reg access protection [1/1]
PD#SWPL-7983
Problem:
txlx will crash when access afbce reg without afbce hw
Solution:
add afbce reg access protection
Verify:
r311
Change-Id: Iaabf8da9cb2a58e9c26626b9ac718bdf9c6a2ac3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
vdin: QD980 HDMI 4k 30Hz,change bit depth has green screen [1/1]
PD#SWPL-8184
Problem:
don't updated afbce output color format
Solution:
update afbce config according afbce support or not,
instead of afbce need or not.
Verify:
verified by t962x2_x301
Change-Id: I7885357c1e5b04b58b059401a5f66d2ee83c76ef
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
vdin: add new interface for passing dma-buf to vdin [1/1]
PD#TV-3863
Problem:
gpu cann't get vdin buf directly
Solution:
vdin write data to the addr passed by upper layer
Verify:
verified by t962x2_x301
Change-Id: I495b78c419e10a6dacb9b9f29c0f8e87339ac195
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
vdin: G12A color space error when capture screen by post blend [1/1]
PD#SWPL-8335
Problem:
color space setting error
Solution:
set yuv444 when use viu1 post blend port
Verify:
verified by t962x2_x301
Change-Id: Ic92a6db92f6cec64084d140c5f505489579b294f
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
vdin: add dolby mem release protection [1/1]
PD#SWPL-8797
Problem:
sometime oops occurred for vdin_dolby mem release
Solution:
add vdin dolby mem alloc flag & release protection
Verify:
x301
Change-Id: Iee90b58a0624c32032e204adcd043c8e94d03f1f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
cvbs: cvbsoutput support for tl1 [1/1]
PD#172587
Problem:
no cvbsoutput
Solution:
add cvbsoutput
Verify:
test pass on x301
Change-Id: I92f70d26e32f95de7c63ddbac9fe6664063c1902
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
tvafe: add control for tvconfig snow config [1/1]
PD#SWPL-5985
Problem:
display snow when snow config disabled
Solution:
add control for tvconfig snow config
Verify:
verify it on x301
Change-Id: I3466efc98577f2403f3a6cd638ad7dbf70ce34dc
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>