PD#SWPL-151540
Problem:
kasan failed
cat/echo sysfs osd node crash in s5
cat fbdump return zero size file in s5
Solution:
reset BLOCK_ID_MAX with 32
sysfs node should according to vpu block by index
set correct plane index
Verify:
s5, t5m
Test:
DRM-OSD-17
Change-Id: I02094c9044b172af46ab9b5bd5688a12f18ce96a
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-160726
Problem:
adjust the size of codec_mm cma to 168M.
Solution:
adjust the size of codec_mm cma to 168M.
Verify:
S805X3
Change-Id: I48c46506de9b0a34bceeea25d15fb41bcbccf790
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-160725
Problem:
adjust the size of codec_mm cma to 168M.
Solution:
adjust the size of codec_mm cma to 168M.
Verify:
S805X2
Change-Id: I6ad528eadd119dd01d7fdc27c878f68d85666a3c
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-151516
Problem:
ACR packet CTS error when set audio mode
Solution:
set the N again before enable audio packet
Verify:
g12a/sm1
Test:
DRM-TX-33
Change-Id: If9508a7dfe05445817095527ceb726aca6f9462e
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SH-18773
PD#SWPL-160955
Problem:
The boot_parameters parameter does not perform null pointer judgment,
which will cause a crash
Solution:
add null pointer judgment in boot_parameters
Verify:
T7C
SC2
Test:
DRM-TX-
Change-Id: Idd5fe05145ac07d1358293d26872bcf4a2bc5eda
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-158042
Problem:
drm module automic-check and automic-enable use differnet hpd status
information when hdmitx hotplug
Solution:
[hpd] add system timein hdmitx state
Verify:
S5/SC2
Test:
DRM-TX-103
Change-Id: Id0f37cf01c5266a720f2881ee8cd9fab274b79b9
Signed-off-by: yahui.liu <yahui.liu@amlogic.com>
PD#SWPL-161417
Problem:
There is no CVBS/dummy output and vsync under S5 uboot.
echo 0 > phy turns off phy, but the action of turning off
phy is executed in the vsync interrupt. Because there is no
vsync interrupt, the action of turning off phy here will not
actually be executed. When the system is set to hdmi mode
(1)hdmitx_phy_pre_init()->(2)hdmi set venc—>(3)enable hdmi HW
–>(4)enable HDMI phy. HDMI venc/vsync was enabled between (2)
and(3), At this time, the phy shutdown action was performed,
and the phy pre init setting in (1) was cleared, resulting
in HDMI without TODIG CLK–>hdmitx ch_clk
Solution:
if not have vsync intr, wait 3 frame,manually turn off phy
Verify:
s5
Test:
DRM-TX-67, DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81
Change-Id: I161bf83c1b6a1da4cc910ddc4a7edd20ad910d18
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-143076
Problem:
mmu copy cannot access address over 4G.
Solution:
set alloc from dma32 zone when config_alloc_flags bit0 is set.
Verify:
S5
Change-Id: I142f182dff1509e591d20ed0e440a6851f8d7029
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
PD#SWPL-161028
Problem:
the flag of force_cache_on keep true for a long time in scatter cache.
Solution:
Optimize force_cache_on usage logic.
Verify:
S805X2/AH212
Change-Id: I6d4bcf73722fdbcca36a114d8f4efbbf812b4575
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-161016
Problem:
When s7 is in standby and wakes up, it will turn off and on the vpu
power domain. When it is turned off, the reg of the relevant modules
will be reset, the output no signal when it wakes up.
Solution:
hdmitx driver needs to reinitialize the required top register when
it wake up
Verify:
s7
Test:
DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81
Change-Id: Ie9d458087fcc9ea672ec477d46b88a6d7ddcec81
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-161276
Problem:
set arb and urgent default val
Solution:
add arb and urgent default val
Verify:
s7
Change-Id: Ic0dd2f35e65e9b1580970d82096d067e9a15da5c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-157220
Problem:
When the edid only supports 576p 16x9 and hwc set to 576p50hz,
576p 4x3 is selected as the output mode, resulting in output failure.
Solution:
When mode match timing name, 16x9 timing is preferred.
EDID only support 4x3, match 4x3 timing
EDID only support 16x9, match 16x9 timing
EDID support 4x3 and 16x9, match 16x9 timing
Verify:
bluebell
Test:
DRM-TX-107
Change-Id: I49fb7114edbde884c14724dbc403df5384968059
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-159116
Problem:
vc task thread get stuck because of vpp put action not timely.
Solution:
put one vf immediately when get 2 in one vsyc.
Verify:
S7
Change-Id: I8e16205021bd1f4e6170abd54a718ebb05ce0766
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-158260
Problem:
amlvideo2 want to get hdcp status
Solution:
set hdcp flag in vf if HDCP input
Verify:
t7c
Change-Id: I1d5ddcb5d3e5d1f467e9de7f20dc76a96fdd94b4
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-160884
Problem:
use free memory after free
Solution:
finish all control before free
Verify:
t7c
Change-Id: I3ad2fd910e60e2ff8d0c8f12d3f349f6346302bb
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-160226
Problem:
open ca device fail
Solution:
it can open ca device max 32 times.
Verify:
verified at sc2
Change-Id: I30245b4cfadb71456ee65172982832f2379de0c5
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-154052
Problem:
specification of buildconfig and devconfig
Solution:
specification of buildconfig and devconfig
Verify:
local
Change-Id: Id5fe2f015194addb4582ad3d33462ae36718d86b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-160039
Problem:
fence signal time is incorrect
Solution:
when creating a sync pt
add it to the active_list of the timeline
to prevent it from being signaled in time
Verify:
g12b
Change-Id: Ia67ab72f742ea9e988a05cdb3274a5e542dee35c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-159512
Problem:
reduce power
Solution:
close vpu clk1 when di disable
Verify:
s7
Change-Id: I72381b8bea16e7aa97bc15ad375636c60f3dd0e8
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-160828
Problem:
hardware rework led circuit
s7 eth led function
need support 32bit arm last week
Solution:
new parameter for new led hardware circuit
sync setting with arm 32bit
Verify:
S905Y5_BH201_REF #023
Change-Id: I85fd293a694d0714b69f2913e4381171ad36a5a6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-158924
Problem:
slice number is 0 when logo flash
Solution:
add protection for slice number
Verify:
s5
Change-Id: Ie38f3a071534638a024d9c07b28060792384616b
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
PD#SWPL-157952
Problem:
second enable pll will call set_rate, it reset od use init_regs
od bit, result pll rate changed
Solution:
store pll od when set_rate and rewrite it to regwith
other parm through enable
Verify:
s7_bh201
Change-Id: I04c236f3fd716fcf9b3ef1442eba8a5565dcdb02
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-102815
Problem:
The scaling algorithm needs to be optimized
Solution:
scaler0_block input size should refer to the
source of osd0, and postblend hstart&vstart usd the dst_x&dst_y of
osd0.
Verify:
s4
Test:
DRM-OSD-8
Change-Id: Ic3ffddbfa92ff2de0cf3345fb6a970bb842b413c
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-159863
Problem:
According to the eMMC protocol, eMMC only needs to focus on DAT0
when the device is busy.
Solution:
Just need to check the status of DAT0 when the eMMC is busy.
Verify:
t3x_bc302
Change-Id: I33ca35afe71c85f9029030e9e0f9bb3283f347f1
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
PD#SWPL-156793
Problem:
source change between 1080 and 4k need reset DI.
Solution:
Modify the check flow of DI reset.
Verify:
t7c
Change-Id: I928ad2a6593db04d9c9467813605c2629ed7c207
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-144805
Problem:
The timeout of bc, bcr and ac command types is a fixed value.
Solution:
Adjust the timeout of bc, bcr and ac command types to
the value passed by the upper layer.
Verify:
t3x_bc302
Change-Id: I8873028430c021e695e1390c13d61fd288aa6ea9
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
PD#SWPL-160107
Problem:
if osd1 scaling firstly, and then osd2 scaling different from
osd1, osd2 postion will be shift.
Solution:
clean last pipeline status of scaling
Verify:
SC2
Test:
DRM-OSD-8
Change-Id: Ie2363fd5afcd7341a6589dfc11d1c668951f88c8
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-149790
Problem:
frame rate is 0 because vout_meas_ctrl_init_dft cannot complete
Solution:
remove clk_set_parent because clk num of parent is 1 cannot set parent
Verify:
t5m
Change-Id: Id229bfe4263d746d7402d7fc80f52158185df74b
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-153975
Problem:
After playing DV_LL, hdmi_hdr_status is still dv_ll
Solution:
When DV_LL is played, update hdmi_hdr_status information
Verify:
SC2
T7C
Test:
DRM-TX-92
Change-Id: Id326e4c4ed0e3b0fc1f853cec7d943c7fecb3dde
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>