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-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-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-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-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
PD#SWPL-79478
Problem:
old DVB-C blind scan is too slow
Solution:
1.new dvbc blind scan feature time usage about 11min30s,
the speed has increased by about 65%.
2.AMLDTVDEMOD_VER V3.5.4
Verify:
s905c3 t214/ap232
Change-Id: I9197ed12844dff36ccb0a79488899f8872e04fed
Signed-off-by: zhicheng.huang <zhicheng.huang@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-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-136272
Problem:
1.txhd2 need support lcd ss
2.ss support need update
Solution:
update clk ss support
Verify:
be311, ar301
Change-Id: Ia1462905734f79b6dad9bea8c25681dd596fa1a1
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-136140
Problem:
need screencap for only video of point 7.
Solution:
get width and height for only video of point 7.
Verify:
TXHD2
Change-Id: I534baa5201191cc4324d8f1c914df39c548ccf40
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-136132
Problem:
provide api to get input size
Solution:
provide api for it
Verify:
TXHD2
Change-Id: Ifcf7f18ce6b806cc8f68cf985172e46bc2625f76
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-119524
Problem:
Due to the post-positioning of di,
the vb2 buffer is directly thrown from the decoder to the upper layer.
Since each vb2 buffer can only be returned by the upper layer,
it can be thrown to the upper layer again. For interlaced streams,
two fields need to be output, so the second field cannot be output.
Solution:
The capture dma buffer is allocated in the decoder.
uvm only allocates an empty shell,
which is actually allocated by the decoder and replaces the dma buffer.
Verify:
ohm
Change-Id: Ic93fc379ad35d873ed3ef2bb0c5312254a08dee5
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-128700
Problem:
When prelink and dct, do not support crop function
Solution:
1. add alignment for dct and prelink case
2. When grid crop did not match for dct post, bypass dct
3. add crop function in grid and dct post
4. when afbc and crop source, adjust nr write afbce and mem afbcd scope
Verify:
verified on t5m
Change-Id: Id4cb63bb91e168f540dce22a3834ba70b052f128
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-136316
Problem:
support di backend
Solution:
support di backend
Verify:
ohm
Change-Id: Iad72c1ebc5e33bade4e6efb87167defd4bc405b6
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-134401
Problem:
the accuracy of lcd vfreq is not quite high for 59hz
Solution:
calc clk with 64bit to improve the accuracy
Verify:
am301
Change-Id: I6f5460f7e40307c50ba5eaa0d624c342df2485c9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-134074
Problem:
need to set di super urgent
Solution:
add di super urgent setting
Verify:
txhd2
Change-Id: I6b18850b05b493fc973a513d681d6481912cb564
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-134420
Problem:
when di just reg,not ready,the pre-link flow is not correct
Solution:
add link_in_busy status
Verify:
t5m
Change-Id: I67f32834b516107115467feeaf8a053071b83e8d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-136814
Problem:
1.some idk5.1 case fail
2.play top1+top2 case fail by mediaplayer
3.top1 special case
Solution:
1.update hdmi dynamic cfg
2.optimize top1+top2 process
3.add drm-bt2020 support
Verify:
t3x
Change-Id: Ie6c1fcfe078eddc3279c7993ff5e5059c3ce41dd
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-134539
Problem:
add full link training adn EDID timing process for T7
Solution:
add
Verify:
t7_an400
Change-Id: Ib82f8c7e9b3bd178489c1ef1c43bd35cade9bf47
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
PD#SWPL-133418
Problem:
di dynamic alloc canvas_id over 128
Solution:
chang canvas max number
Verify:
s1a
Change-Id: I0d9f594d65d80fd09133edce415c857160b48ad6
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-128910
Problem:
amlvideo2 need support screencap for main and sub screens.
Solution:
amlvideo2 support screencap for main and sub screens.
Verify:
T7C
Change-Id: Iabd1450d1c65a98544e92f2be20f7b34fdd95e2a
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-132192
Problem:
In tx20, still use y420 vic for 4k 420 modes.
It is not necessary to add new vics for such cases.
Solution:
Remove y420 modes, use para.cs + vic instead.
Verify:
verify on ohm.
Test:
DRM-TX-26, DRM-TX-8
Change-Id: Icf91c77b7134df548f29ef03afa6ec34f8b27a24
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-134215
Problem:
unplug full speed device on m31phy with and panic
Solution:
there is no amlogic_usb_v2 struct in usb_phy_trim_tuning for m31phy,
so it needs to do some filtering.
Verify:
t5m, t3
Change-Id: I65a6f968229ef41da8aaa0024cd7438693d5a935
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-132901
Problem:
add API to get pre-link on/off status in DI
Solution:
add API to get pre-link on/off status
Verify:
t5m
Change-Id: I2daf1c8f034d6543b057df9ab6f452481001856e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-132912
Problem:
top1 and top2 shared one pyramid buf, causing
data overwritten
Solution:
alloc three copies of pyramid buf, one for read,
one for write, the last one is all zero, only used
when top1 missed,
Verify:
t3x
Change-Id: I36687e344c770571fea3d740d0c2b7fd5bb9a1b0
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-129666
Problem:
need support qspi panel
Solution:
add qspi panel support
Verify:
none(sync from 5.4)
Change-Id: I1043cf51d21ea8d31fb0cbcd5b6be652e0ecba21
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
PD#SWPL-133575
Problem:
provide frc_is_on for vpp
Solution:
provide frc_is_on for vpp
Verify:
T3X
Change-Id: Ic010734fdbe45b5bc5998f2e474601ea187d56cd
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
PD#SWPL-130609
Problem:
vd1 used 1 slice policy if n2m 1:2 on
Solution:
vd1 used 1 slice policy if n2m 1:2 on
Verify:
t3x
Change-Id: Ia4a000fb86013bda4c4f33153e92ac946000636e
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-131744
Problem:
cs/cd in vinfo is not updated when set mode.
Solution:
update vinfo.cs/cd when set display mode.
Verify:
verify on ohm.
Test:
DRM-T
Change-Id: Ia97a262669881bedce7ae2e4ecf35a80f76473fc
Signed-off-by: sky zhou <sky.zhou@amlogic.com>