PD#SWPL-10860
Problem:
s912 need to support adb.
Solution:
update dts
Verify:
verify by hertz
Change-Id: I085a0442d229d13d02b963c948d390920aea3dd0
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-7864
Problem:
the red and blue areas of the fourth frequency band
are missing color serious
Solution:
debug by VLSI(yanling), add cue init setting;
Verify:
S905X3
Change-Id: Idc8e5e811e0f2a8195cc70ebb8df0af8f080b174
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-9815
Problem:
One T312-T962X3 project need use the dirspi_xxx interfaces to
communicate with a extern mcu(spi device).
Solution:
config dts to use spicc amlogic-driver to support dirspi_xxx
Verify:
T312
Change-Id: Icad0e516b5d694b86350fec1e9322170e84d9c8f
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#OTT-4875
Problem:
missing return value check for kstrtoint
Solution:
add this check for kstrtoint
Verify:
verified on g12b-w400
Change-Id: I0515b4b445c78d950201df6547e83578cac32d16
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#TV-7022
Problem:
A null pointer causes panic.
Solution:
Add a judgment on the null pointer in the
amlvideo2_stop_thread function.
Verify:
on x301
Change-Id: Ic2cb9476fa97e27fe8b1160d74330d1ba7bc93a8
Signed-off-by: renjiang.han <renjiang.han@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>
PD#SWPL-5522
Problem:
S912 display S912 Android P support for osd
Solution:
add memory-region for gxm logo
Verify:
verified on gxm-q201
Change-Id: If4efec47f939a944530ef1dc0f7a3b8abf245a47
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-10079
Problem:
use-after-free issue
driver_data is relesed on shutdown, it is used in kthread_di
this thread is not stopped, will return if driver_data is NULL
Solution:
set driver_data to NULL on shutdown release
Verify:
verified on TL1-X301
Change-Id: I64fd1e39e6cedcc801d4d451eb1a56ca2ccc3364
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD# SWPL-9328
Problem:
memory is 1G,the sound was intermittent
when hdmi play music of non-48k sampling rate
Solution:
set resample module src
Verify:
test ok using x301
Change-Id: I2245161a58a014b9dfbf0324799f5e8bd4acd184
Signed-off-by: nengqin.zhu <nengqin.zhu@amlogic.com>
PD#SWPL-9589
Problem:
shift preset length of vid pll div is wrong
Solution:
modify shift preset length of vid pll div
Verify:
gxl-p281
Change-Id: Iac897db9d9a36e26df40e8c1ed303e02bddeb92f
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#TV-7043
Problem:
too much kernel log cause system hang up
Solution:
protect the log by debug flag
Verify:
verify by marconi
Change-Id: I7cb2cdf5e3bee92e136d948a974d9a1240609867
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
PD#SWPL-9659
Problem:
some file not have License
Solution:
delete unuse file and add License
Verify:
verify by einstein
Change-Id: Ia0a4eb82bc100129f71c7c88d0a403b482449314
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
PD#SWPL-6068
Problem:
ceca isr cost long time, and delayed vdin vs.
Solution:
move function to tasklet
Verify:
txlx
Change-Id: I861dd2ba145a64a88ad126abc00944d2358914c8
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-7161
Problem:
dead lock between flush work and ipa
Solution:
fix dead lock between flush work and ipa
Verify:
TL1
Change-Id: I479869601c0816bbaeaa693a26bf606b6a168da0
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-9636
Problem:
upper layer get signal type is too late,cause screen flash
Solution:
report signal type to upper layer directly in vdin module
Verify:
verified by t962x2_x301
Change-Id: I08f7754f20ba8b6b00a34387dcaf4aee7fdc2185
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-10180
Problem:
can't enable clk tuning
Solution:
add control interface in dts to enable clk tuning
and start clk before codec init for s905x2
Verify:
verify on franklin
Change-Id: Icc97b04923bcc317b8259449ba068d1eddef0854
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
PD#SWPL-9776
Problem:
let dtb make comptabile with below ways:
make ARCH=arm meson-g12a-u200.dtb
make ARCH=arm amlogic/meson-g12a-u200.dtb
Solution:
modify makefile
Verify:
w400
Change-Id: Ic2bb196f67c632cdc9acae61645fe3dd45c7bb1a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#TV-6827
Problem:
when input source is 4k and output axis's height <228, screen blank
Solution:
1. need set echo 20 250 > /sys/class/video/black_threshold,
when video scaler can't process, disable video
2. black_threshold valid when vscale_skip_count=8 && hscale_skip_count=1
Verify:
t972
Change-Id: I4459c9989adf4c8acb6061756393384cee6f438f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-10128
Problem:
dv certification uncorrect
Solution:
need set_afbcd enable for dv certification
Verify:
Verified on sm1
Change-Id: I141769ee1ae4b1cf224513c62b84414d0638c6f5
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-10128
Problem:
graphic max 100 is too low
Solution:
need set graphic max to 380
Verify:
Verified on sm1
Change-Id: Ibbea07439a99500bdcc051aa9ed7ea8d1ee00fc8
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-10287
Problem:
ipa parameter optimization for tm2
Solution:
change the dyn_coeff of cpufreq and gpufreq, and the sustainable power
Verify:
ab311 pass
Change-Id: Iec472fef8cbd51486a697720ec3015a2e49f37b6
Signed-off-by: zhenxin.pu <zhenxin.pu@amlogic.com>
PD#SWPL-10134
Problem:
endless loop in wakeup source show
Solution:
fix endless loop in wakeup source show
Verify:
TL1
Change-Id: If2318e31388b4a656cf8d99058f8aeaf76ff97a0
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#TV-5977
Problem:
customer platform, when LC is on, test pattern abnormal
Solution:
there is two frame delay for LC histogram, do not enable LC precess
before it is ready
Verify:
TL1
Change-Id: I78febb9f978dba44faff74677d84075fdf1fd8c7
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-10391
Problem:
g12b revA and revB need one code for two parameter
Solution:
dts set g12b revB parameter
read chipversion,if g12b revA, change the parameter by default value
Verify:
verify on g12b w200 board,revA and revB
Change-Id: I9cc4cd6c370207dce22dd0c7df51a6c71397e235
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#OTT-4656
Problem:
When handling the set attribute IOCTL EFUSE_INFO_GET the driver
makes a call to efuse_getinfo(line 177) passing it a potentially
non-null terminated string. efuse_getinfo() function then uses
this potentially non-null terminated string in strcmp (line 99).
the method efuse_getinfo does not cater to non-null terminated
strings and thus can likely be made to overrun the "item" string
beyond any printable ascii data.
Further more, if attackers can control the item value well enough,
the function efuse_getinfo can be used to potentially disclose
values in kernel memory i.e. by checking the results of lots of
strcmp calls on items values, essentially acting as an oracle for
memory values surrounding the efusekey_info[n].keyname variable in
stack memory.
Solution:
force a null terminator for the keyname argument before comparing
it to kernel memory
Verify:
U200
Change-Id: I851dd7045d0a9e7855e9899c4745eac475cb9233
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#SWPL-9720
Problem:
difference window area between chips
Solution:
add interface to custom
Verify:
verify on g12a u200 board
Change-Id: I589c890e36961f533bffae557337b24a09f1bf41
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-10306
Problem:
omxpts is not update print too many
Solution:
move a print info to debug control, the condition to check
whether omxpts is not set for while is not accurate
Verify:
verify by mainline
Change-Id: I387cc6aee718182a8ff99838e9741443236dd1f9
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-5522
Problem:
S912 display S912 Android P support for osd
Solution:
modify VIU_MISC_CTRL1 for gxm
Verify:
verified on gxm-q201
Change-Id: I2bccfb3fe03864e55d41ab4f9ecf4db68d9dfbea
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-6807
Problem:
green line displayed when osd alpha 0xff/0x00 continuous
Solution:
close osd matrix, osd always output rgb format and
use osd1_hdr2_mat do rgb2yuv
At the same time, need disable osd1_hdr2_mtx
when dv on
Verify:
g12a/g12b/sm1
Change-Id: I1fdb11707f30a1938167b6bfc8e6ec6bce5485eb
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#TV-6994
Problem:
When ATV Mode has no signal
the bright line interference at the bottom
Solution:
modify VPP_OSD_SC_DUMMY_DATA alpha value
Verify:
verified on txlx-r311
Change-Id: Icc5039f80bd794ed5adb98e22fbf41f52758ef83
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-10115
Problem:
There is no mute amixer scontrol for tas5782
set volume and mute in init tas5782m
Solution:
Add mute function for tas5782
set volume and mute in init tas5782m
Verify:
S400_SBR A113
Change-Id: I4b25da42620407e24f0b26e62bae21cc12081f7c
Signed-off-by: bing.jiang <bing.jiang@amlogic.com>
PD#SWPL-9473
Problem:
vdec cann't release memory in time
Solution:
add retry mechanism for allocate mem fail
Verify:
verified by t962x2_x301
Change-Id: If75e81c75da067bdbbd641614c7d2b2dbdc3799a
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#TV-5968
Problem:
cm size set delay one frame
Solution:
get cm size from scaler, and set size with rdma
Verify:
verify on TL1
Change-Id: I9d1ef3167a4717a20c5d77a4cd7674d5a417526c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#OTT-4372
Problem:
Need add a extra hdmi_format_para for valid_mode
Solution:
Add a extra hdmi_format_para for valid_mode
Also, fix cedst_en assginment and wrong aud ACR/N parameters when
kernel bootup, need to get current vinfo then set right ARC/N.
Verify:
G12/U212
Change-Id: Ib59986d7436a578daeb7055aa41a379e9381a99b
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-10065
Problem:
TV claims that supporting DV version2, but it lacks
the Max_TMDS_Clock2 600MHz
Solution:
if max tmds clock is less than 600MHz, clear sup_2160p60hz
Verify:
G12/U212
Change-Id: I77c024dfa860bca60020db689c2a07ae8f502528
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>