PD#SWPL-215298
Problem:
some variables such as vclk_sel and xd should only have one copy
Solution:
1.separate pll and clk config
2.separate pll and clk data
3.only have one clk config for one screen
4.could have two pll config for one screen
Verify:
t6w
Change-Id: I32f9944e99dc41b2feba66896b578a986ba87475
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
PD#SWPL-204831
Problem:
need nv16 and nv61 format
Solution:
add this support
Verify:
t6d
Change-Id: I2994091865dac00e62b8cde8e629746005e93478
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-200812
Problem:
resume from suspend, play media first time, TV show garbage
Solution:
need to implement power management callbacks
during system suspend, resume, hibernate, and restore cycles.
Verify:
t6d
Change-Id: I1f07afa5c2387434e1709f9ac2575cfe86c57f9a
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-216727
Problem:
ross soundbar can not uses wifi.
Solution:
sync bm201 to soundbar dts.
Verify:
local test.
Change-Id: Ia6765bc14aa6036fccdff581eb81b3271979fc92
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-214656
Problem:
lcd driver block DRM execute until display mode change completely during
the display mode change, so mute is no practical meaning for DRM
Solution:
resolve block problem
Verify:
T3X
Change-Id: I1d8b3f9042854bcab27279f552d4f3dd0141c737
Signed-off-by: jie.dai <jie.dai@amlogic.com>
(cherry picked from commit 17f6561d8ad32881f65ee4e3f51562088b428397)
PD#SWPL-216360
Problem:
amlvideo2 need sync code from kernel5.15 to kernel6.12.
Solution:
support
Verify:
t982
Change-Id: Ie511ad914048b7327f2d16e274cc3c7eba9af92c
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-214208
Problem:
videodisplay need notify frame display info to mediaproxy.
Solution:
notify frame display info to mediaproxy.
Verify:
ross
Change-Id: I13bd953bb228bc03a1933baafe028497c6942b37
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-211955
Problem:
1.traverse path of vpu topology for dual display with
OSD4 shown on VPP0 is not supported.
2. too many dtsi drm files may be created for different
traverse paths
2.async commit of osd is not enabled in case that only
dst_x and/or dst_y of plane is changing.
Solution:
1. 6.12 was updated to use 3 displays by default
to separate subpipeline state, but traverse path
for single display and dual display cannot be
supported anymore, so define dual display pipeline.
2. use only one dtsi file to include all possible
traverse paths. The default path is for 3 displays.
2. skip check of dst_x and dst_y to enable osd
async commit
Verify:
t7c
Test:
DRM-OSD-20
Change-Id: I7adf6c8695f36cbeceb0f6677214eded1e0b619c
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-216228
Problem:
scripts have some unused code
Solution:
remove common_drivers_on_top code in scripts
Verify:
local
Change-Id: I7c98f733281c9a7500e9a64f11d825b01480992c
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-216228
Problem:
The script's conditional logic is incorrect.
Solution:
optimize scripts for google build fail
Verify:
local
Change-Id: I1d7ecfe7cb85d34b01d0233727fefa6a58ff2200
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-216228
Problem:
scripts have some unused code
Solution:
Simplify the generation logic of the build.project.bazel file
Verify:
local
Test:
local
Change-Id: I657b495569837bcc00c2b14c436efc52c4d6e2e6
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-209441
Problem:
send emp packet when TV not support qms vrr
Solution:
don't send emp packet when TV not support qms vrr
Verify:
s7d
Test:
DRM-TX-
Change-Id: I6f76ec092632c6958449d0a0bce070c188d59aa9
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-206773
Problem:
The orig_channel_sync configuration makes the A5
loopback record data faster.
Solution:
No need to configure orig_channel_sync, disable it.
Verify:
A113X2-AV400
Change-Id: I57017d227414c1dda6496c7850acab3ba831d13d
Signed-off-by: shu.wang <shu.wang@amlogic.com>
PD#SWPL-214036
Problem:
kfree memory allocated by devm_kzalloc would cause memory issue
Solution:
1. init opp_table and dsu_opp_table to NULL.
2. use devm_kfree to free memory allocated by devm_kzalloc.
Verify:
t6d
Change-Id: Iffff276fe505dd76f39755006fc49dba8cfd8eef
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-216174
Problem:
ramoops_io_en cmdline will omissions
When iotrace and gki_module are both builtin
Solution:
return 0
Verify:
T3
Change-Id: Ibb3aa6fc76e38018e1298af6c477981e96151d2e
Signed-off-by: biao.sun <biao.sun@amlogic.com>
PD#SWPL-214609
Problem:
pstore not work in sc2 linux
Solution:
sc2 add ramoops for linux.
Verify:
sc2
Change-Id: Ia587dbe4bec05453761a06e55bd65beb66a1b9ec
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
PD#SWPL-211532
Problem:
crash in the case:
OSD1 shows by sync commit on VPP1
OSD4 shows by async commit on the same VPP1
Problem list:
1. block state is sometimes NULL
2. no protection for concurrent atomic check
3. no protection for concurrent atomic commit
4. meson_osd_plane_async_update doesn't update
plane info to state of subpipeline.
Solution:
If async commit is used for osd plane,
1. check pipeline when checking crtc state
to make plane state created
2. drm_crtc lock is added for serialized state swapping
3. lock commit_mutex of am_meson_crtc
4. Update plane info to subpipeline so that the other
OSD1 path can update both osd1 & osd4 info to common
hw blocks(osdblend, postblend, etc.)
Verify:
T7C
Test:
DRM-OSD-20
Change-Id: I7f44dc37bf4b9e21da3b67001985152ba1649816
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-212273
Problem:
with CONFIG_PROVE_LOCKING=y, it consume too much time in validate chain of
hrtimer_bases.lock
Solution:
bypass validate hrtimer_bases.lock
Verify:
on A5
Change-Id: I3f2bb0802fdabc79ae44cf240a60d8cf0952e638
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-214030
Problem:
need support VRR to add new state for color cmd
Solution:
COLOR_ALWAYS_FOR_VRR means need show color buffer until
producer send DISABLE cmd or disable mode changed
Verify:
t3x
Change-Id: Icadec2713c2f2cbcd4b232cdbac322cbccf7d246
Signed-off-by: Tianhua Sun <tianhua.sun@amlogic.com>
PD#SWPL-215871
Problem:
The "adb root" cmd which triggers:
echo none > /sys/kernel/config/usb_gadget/amlogic/UDC
echo `ls /sys/class/udc/` > /sys/kernel/config/usb_gadget/amlogic/UDC
leads to udc being unable to process handshake so the gadget can't be
enumerated. It turns out that the phy comb reset is asserted by
u2phy0&u2phy1 init() due to the wrong bit assignment which reset the
u3phy pipe clock gate bit.
Solution:
Fix err controller bit assginment.
Verify:
ay301.
Change-Id: Ia1374ceb374e42088ff4264f2045cc691e09fbca
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-216045
PD#SWPL-194007
Problem:
OTT mode, HDMITX will be silent.
Former design: TDMB->AD82128 speaker and TDMC->HDMITX HBR.
But S7D chip TDMC doesn't support 8 channel.
Solution:
1.HBR output needs switch to TDMB which supports 8 channel.
For OTT mode, case is TDMB->HBR.
But for soundbar mode, case is TDMB->Speaker.
As TDMB links to AD82128 which support max samplerate 96k,
in HBR case(192k clock rate) will corrupt AD82128, to fix it adding
tinymix interface to power up/down Ad82128.
Restore when switch to soundbar mode.
2.add s6 soundbar audio config in dts file
Verify:
S7D: ross soundbar
Change-Id: I1f596612a4cb3e7fc64e69285f9f507f64519ee0
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-216011
Problem:
Compile error with use gki 2.0 with debug for
gpiod_get_label is not exported
Solution:
Use common version function and undef gpio_dbg
Verify:
t7d& txhd2
Change-Id: If2c1abd0da0e4abba4fef356c49b00b7bc24d19d
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-215291
Problem:
debug common
Solution:
1. support --defconfig_fragment
2. support --debug to support debug common
Verify:
local
Change-Id: Ifc0c1ba3c0c18c8dbcf561918e685255be57cc22
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-216015
Problem:
DTSHD MA 96k HBR test fails because of wrong channel
status samplerate setting.
The AVR shows PCM/DTSHD icon intermittently.
Solution:
Add 48k/44k/96k/88k/176k HBR samplerate channel status support.
Verify:
S5
Change-Id: I793c80d6238b0abc31cc4b3346fdcf92cabb43cf
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-208685
Problem:
Support Priority configuration.
Solution:
Pass channel priority to the backend.
Verify:
ross
Change-Id: I691caf4987df7ea2bf21d114c91ec61d1be40814
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-215065
PD#SWPL-215282
Problem:
spdifin & auxin no sound when open the source.
Solution:
1.config tdmc lane, suffix-name and pinmux for auxin.
2.config spdif in wait_time, as it will timeout, because
the default time is 100ms on k6.12.
3.add "NOT_READY" type for spdif in unstable.
Verify:
ross soundbar
Change-Id: I04631c1997de6b37e32284d55984c622921810ef
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SSWPL-204851
PD#SWPL-209821
Problem:
no video present fence support
Solution:
add video present fence support
Verify:
s7d
Test:
DRM-OSD-94
Change-Id: I17d5b8915364fe6f21161026c8967a0b056598d4
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-204853
Problem:
vpp support video present fence
Solution:
add this support
Verify:
SC2
Change-Id: Ia04d48fe0c759053db4691542370148a623e3f47
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-215107
Problem:
not support many filters use same pid
Solution:
many filters can use same pid
Verify:
verified at T5W
Change-Id: I053f5782480c0749c60f26c9e5532fe3f62347d1
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-214058
Problem:
global alpha should be adjust base on zorder, there is logic error
caused an error occurred
Solution:
setting global alpha based on zorder
Verify:
s7d b
Test:
DRM-OSD-97
Change-Id: I87c9cba0cbc8210d39df2f49c324c86ace845a33
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-214019
PD#SWPL-209711
Problem:
need to support asf and ufr mode
Solution:
add asf and ufr mode
Verify:
t6w
Change-Id: I1f44e0a3f591eaec5962260f99976ba32c785314
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>