PD#SWPL-104015
Problem:
tx20/tx21 have similar functions for
sysfs and hwop.
Solution:
move to hdmitx_hw_common and hdmitx_sysfs_common
Verify:
ohm/t7
Test:
DRM-TX-36
Change-Id: I0638bfe263c07589716da467f251a279582bcda6
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-138821
Problem:
need to sync hdmitx20 with kernel5.4
Solution:
sync hdmitx20 with kernel5.4
Verify:
verify on ah212
Test:
DRM-TX-31
Change-Id: I667ff3df6d58552feb8972dc5c76b764713f61ac
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-98813
Problem:
Need to unify the edid 2.0 and 2.1
Solution:
Unify the edid 2.0 and 2.1
Verify:
t7/sc2
Test:
DRM-TX-34
Change-Id: Id145c0343279489b82316f22322d48a41c2df33c
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-104011
Problem:
hdev has some hw related members and
hdev is still be used in hdmitx_hw level.
Solution:
abstract tx20_hw/tx21_hw
Verify:
verify on ohm/t7
Test:
DRM-TX-33
Change-Id: Ic0e3867af7894fcdcd50a3a4fe234156e2ef821d
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-131275
Problem:
need add ultra refresh rate function support
Solution:
add ultra refresh rate function support
Verify:
bc302
Change-Id: Icb0f2b49ac6d46c18b5093b4f93da89e923c7d97
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-140211
Problem:
need update spinand info page.
Solution:
update new info page, for compatibility with A1 S1A C3.
Verify:
A1 S1A C3
Change-Id: I73ce561dc716aedd18ac2887af00fa912818794b
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
PD#SWPL-130171
Problem:
add use tsync flag for 5.15
Solution:
add use tsync flag for 5.15
Verify:
t5d
Change-Id: Ia2a4cc742a9213c5b40b16ce5a46502f9a857374
Signed-off-by: dehong.chen <dehong.chen@amlogic.com>
PD#SWPL-138534
Problem:
tx20/tx21 have different valid mode flow and api
Solution:
use common api instead
Verify:
verify on T7
Test:
DRM-TX-19, DRM-TX-20,DRM-TX-22, DRM-TX-25, DRM-TX-27
Change-Id: I008e5931adb223391e79149f908d5ad1cb186889
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-126494
Problem:
hdmi_format_para is the struct for hdmi setting,
but no api defined.
Solution:
abstract format_para api.
Verify:
verify on ohm
Test:
DRM-TX-19, DRM-TX-20,DRM-TX-22, DRM-TX-25, DRM-TX-27
Change-Id: Id14fd0186254963361f0df3d869aceab6704377b
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-140403
Problem:
Missing SM4 support in aml-crypto-device on S5
Solution:
Add SM4 support to aml-crypto-device
Verify:
S5
Change-Id: I0933bbcefa46daa5b00bd41d1e68fc9441bd3185
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-132959
Problem:
mode validation is in many functions and
checked many times.
Solution:
abstract the mode validate api and cleanup
the flow in tx20.
Verify:
verify on ohm.
Test:
DRM-TX-27, DRM-TX-26,DRM-TX-28,DRM-TX-25,DRM-TX-20
Change-Id: I9ddd17718fa43ac7a670192ba72a48d9bc0a6dc5
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-139694
Problem:
add more regs control in ddr cooling device
Solution:
add more regs control in ddr cooling device
Verify:
txhd2
Change-Id: I99c978d2034b3dcf01239752ce1a112f8e07afce
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-140070
Problem:
need to support swap 64bits
Solution:
implement this support
Verify:
s1a-bg201
Change-Id: I7addda02429200cf95ef495de392f4ab3f11b886
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SH-16324
Problem:
enable CONFIG_DEBUG_SPINLOCK, system crash.
Solution:
not neable cma_mmu_op function when enable debug spinlock.
Verify:
local.
Change-Id: I61b7edb7c5026b72b7ac6e66c6e19304eca00a61
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-136709
Problem:
pre_vsync rdma not work
Solution:
1. fix pre vsync rdma not work
2. add pre_vsync video process
Verify:
t3x_revb
Change-Id: Idea48258140934374b2be6e951d7128f3081604f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-139821
Problem:
minilvds data resmaple maybe incorrect for some corner chip
Solution:
1.bypass data buffer for minilvds and lvds
2.need re-tuning clk_phase and clk_inv for minilvds
Verify:
am301
Change-Id: Iccfedb93221affc4695fb14fcb1644c860d77b55
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-115660
Problem:
not enough time for avmute when suspend
Solution:
add delay for avmute
Verify:
T7
Change-Id: I105e2485bea918b8350fec16369b243de9782b75
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-136699
Problem:
memc_lossy cannot work with 2ppc dec
Solution:
check t3x revB work status
Verify:
T3X
Change-Id: I558602faa477f96cb799b48a1cd519d71c9a5504
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
PD#SWPL-139458
Problem:
AV sync abnormal after TX plug out/in, this is because
canot enter resync flow for output with no pannel.
Solution:
Add resync flow for Not pannel output case.
Verify:
t7
Change-Id: Ifa1b814a226476bb8b2a3b3cbde2135acd06a4a1
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-137475
Problem:
process_checkin find ref has released
Solution:
add mutex for process and release check in
Verify:
SC2
Change-Id: I98af46e1488d534503b9984fc7866b9523522a49
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-132354
PD#OTT-43684
Problem:
when the audio hw sample freq changes, the audio sample packets
still keep send out. Compared with 3rd devices, there will stop
the sample packets, only keep the ACR send out.
Solution:
Optimize the audio setting flow
disable ACR in PREPARE
finial enable ACR
sync the aud_src_if and aud_output_ch variables
when prepare, add the temporary CT_PREPARE
Verify:
sc2
Change-Id: Ic3a589fd16124e3036d93b766d84f600bf9cb811
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-132145
Problem:
for "invalid" or "null" mode, need reset format para
Solution:
add reset format para api for hdmitx21
Verify:
t7c-an400
Test:
DRM-TX-28
Change-Id: I12c77bb463048a0bd71aa309f1dbae118f196917
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-126023
Problem:
Support pdf software action function
Solution:
Add pdf software function
Verify:
T3X/TXHD2
Change-Id: I8bb49fcd02b734da86c5d19f82f8b696081413c8
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
PD#SWPL-132145
Problem:
tx20 timing para has been moved to common timing
tx21 also need use the common timing
Solution:
tx21 use common timing api
Verify:
t7c
Change-Id: I6397eafc98aa8be1e86e5f3db7ccabd24c448554
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-125800
Problem:
ddr test
Solution:
modify ddr temperature control point
Verify:
txhd2
Change-Id: Icab99c885673981577e0545a8fbe5191f49f2e07
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-137498
Problem:
1. need get partition from env
2. need get rsv info from env
Solution:
1. get partition from cmdline
2. get rsv info from cmdline
Verify:
s1a
Change-Id: I5de9ca2479d60ce0c24698abda1b01403be4c283
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
PD#SWPL-131211
Problem:
kernel crash in check_page_to_cma
Solution:
The problem is that page_mapping function returns a invalid mapping
pointer, when a compound page is building while a compaction is doing
at same time, there will have a risk of compound page status checking.
page->mapping is set to TAIL_MAPPING first then set compound header.
But check_page_to_cma don't check real status of page, which caused
panic
Verify:
local
Change-Id: Id44ac3d43d1385148e0527b0ba4d3421c68d825e
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-137107
Problem:
The data in the ramdump crash file is abnormal
because the cache data has not been flushed back.
Solution:
1. Use ipi_stop hook to flush online cpu cache.
2. Use panic_notifier to flush panic cpu cache.
Verify:
sc2_ah212
Change-Id: Ifad5bd4203fdde327b8c2b19357aa2d92586063f
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-134937
Problem:
need high resolution vsync measure debug function for lcd
Solution:
add high resolution vsync measure debug function
Verify:
am301
Change-Id: I1b1391a6210e2132ce36ebb27df83398b583f1f2
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-132411
Problem:
video buffer put back when in lowlatency proc
Solution:
only put video buffer in vsync_isr
Verify:
ohm
Change-Id: If78ef47a58fa93d44303d49c84c4079a1b1e321c
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-132066
Problem:
need to support video lowlatency
Solution:
video lowlatency optimize
Verify:
s1a-bg201
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Change-Id: Ie8a6f4c72314f9acf7202e7d86721403842d5499