PD#SWPL-8127
Problem:
Set the maximum CPU freq to 1.8GHz and GPU freq to 850MHz
Solution:
Set the maximum CPU freq to 1.8GHz and GPU freq to 850MHz
Verify:
u223
Change-Id: I184da235469eca1f60842e3bf68ee897b1ea5307
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
PD#SWPL-8132
Problem:
In Jira TV-5143, final fix change have increased 128MB address space
for vmalloc. Because binder wasted too many vmalloc space but it's
hard to fix it in kernel side.
Due to incease of vmalloc address space, old design of address space
layout for KASAN32 is not suitable after this change. So we need to
change memory layout to fix this problem and let KASAN can running OK
again.
Solution:
1, rebuild address space layout for kasan
2, make kasan compatible with vmap stack config
Verify:
p212
Change-Id: I2ce8a840df0ce1fcda61ebeb14a64b1d609719ca
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-8134
Problem:
kernel NULL pointer for aml_resample_enable
Solution:
add lock for resampler
Verify:
Need stress test for x301
Change-Id: I1bbf5d7aeab681399c93f0cba9cc59195d3be0d6
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-7932
Problem:
sm1 play hdr video, color abnormal
Solution:
cgain coef1 set according to bitdepth
Verify:
verify on sm1
Change-Id: Ibef6e127dde57d47f9b9ec7a4233ee10fe8539d5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-8219
Problem:
not support lcd panel in ac202
Solution:
support lcd panel.
Verify:
verify by ac202.
Change-Id: Ib462a3536c21f0a55c0e0ff947f01c8f52ef3f13
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-5647
Problem:
tm2 does not support SWD mode.
Solution:
add code to support SWD mode.
Verify:
test pass on ab311
Change-Id: If85a050b5033242200dd7163a8391e71960621f0
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
PD#SWPL-6340
Problem:
ddp audio input from hdmiin is not smooth
Solution:
set hdmiin format-check threshold by input sr
Verify:
Verified by x301.
Change-Id: Idb8ffa616c3880b1c34d61ca4e8c2917343a9ffc
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-7952
Problem:
vdin0 cma_size is not enough for some board
Solution:
1.change hdmirx skip_vf_num to 1.
2.increase vdin0 cma_size to 200M for 4k YUV444 10bit support,
other resolution usage will be lower,
such as 4k YUV422 10bit 160M.
Verify:
ab301
Change-Id: I353e2f9e5e6a25c8c3a34e10813039e9bba7e4a6
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-7084
Problem:
hdmirx signal detection time is long
Solution:
Optimize the phy pll init logic
Verify:
TL1
Change-Id: Ibdfdb3a54d2a5cbdf4f6292b85616fdba36c37a9
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#OTT-2730
Problem:
1.BT open fail;
2.the problem is caused by Flow Control;
Solution:
1.set host cts pull-down as default on the dts.
Verify:
Galilei.
Change-Id: I42aa3bfa263d4330219268622bce94bfc24ced8a
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
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>
PD#TV-5021
Problem:
1.bt rcu cann't wakeup host when the system is in freeze mode;
2.There is no wake source in the bluetooth kernel.
3.current irqchip driver will complain "Unbalanced IRQ xx wake
disable" when gpio irq use as wakeup source, and can not wake device.
Solution:
1.add a gpio interrupt for bt in the bt kernel;
2.Wake up the interrupt;
3.Add a flag to skip undefined .irq_set_wake function in irqchip
driver.
Verify:
marconi.
Change-Id: Ic8d5525621e015a13fd765779f944cd1010144aa
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
PD#IPTV-2395
Problem:
osd last line have abnormal data
Solution:
set hdr size according osd blend0 out size
Verify:
Verfied on u212
Change-Id: Iad738b16fce066270c78213f1b696a802e1b8da6
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-8124
Problem:
There are too many trace info when enabled
Lack some important trace info
Solution:
Add tag to enable/disable trace info for different modules
Add more trace info
Verify:
P212
Change-Id: I9916b97071dc6b3a5e133bb0ea55eb9a9532cec8
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#OTT-2783
Problem:
when the second channel exit, the first channel will freeze
Solution:
pip not need set omx_secret_mode
Verify:
U212
Change-Id: I1f5f2624699ad29df06f67b288d16a15ab4edcf9
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-7469
Problem:
Sometime will lose msg. because of the isr src
number connected to timer.
Solution:
modify cecb irq src number to 203
Verify:
tm2-AB311
Change-Id: Ib14f230d2b228685a0f149a2b072f6ad1155615b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6427
Problem:
ALSA tdmout buffer frequently underrun.
This will cause the tdmout channel map error.
And the other channels data go into the spk.
Solution:
1)Adjust the sequence of starting and stopping.
2)reserved frddrA for EQ/DRC module
Verify:
Test more that 1 hour and pass.
Need more stress test.
Change-Id: Ib9b6897f0b6c32652c611a8c2c367aa76b9f1e3f
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
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>
PD#SWPL-3825
Problem:
VAD & PDM works in 24m clks for lowpower mode when in deep suspend
Solution:
support VAD & PDM in 24m sysclk, 768k dclk
Verify:
x301
Change-Id: Ic363337ee9b0eba0f890ae62b9e0cb6bb54dcd6a
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-7901
Problem:
the osd_detect params not reset when scene change
Solution:
reset the osd_detect params when scene change
Verify:
TL1-x301
Change-Id: Id39211f2864c399e3ec9afcb58f8a9bd95ec516c
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#SWPL-7775
Problem:
dtv video freeze when the stream is replayed
Solution:
when replay at pcrmaster, check the vpts and systime,
if the vpts > systime and the diff > margin,
then adjust the sysclk to make playback smooth.
Verify:
X301
Change-Id: Id1474db030e06fff6ce425a54562cfa4e02ceaa9
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
PD#TV-4664
Problem:
capture video only picture abnormal
Solution:
fix video only parameters
Verify:
T962X2-X301
Change-Id: I3b9d4fcdf1566f22e409264ba8bd82a85559c5cf
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-8155
Problem:
support el is disabled for default on 2.4.2 ko
Solution:
For mel video, set el flag to ko, to make support el
enable
Verify:
T962E2, Ves_L2DM_23976_3840x2160_10000kbps_hevc
_dvhe_dtr___dt.mp4 display normal
Change-Id: I6e92c012fedb460c373e6e4c0312542564b6ced3
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#TV-5393
Problem:
when pcr and vpts distance is far,
use the vpts as system time for
cache video to avoid video underrun
solution:
use vpts as system time for some
special ts stream
Verify:
x301
Change-Id: I2f151c526bb0113d4f0cf8bbd1a4772312857606
Signed-off-by: live.li <live.li@amlogic.com>
PD#SWPL-8032
Problem:
Switching to HDMI source is slower than T962
Solution:
ensure pll lock is table before do DWC reset
Verify:
T962X2
Change-Id: I1133d6b1fb532ab8460c1906a021fe133ea9fb83
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-8050
Problem:
current driver does not support rca ir protocol
Solution:
add register setting and code for rca use REMOTE_RYPE_RCA to configure.
Verify:
G12b_W400 & tl1 x301
Change-Id: I76d860d66a43071803fb60debeafcbf18f42b283
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#TV-5143
Problem:
Kernel use dynamic vmalloc for binder. It have data sync problems
and will cause bad object when binder transaction.
Solution:
1. Revert dynamic vmalloc for binder.
2. Increase 128MB size for vmalloc
Verify:
P212
Change-Id: I20198b18d171fde0314868af394a6881979b3605
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-7837
Problem:
enable autosuspend function for tm2
Solution:
enable autosuspend function for tm2
Verify:
enable autosuspend function for tm2
Change-Id: I7e4c5015979bfc34de61bbbe551a3ebd7bfd11a4
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-7421
Problem:
ge2d not support multi plane fd
Solution:
add ge2d multi plane fd support
Verify:
Verfied on G12B-W400
Change-Id: Ia8a529833d5c53a70eaa2094f8110635e4f184c1
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-7421
Problem:
gdc output not support multi plane fd
Solution:
add gdc multi plane fd support
Verify:
Verfied on G12B-W400
Change-Id: I898c027f068f92af5101fe65487baf1dfbec7c35
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#TV-5024
Problem:
afbc decode error when loop viu1 to vdin.
Solution:
set osd hold line to max if vinfo is dummy_panel
Verify:
Tl1 X301
Change-Id: I0ebb312d381accb1890233164f071a095310d2f1
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-7855
Problem:
pcie A does not work when enable alone
---hcsl_r_exen[bit29]---pcie A gate [bit3]
|
---pcie B gate [bit28]
bit29/bit28: HHI_PCIE0_PLL_CNTL1
bit3: HHI_PCIE0_PLL_CNTL5
clk core will disable unused clock, So
CLK_IGNORE_UNUSED flag is necessary for
the three gates to avoid closing.
Solution:
add CLK_IGNORE_UNUSED flag for pcie gates
Verify:
test passed on tm2 ab31
Change-Id: I1121c75ab8fb847ec2ba1f7a0975619b36b0938e
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-7973
Problem:
upgrade failed, because can not found dts.
Solution:
change dts-id
Verify:
verify by u202
Change-Id: I9cfd85ebfda1bff60abc78bd09355f977f25f4bf
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-7973
Problem:
s905d2 panel need new projects config.
Solution:
copy dts config from u200
Verify:
no need verify
Change-Id: I37a884ae951b8c6ede7adb065239ce59dca25c3a
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-7960
Problem:
There is no min ddr bandwidth data
Solution:
Add this value in sysfs
Verify:
p212
Change-Id: I9d90476d30c0ca7789046d8d205f0802de2b4acf
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#TV-3260
Problem:
Since the Super scaler on txlx has the latch function
and can not disable it. So need adjust the super scaler
on/off operation flow.
Solution:
write the enable bit of sr core0 directly, not rdma write.
Verify:
r311, verify pass
Change-Id: If1b27205cbb1c49dd6a3ad65a08e2ca1e3f04b62
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
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>
PD#SWPL-5661, PD#SWPL-5659
Problem:
1.add gain register to control the L and R channel audio gain.
2.add atv interrupt for signal lock and unlock.
Solution:
1.add gain register to control the L and R channel audio gain.
2.add atv interrupt for signal lock and unlock.
Verify:
verified by ab301 and ab311.
Change-Id: I8a7cbe538939dd9418e27165d4c83a8f473f119b
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>