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>
PD#OTT-3314
Problem:
there is a invalid codec_mm pointer. which may cause crash
Solution:
add valid check before codec_mm release
Verify:
X301
Change-Id: Ie9b31f1a830e949a27cc58468cced8a9e4268808
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-7680
Problem:
mdelay will pend the system
Solution:
change mdelay to usleep_range
Verify:
HW verify
Change-Id: I8452dc7b1056378dbc6b743fc43316eccbf525a5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-7778
Problem:
set tm2 vpp gain offset to 13bit
Solution:
set tm2 vpp gain offset to 13bit
Verify:
T962E2
Change-Id: I54ae9566050baeb73b7b1c94f87a3c43c76a2c62
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#SWPL-7092
This reverts commit 68c4a4f8ab, with
various conflict clean-ups.
With the default root directory mode set to 0750 now, the capability
check was redundant.
Change-Id: If978c34cef8345b0ba67a038eed7d54d4f1423d6
Suggested-by: Nick Kralevich <nnk@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
PD#SWPL-7680
Problem:
the pwn signal is self excitable
Solution:
1)add 10ms delay before pdn enable
2)set default clk for extern codec
Verify:
HW verify
Change-Id: I031b20851ee1eeb65215075fc8abe783ceddf42b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-7798
Problem:
Crashed when audio resample setting params
are invalid.
Solution:
Add check method if the params is invalid.
Verify:
Tl1.
Change-Id: I1e0396be8d401c0a49ff0de9fd7f160f0c8133ca
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-7452
Problem:
TV is no signal when turn off and turn on dishNXT box
Solution:
clear hdcp avmute status if hdcp is not start
Verify:
962X
Change-Id: I0448e46baea4f8666b2b665f6c867fecb41fb7d0
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-7778
Problem:
black sreen when connecting dv TV
Solution:
close post matrix
open tm2 dv flag
Verify:
T962E2
Change-Id: I828b32d7bf2ef35c3f236ad9bf15964272d06dd2
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#OTT-3006
Problem:
The width and height of DOLBY_CORE2A reg are reversed
Solution:
Setting right width and height for DOLBY_CORE2A
Verify:
raven
Change-Id: I89d1a99d00122179bb35b5853a869819e5d62ac9
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-5404
Problem:
run hs400 200M on sm1
Solution:
config sm1 and modify dts
Verify:
passed on ac200
Change-Id: I34e54f88db79ce42f9effbf8d673ade613de328f
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-6398
Problem:
need open key_valid
Solution:
1,change panel.dtsi to open key_valid
Verify:
t962x3_ab301
t962x3_ab309
Change-Id: I6b0fa40efab9a50802d8391b9bb56101e471e8e5
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-6980
Problem:
memory bound tasks running in a high freq cluster will get a low performance
when another cluster freq is too low.
Solution:
We boost big cluster freq for a appropriate duration when we detect that
little cluster have lasting a period with highest freq.
Verify:
w400
Change-Id: Ic513604cb329992782c9c2e1d71273080e2e336a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-7166
Problem:
suspend resume test failed
Solution:
cancel work queue first
Verify:
verify on u200 board
Change-Id: Ibd1a9587a32edf5583db564d2efe0ff0279d4d10
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-7852
Problem:
android.security.sts.Poc16_11#testPocCVE_2016_6753 fail
Solution:
do not expose kernel addr info via cgroup_css_links_read
Verify:
U200
Change-Id: I74e4904e8b662db9d6589a1926c62c87e12d6f6f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
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>
PD#SWPL-7855
Problem:
pcie A does not equal 100M when enable alone,
enable pcie A and B together works well.
Solution:
correct pcie A and B clock describetion
Verify:
test passed on tm2 ab3100
Change-Id: I9483efe00cc157c3ff5a9ff4d3a03e0dc50e4fdc
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-7676
Problem:
If we open kasan on 32bit kernel, after resume we usually will
get a stack-out-of-bounds KASAN error report. But infact that's
a fake report. Because On arm architecture, cpu suspend/resume
routine is done in function call path:
cpu_suspend -> psci_cpu_suspend -> __invoke_psci_fn_smc
during this call path, some parts of stack will be marked as
shadow memory. But when cpu resume from smc call, it directly
return to point which saved in cpu_suspend and call resume
procedure. Which do not comeback as a reverse return path:
__invoke_psci_fn_smc -> psci_cpu_suspend -> cpu_suspend
So some residual shadow memory may affect KASAN report when
cpu is calling resume hooks.
Solution:
We just need to clear all shadow in stack for this case.
Verify:
p212
Change-Id: Ic6c877212240d03902b11184e54ac363455e0094
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-2842
Problem:
when set dsu clock, it will hang up
Solution:
1.add dsu clock notify, when set rate of
dsu_fixed_sel0 clock, dsu parent should switch to
dsu_fixed_sel1 to avoid hang up.
Verify:
verify on t962x2_x301
Change-Id: I55e7a61cfb12b973f423312892700f2d08e75cbd
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-7728
Problem:
bandwidth measure on tm2 is not enabled
Solution:
Adding port description of ddr controller for tm2
Also enable dmc monitor function for tm2
Verify:
AB301
Change-Id: I0127ac04fe29723669525f6ff1161e2fa35d69ca
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-7765
Problem:
g12b revb efuse not correct
Solution:
set tx_amp with chipid to work around
Verify:
verify on g12b skt board
Change-Id: Id1babce231d866293e4de52685834834a4b65227
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#TV-4365
Problem:
USB keyboard not recognized after reboot repeatedly.
Solution:
Reset the reset_FS_LS_Clock_Divider bit of the usb phy.
Verify:
tl1
Change-Id: I0f4bf35be04d3aff1094bf55641348ccaca072e4
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-6400
Problem:
hdmirx phy clk_out is not stable,and causes long detection time
Solution:
VLSI provide a new PLL init sequence
Verify:
TL1
Change-Id: I42b98572226aafc8e61e36b6a2e5dfad078fd8fe
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#OTT-2650
Problem:
Play local video, when source window size change,
flashing occur. about two frame is not right
Solution:
There have a bug when source window size change, current
frame width was copied to post ready frame. so every
frame backup width saved in to current frame private buffer.
Verify:
TL1
Change-Id: I1b82dcfcfaeffaad6b28a7871014e12f0d157004
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6762
Problem:
di clkb frq is not right
Solution:
change from 500 to 667
Verify:
tl1
Change-Id: I9242fec37f7527203d1d00cbcdfb79c4f09e9595
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5664
Problem:
pcr not paused when netflix video non-tunnel mode pause
Solution:
do not compensation when diff between omxpts and pcr too large
Because when paused, continous compensation will lead diff
beween omxpts and pcr will alway inside pcr adjust threshold,
and pcr not set again, then pcr will increase
Verify:
verify by nts
Change-Id: Ib2acea35758d161d1e9db53dd6ff369ba7973351
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-7051
Problem:
reduce power consumption
Solution:
add control of clk
Verify:
Verified on g12b-w400
Change-Id: I8001db369f5e0146459cdbad262017581116a0b9
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-7711
Problem:
echo l > /proc/sysrq-trigger leading to kernel crash and
lockup
Solution:
temporarily disable showing stacks of active CPUs
Verify:
U200
Change-Id: Id7f19425d754d9249b3999189dd257f8b30bae2d
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#TV-5140
Problem:
when play some ts stream , the video will hold all the time
Solution:
when the pcr is invalid ,use apts or vpts as system
time and enable the system time up funciton
Verify:
x301
Change-Id: Iec01434ab305be1ea32e03549edd8521a8c4620d
Signed-off-by: live.li <live.li@amlogic.com>
PD#SWPL-7720
Problem:
There is no audio output on HDMI on RDK platforms
Solution:
Include samesource_srcpll to g12a_s905x2_u212_drm_buildroot.dts as
g12a_s905x2_u212_buildroot.dts
Verify:
RDK/u212
Change-Id: I663aaca2e77a3a555be7d1baea28530886c50464
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-5618
Problem:
Need to optimize the arbitration between hdcp22 and EMP
Solution:
Add the arbitration between hdcp22 and EMP
Verify:
TM2/T962E2/AB311
Change-Id: Ib910ac40754e744e36ee1349de5b2c55e2a011eb
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-7656
Problem:
crash when there is cpu boot fail in hmp
Solution:
fix crash when there is cpu boot fail in hmp
Verify:
W400
Change-Id: I0153975593adb0bfcbc3c3bd6543f0fb2e6bf2e0
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-4130
Problem:
No ir learning function in current source code
Solution:
Provide two ways to use ir learning function
1. sysfs
/*start learning*/
echo 1 > /sys/class/remote/amremote/ir_learnning
/*get data*/
cat /sys/class/remote/amremote/learned_pulse
/*stop learning*/
echo 0 > /sys/class/remote/amremote/ir_learnning
2. ioctl
/*start/stop learnning 1/0*/
REMOTE_IOC_SET_IR_LEARING
/*get raw data*/
REMOTE_IOC_GET_RAW_DATA
Verify:
U200 and W400
Change-Id: Ibb03838402d9baa6e910b3162ffcc63b57048890
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-7181
Problem:
switch to high-speed from hs200 failed for resume process.
Solution:
set tx_delay as 0 for legacy mode.
clear cfg_cmd_setup
Verify:
verify by TL1
Change-Id: I5dbb1bbc391da864464bf137837a2b0f54ccda42
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#SWPL-7570
Problem:
there's frequent interrupt when suspend, and can't
enter suspend successfully
Solution:
disable interrupt when suspend/shutdown
Verify:
x301
Change-Id: Iad13159da8cf0d48c6374c17df957c26aa177024
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>