PD#SWPL-26044
Problem:
secure memory is not enabled
Solution:
add support for secure memory
Verify:
ac214
Change-Id: If93577beba551b4495cd4eaa72c46e8dee8f866f
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-25894
Problem:
GE2D Support color space convert
Solution:
add this support
Verify:
w400
Change-Id: I0d47c3bb7734fcc6246d7e01cf8b6902ff2a5c15
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-17634
Problem:
add power domain control
Solution:
add power domain control
Verify:
T962E2 AB319
Change-Id: I1c0f8eef091a57b924c0cb431eb82c290ff56d35
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-27213
Problem:
need different lcd init_level policy
Solution:
support more init_level
Verify:
x301
Change-Id: I28d39d50066494fc0aed640fe3c93986f6fd394e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-17480
Problem:
sometime there need shift a little for frac
Solution:
add clk frac shift support
Verify:
x301
Change-Id: I937cca1b07f20d95144d1b85addc2cac775d1aac
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-28030
Problem:
there is risk when trying to destroy
the context being processed.
Solution:
add mutex to avoid the risk
Verify:
SM1
Change-Id: I6b85b4eb54f3b185613f37e5f83ef54663ddb01f
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-19410
Problem:
Connect with Hisense HZ55A65 TV, It will lost resolution
Solution:
Modify the code using read edid
Verify:
verify on the board of U212
Change-Id: Iaa2692508db6bcde07578e027e23bbf52399b25c
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-22126
Problem:
powergate and mempd not optimized for g12 and tm2
Solution:
fix mempd in vpu and optimize power for dv
Verify:
ab311 and ac213
Change-Id: I204c03acbbc532793d0891631ae9dd132175a5c9
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-21381
Problem:
not support DoVi hdmi input for Source 2.4.2
Solution:
add hdmi in DoVi(Source/Sink-LED) support for Source 2.4.2
Verify:
ab311
Change-Id: Ica11b8bfdb1c108131cfdd04c688e4de392fceca
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-19839
Problem:
Dolby Vision support using EMP transfer metadata and vsif
Solution:
Add code used to EMP transfer metadata and vsif
Verify:
verify on the board of U212
Change-Id: I8720327781a913a83ccbe0511ccf3e5db46ce0e7
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-16910
Problem:
Need keeping authenticated status during suspend
Solution:
Add a workround to keep status
Disable the NULL packet
Verify:
G12/SM1/TM2
Change-Id: I2f08c086a4289de9f988425bc5ad9deb740c4db4
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-18367
Problem:
amcsc used the wrong chip_id function from dolby vision driver,
but at the time, the dv driver maybe did not probe. So got the
wrong chip id state.
Solution:
Using the common chip id function.
Verify:
Verifed by u212
Change-Id: If27e861a2c8d8a586448f33cbaa70a81cbe2370f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-20074
Problem:
When the variable hdr_priority is true, the original 'dv_cap'
will be masked, and systemcontrol can't get the value under
'HDR Priority/HDR10'.
Solution:
Add the sysfs 'dv_cap2' no matter what's the 'hdr_priority'.
Verify:
G12
Change-Id: Ia45e4016c1ce4fa17e5102509195afda95a20804
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-20095
Problem:
1.optimize the loading of demod and tuner.
Solution:
1.optimize the loading of demod and tuner.
2.DVB uniformly calls the attach interface to load demod or tuner.
3.Demod and Tuner internal structure is independent of DVB structure.
4.All demod and tuner configuration parameters are passed on attach.
Verify:
Verified by x301 and ac214.
Change-Id: If5f485cebeadb7ec54cf5b10ef1424065c13b388
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-19062
Problem:
Please add the debug info of hdmitx
Solution:
add the debug info of hdmitx
Verify:
verify on the board of U212
Change-Id: Ib6ce0ec6f9388e102b7d31b645a2d6d105058178
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
This patch is to handle a SoC builtin or or an external USB controller by
the function 'odroid_amlogic_usb3()' where returns true for SoC builtin USB
controller and false for another one.
Change-Id: I13055dc87378175205ddb019c97d57db9d2e3d98
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
PD#SWPL-17427
Problem:
when turn off dv vmode set to null, not vsync interrupt,
cause csc fail to monitor cap change
Solution:
csc add monitor for VOUT_EVENT_MODE_CHANGE
Verify:
Verify on u212
Change-Id: I072dcc75a62888abe403c574f2ecd8e796fa3e00
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-18116
Problem:
Under keeping frame case, dv toggle frame with wrong
mode, it may cause non-dv effect .
Solution:
Improve the toggle flow , pass the correct mode into
dv driver. Then using the last meta data
Verify:
Verified on u212
Change-Id: I456bb16e16810c166aba23d07a3296595032861e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-17476
Problem:
After kernel boots up, there will no edid info for vinfo
Solution:
Need update edid attach after reading once
In kernel init, hdmitx / vout / edid with attach once time
Normal replug, plugin / edid / uevent / mode setting / attach
Also, init DRM_DB[0] data.
Verify:
G12/U212
Change-Id: I188f0972c882a17efcbc568ef7d0db861b9b6c0a
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-16484
Problem:
The DTVkit code is merged into the openlinux branch
Solution:
The DTVkit code is merged into the openlinux branch
Verify:
verify by newton
Change-Id: If7348733893f0518e68bd7d74593a78b510b88e2
Signed-off-by: zhiyuan.zhu <zhiyuan.zhu@amlogic.com>
PD#SWPL-16484
Problem:
The DTVkit code is merged into the November branch
Solution:
The DTVkit code is merged into the November branch
Verify:
verify by newton
Change-Id: If9b10321078083fc9dc402175c73bd2d79225029
Signed-off-by: zhiyuan.zhu <zhiyuan.zhu@amlogic.com>
PD#SWPL-11210
Problem:
stream mode set vpts in check in pts
Solution:
tunnel mode do not set first vpts for stream mode
Verify:
verify by u212
Change-Id: Ic369b83411051a819eb65ad5d1585e26e0342f3f
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#OTT-5603
Problem:
Configurate GPIO_AO 9 as mclk_0,it doesn't work.
Solution:
From SM1, the mclk pad register is changed.
Using standard clk tree to make it compitable.
Verify:
TM2, SM1.
Change-Id: I8d53296297536c90768495232570f33fc89db131
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Adding new kernel command line "enable_wol=<1|0>" will configure the WOL
features on next power off.
Change-Id: I4830aeb1651e90d4699887199000def1163fb6db
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 22d698f4d2)
PD#SWPL-9350
Problem:
ppmgr does not support 10bit to cause a rotating screen.
Solution:
add vdin support 10bit.
Verify:
on U212
Change-Id: Idbe90f7e351edbc12e0e2d905f06e0cdd18da148
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#TV-9856
Problem:
need change display driver for cool boot to enter
kernel stage freeze mode
Solution:
add lcd_panel_ctrl to control lcd display
Verify:
t962x2-x301
Change-Id: I8b58ab0a0f87c49791af7dddf7b05db37f7ad716
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-4097
Problem:
add lcd_ctrl bootargs for lcd driver control
Solution:
add lcd_ctrl bootargs for lcd driver advance control
and debug function in kernel
Verify:
verify by t962x2-r311
Change-Id: I4d741eef42505e259b54cd4f00e395d09edf7604
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
PD#SWPL-10095
Problem:
command delay may too close to the command edge
Solution:
rescan cmd delay windows and find cmd delay value
after data alignment
Verify:
passed on g12b
Change-Id: I258e93aa87e35c843c45f62c58af3609bebe0901
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#TV-3042
Problem:
3D function did not support afbc format before
Solution:
Add the support case which format is afbc.
Verify:
x301
Change-Id: I38189bfa78eec6ac811fb81631514d7d7b8b3d62
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
b8d9145 vpp: add interface to force non-afbc path [1/1]
c807fc4 vpp: tm2: add vd2 function for tm2 [2/2]
eea348a vpp: tm2: add vpp and sr support [1/2]
f08c28c video: Some interlace stream will stuck when pts rebound [1/1]
53b2624 amlvideo: reset video_inuse when amlvideo stop [1/1]
17cdaf3 amvideo: set black_threshold_height default 48 [1/1]
1cd025d vpp: set default aspect when the ratecontrol is zero [1/1]
58a2e8f vpp: Modify vframe epoll event [1/1]
94b0dc8 vpp: Modify vframe epoll event [1/1]
e98d6d3 video: enable pts calculation when hold video state changes [1/1]
43d30c4 vpp: add histgram test interface for vpp slt test [1/1]
2677784 amvecm: optimize amvecm update in vsync [1/1]
af78b0f vpp: increase the afbc burst len as 4 for txlx [1/1]
1ace6fc vpp: hold the vpp setting when meet the non-dw afbc frame [1/1]
e8a3758 vpp: 3d: disable crop when 3d playback or hdmi in [1/1]
4e6774d vpp: add black_threshold to disable video when window is too small[1/1]
3ae164f vpp: including crop info when AFBC switch to normal frame [1/1]
c67657f vpp: add the pic_mode backup to check difference [1/1]
33b1aee video: timming gets error when switching channels [1/1]
233779e vpp: add log switch in vpp_set_filters [1/1]
b00582b vpp: config the vd1 canvas1 correctly when 3D enabled [1/1]
607bc19 vpp: support 3D with afbc format [1/1]
vpp: config the vd1 canvas1 correctly when 3D enabled [1/1]
PD#TV-3086
Problem:
3D display abnormal. The vd1 canvas1 was incorrect.
Solution:
When enabled 3D function, config vd1 canvas1 correctly
Verify:
x301
Change-Id: I201cda2f33badf1af54ab4f177a17f761c7cea8d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
vpp: add log switch in vpp_set_filters [1/1]
PD#SWPL-5942
Problem:
Too many log when DI process called the vpp_set_filters with AFBC.
Solution:
Add log switch to disable it.
Verify:
verified on X301
Change-Id: I34c8573bed78e49d27ec386279e929e617bf76d5
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
video: timming gets error when switching channels [1/1]
PD#TV-3062
Problem:
When switching channels, Hisense platform needs hold video,
and the timming obtained at this time is wrong
Solution:
because we have add hold video function, so get width and
height interface give the last video frame width and height,
and so on change the video
Verify:
X301
Change-Id: I331a4589dcb5f5785dce7eea6d8cd03c92d733d2
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
vpp: add the pic_mode backup to check difference [1/1]
PD#TV-2929
Problem:
The pic_mode in cur_dispbuf was changed but not be detected.
Solution:
Add global pic_mode variable to check if the pic_mode in cur_dispbuf
is changed. If so, force vpp_set_filters.
Verify:
verified on x301
Change-Id: I5b95f512ad0823b031989f05526f114694887f2b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
vpp: including crop info when AFBC switch to normal frame [1/1]
PD#SWPL-6347
Problem:
When AFBC switch to normal frame, excluding the crop information, the pps
parameters are calculated with wrong input size.
Solution:
1.Add the crop information, when afbc swicth to normal frame.
2.check ratio of compress_width/width, sync to crop value
Verify:
verified on x301
Change-Id: Ib943f8a11263ce577952e589bc172d8b7bafd954
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
vpp: add black_threshold to disable video when window is too small [1/1]
PD#TV-3641
Problem:
Add new interface to disable video when window is too small
Solution:
Add the black_threshold interface to control the threshold size.
And set the default value is width=20, height=30.
Verify:
verified by x301
Change-Id: Ifeb376c2e2edbb5706b2cdc2d08421bd0086b01e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
vpp: 3d: disable crop when 3d playback or hdmi in [1/1]
PD#TV-3962
Problem:
3D mode does not support crop function
Solution:
Remove crop when 3D display.
Verify:
Verified on x301
Change-Id: Id35dd662886be24e3ec78d070e3a70f513f89b16
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
vpp: hold the vpp setting when meet the non-dw afbc frame [1/1]
PD#SWPL-7513
Problem:
When meet the non-dw afbc frame, vpp can not display with
scaling down as expected.
Solution:
Hold the current vpp setting and wait provider to switch
non-afbc.
Verify:
x301
Change-Id: I3c0e678d2da42376f3a77e334b8c5ce48460273b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
vpp: increase the afbc burst len as 4 for txlx [1/1]
PD#TV-3132
Problem:
When playing 4K afbc and scaling down to small window,
the vskip is 1 and DDR freq is also lower, the display will
flicker caused by DDR bandwidth issue.
Solution:
Increase the afbc mif burst len from 2 to 4. And enable
the dmc adjustment in that case.
Verify:
r311, verify pass
Change-Id: Ia431a93f6083fd584b7e2eb14f777c5a5e7c20e7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
amvecm: optimize amvecm update in vsync [1/1]
PD#SWPL-6475
Problem:
hdmi input signal, video flicker
Solution:
optimize amvecm update in vsync
Verify:
verify on TL1
Change-Id: I3379333053fc52b8a33747ca83b1d6d68ea874ab
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
vpp: add histgram test interface for vpp slt test [1/1]
PD#GH-31
Problem:
Need pattern to filter the error vpp modules in SLT test
Solution:
Using clipping and histgram function to create the test pattern
and get the histgram data.
Verify:
verified on w400
Change-Id: I52680c96f568980f71ac8c27c4b66352fea96651
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
video: enable pts calculation when hold video state changes [1/1]
PD#TV-3999
Problem:
dtmb individual channel switching speed is slow,
it takes about 16s
Solution:
enable pts calculation when hold video
state changes.
Verify:
X301
Change-Id: I4c8eda3af3df894d8116461abf63c3dda45c8ce3
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
vpp: Modify vframe epoll event [1/1]
PD#SWPL-8850
Problem:
too many print when channel change.
Solution:
Modify vframe epoll event flow to avoid same event.
Verify:
verify on marconi.
Change-Id: Id709439f24d3cad82df6082c477cacce1a9b9cc7
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
vpp: Modify vframe epoll event [1/1]
PD#SWPL-8850
Problem:
too many print when channel change.
Solution:
Modify vframe epoll event flow to avoid same event.
Verify:
verify on marconi.
Change-Id: Iefbd190c0280276bf941c48bf99706a0f2573df1
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
vpp: set default aspect when the ratecontrol is zero [1/1]
PD#TV-5266
Problem:
Vpp used the wrong aspect ratio in 3D, screen mode = normal
and aspect ratio is 0 in ratecontrol variable.
Solution:
When the aspect ratio is 0, set the default value as
(height << 8) / width
Verify:
Verified by x301
Change-Id: I34f7cd3ce5ed1818d3090ebb4be934225038625e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
amvideo: set black_threshold_height default 48 [1/1]
PD#OTT-1836
Problem:
disable video when window is too small
Solution:
set black_threshold_height default 48
Verify:
U212
Change-Id: I9ed7deb54baef1c44bb9cc0c1a4d699140663864
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
amlvideo: reset video_inuse when amlvideo stop [1/1]
PD#TV-6189
Problem:
video_inuse always is 1 when codec server crash
Solution:
reset video_inuse when amlvideo stop
Verify:
TL1
Change-Id: I5b1b808668e3b2fb78781a4ea1ccbaefc3507d2b
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
video: Some interlace stream will stuck when pts rebound [1/1]
PD#TV-6236
Problem:
Some interlace stream di has buffer count more than 16
If video pts rebound in this stream. The condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16) is
not true. So this frame can not toggle always.
Solution:
Delete this condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16)
Verify:
verify TL1
Change-Id: I7e8c12ec72d086b0516f7c7490b492e16e36e8fe
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
vpp: tm2: add vpp and sr support [1/2]
PD#SWPL-6615
Problem:
Need vpp and sr supprt for sm2
Solution:
add support for tm2
Verify:
test pass on tm2 skt
Change-Id: I0ae2cb178fcbe047cdfec6b4e200424178993e6e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
vpp: tm2: add vd2 function for tm2 [2/2]
PD#SWPL-6615
Problem:
Need vd2 function
Solution:
add vd2 function for tm2:
1.vd2 pps scaler
2.disable vd2 afbc
Verify:
test pass on tm2 skt
Change-Id: I7af5de741b90e443ee065218aecb823ef06d66a7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
vpp: add interface to force non-afbc path [1/1]
PD#SWPL-7035
Problem:
When DI switched to use VD AFBC, need vpp force to non-afbc first.
Otherwise, display willl flash.
Solution:
Provide new interface to request the vpp release afbc hardware first.
Then return the current afbc status.
Verify:
verified on x301
Change-Id: Ibb2b897db7d2f2c40006433d63709988992c84f1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-5314
Problem:
1. add a dummy vframe flag VFRAME_FLAG_EMPTY_FRAME_V4L.
2. add the FRAME_BASE_PATH_V4L_* for v4l2 display
3. recycle vframes when the isr recevie the empty vframe.
Solution:
1. fixed some issues for the v4l2 decode.
2. add pause and resume for v4l2 m2m job.
Verify:
todo
Change-Id: I00b44ad4d3a75f7e2167ca347562d002c2690430
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-10167
Problem:
Apk drop several frames at beginning, but
dolby frames are not consumed, decoder has
no idle buffers.
Solution:
Ignore drop for dual layer dolby video
Verify:
verified on u212
Change-Id: I732d82e71c190c62a14c05accea44b4c55d04239
Signed-off-by: yao liu <yao.liu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-6028
Problem:
enable ftrce in ramoops for new tm2 dtbs
Solution:
enable ftrce in ramoops for new tm2 dtbs
Verify:
verified ok
Change-Id: Ia7ee3b11784a69ef7d6b7671f9ad75c14ae477f7
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
debug: improve ftrace_ramoops for io trace [2/2]
PD#SWPL-6028
Problem:
improve ftrace_ramoops to debug bus hang
Solution:
1. in uboot
setenv initargs $initargs ramoops_io_en=1 loglevel=3;save;reset
2. in linux command line:
cat /sys/module/kernel/parameters/ramoops_io_en
to check if success.
3. after watchdog reboot, get trace data with:
cat /sys/fs/pstore/ftrace-ramoops-0
Verify:
TL1 x301
Change-Id: If1a2582b40a3ded31eedef5355eb0b8a5bf495c3
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
debug: save irqflag locally when ftrace_ramoops io [1/1]
PD#SWPL-6028
Problem:
save irqflag locally when ftrace_ramoops io
Solution:
save irqflag locally when ftrace_ramoops io
Verify:
TL1 x301
Change-Id: I6df9700cceaccc97dc983d88ada73197a6968f73
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
debug: do not print old_size when ftrace_size is 0 [1/1]
PD#SWPL-6028
Problem:
do not print old_size when ftrace_size is 0
Solution:
do not print old_size when ftrace_size is 0
Verify:
TL1 x301
Change-Id: I00a71c83fede14a2606c5e7eea5d8c4fdaeb5553
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
dts: change ftrace-size. [1/1]
PD#SWPL-6028
Problem:
add ftrace-size.
Solution:
add ftrace-size.
Verify:
no.
Change-Id: I42d34edf665632dfe29d04df192964238b8e3df8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>