PD#SWPL-165772
Problem:
hifi_pll has been initially configured in the bootloader and is being
used by audio. If hifi_pll is reconfigured in the kernel, the sound
will be broken.
Solution:
Add flag CLK_MESON_PLL_IGNORE_INIT for hifi_pll
Verify:
sc2_ah212
Change-Id: I9989d6c16e590207f6b03658705b088f8a13c8c5
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-166049
Problem:
1.v3 ops enable and set_rate is unnecessary to rewrite all pll
reg, only focus on related bit, pll second enable rewrite od bit,
result to it's real rate changed
2.some clk config incorrect
Solution:
1.use v1 ops to compatible, test pll set_rate, enable/disable ok
2.fix unreasonable config
Verify:
s7
Change-Id: Ic2bc808152250d8596e232d3e5318eff7751d4e4
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-165736
Problem:
hifi_pll has been initially configured in the bootloader and is being
used by audio. If hifi_pll is reconfigured in the kernel, the sound
will be broken.
Solution:
Add flag CLK_MESON_PLL_IGNORE_INIT for hifi_pll
Verify:
s7d_bm201
Change-Id: I430a03dbb115d4d34b0514fb5dae5f22a105132e
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-158050
Problem:
it will block suspend if send kobject uevent
when suspend
Solution:
not send uevent after suspend
Verify:
ohm
Test:
DRM-TX-105
Change-Id: I66f13e24076290f99defca8badb8d94d8b2e3e2a
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-163105
Problem:
new earc Rx design
Solution:
changelist from https://scgit.amlogic.com/#/c/417153
1. new default setting for arc in
2. remove pll refresh when startup
3. when cmdc init, need refresh pll after pll default setting
4. force channel sync for channel mapping
5. add dmac bit29 check for common arc check
6. add iec raw channel status check
7. use chip info(arc_ch_sync/arc_in_new)
Verify:
use s7d
Change-Id: Id681334bfde57bfe71a870a16859e24712e262e3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-165972
Problem:
The the portnum of u3phy recorded in the host controller
is not zero when the phy is switched to the pcie.
Solution:
Modify xhci code.
Verify:
sc2_ah212
Change-Id: I0e9e5fce6a51edb835a02f965dd91edabd31ddce
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-166106
Problem:
B201 use sy6026 instead of analog speaker
Solution:
kernel part, only ref b201 use the codec
1. integrate sdk
2. fix i2c addr from 0x54 to 0x2a
3. fix function error
4. review setting for PBTL design, reg 0x22 from
0x1 to 0x3
5. use soft unmute/mute
6. remove pdm pin GPIODV_5 for codec
Verify:
use s7d ref board 201
Change-Id: Ied29b57736c0045bd2ff98bab138f4b9fc91afcf
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-163636
Problem:
ART FRR and WER test fail
Solution:
FRR test case of ART, high and low frequency noise affect
the detection rate.add LPF and HPF filter to improve it.
Verify:
t5m
Change-Id: Iab7cf909f2939a234079cfb2bd3af32a9f8744c5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-160611
Problem:
There is pop sound when system bootup and play ddp files
with DENON AVR-X3800H connected.
Solution:
Delete eARC log, and then there is no pop sound.
Verify:
T3X & T5M
Change-Id: I23bdd41985efaafd4a1f9f8067fe4871a0593e20
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-166397
Problem:
there is wrong parameter in PTR_ERR
Solution:
use pll_map instead
Verify:
t5m
Change-Id: I3af1b104ae42431c199d2789ed2f4ca64786d6d6
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-161355
Problem:
when suspend entry and it close clock,
but there is some access register action on other places.
Solution:
add mutex lock for critical region.
Verify:
t3x
Change-Id: I783c96b39f6a7ba4469f0888f8625ad8140ef3fa
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-160997
Problem:
play avs video will reboot when resume
Solution:
1.recover di top_ctrl register
2.set di clk to max rate
3.add ic(s7) in fix arb error issue
Verify:
s7
Change-Id: Ia5647faa8626d7281b2d51e6add0007e8017597f
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-162044
Problem:
resource value is pre-estimated size and is inaccurate
Solution:
remove resource value check because this just records
the pre-estimated size
Verify:
AH212
Change-Id: I304d265102b3159528aa18c9daaac3e9b21aef21
Signed-off-by: joy.rao <joy.rao@amlogic.com>
PD#SWPL-164868
Problem:
system crashes when scanning on T2 mode on T5D
Solution:
avoid accessing T2 registers on T5D
Verify:
AM301
Change-Id: Ib19595337d6ff5de1121d398c070a27167a314c5
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
PD#SWPL-162202
Problem:
Adjust the size of codec_mm cma to 168M.
Solution:
Adjust the size of codec_mm cma to 168M.
Verify:
S805X2
Change-Id: I8d9987f6f817decc03f0b3b65d38683a2bff6233
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-158422
Problem:
1.signal locking and channel scanning are slow
2.signal locking process is unstable
Solution:
rebuild driver
1.signal locking speed is increased by more than 60%
2.signal locking timeout speed is increased by more than 40% ~ 90%
3.the channel scanning speed is increased by more than 35%
4.improve the stability of signal locking
5.reduced sensitivity to transient abnormalities in the signal
Verify:
T5M, T950s
Change-Id: Ie9b0f522478222e0076fced126a966c2f951cc1c
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
PD#SWPL-162200
Problem:
adjust the size of codec_mm cma to 316M for DTV PIP enable.
Solution:
adjust the size of codec_mm cma to 316M for DTV PIP enable.
Verify:
S805X3
Change-Id: Ifc8c87cab43758a3f48ad1610f77cd45c868d597
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-162202
Problem:
adjust the size of codec_mm cma to 328M for DTV FCC enable.
Solution:
adjust the size of codec_mm cma to 328M for DTV FCC enable.
Verify:
S805X2
Change-Id: I70dfc727f0645d86c17ad46c0aaaa4e67dc262d4
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-163281
Problem:
The address pointed by the pointer is released after modified
Solution:
Records the initial address of the pointer and releases this
initial address at the end
Verify:
ohm
Test:
self-test
Change-Id: I99986c817d9a5020cc049038c5ddec005e641a6b
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-163329
Problem:
building will fail because last build remain the staging dir
Solution:
remove staging dir in last build
Verify:
local
Change-Id: Ie5acfb09af45027d567f12f197ec4001af0d304a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-155289
Problem:
system heap optimization.
Solution:
use CONFIG_AMLOGIC_MEMORY_OPT or
CONFIG_AMLOGIC_MEMORY_DEBUG
Verify:
local.
Change-Id: I6f63aa616909ed19dbfdbbe1550b705db1c4da9d
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-158464
Problem:
support closed source modules build to Independent folder and copy
to android output folder
Solution:
add closed source modules list to blacklist
Verify:
local
Change-Id: Ibd9be1c7e8e7eb1b043fd10e96436cb1d96f78a1
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-158524
Problem:
CTS-V usb accessory test unplug&plug too
quickly leading to the racing between unbind
and setup.
Solution:
Add udc_async_callbacks().
Verify:
t7.
Change-Id: I5c4f362583b1e9e3d385fbad0b36da3b92d38eee
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-161849
Problem:
no i2c in recovery mode
Solution:
add ko to load in recovery mode
Verify:
T7c an400
Change-Id: I14ab19508a45da0d0538c9ed95b75d266ce98046
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-149879
Problem:
sink-led into game mode cause dv bypass
Solution:
sink-led not allm need shield
Verify:
t5w
Change-Id: I67d47c474963cbe8ae15dce0ba137d84352ed9f2
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
PD#SWPL-160326
Problem:
uboot and kernel read edid twice and
read edid error when edid has more than 2 block
Solution:
set segment 0 when read block0 and block1 edid
Verify:
sc2
Test:
DRM-TX
Change-Id: I8613f7e4c1c6826fbe5edefb7232d761693659b6
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-163920
Problem:
hdr before osdblend, it will cause UI flashing when switch composites
between device and gpu for multi-layers
Solution:
add drm_policy_mask property to report hardware feature
then hwc will not exchange device and client composite repeatedly
Verify:
s5 s7d
Test:
DRM-OSD-59
Change-Id: I8c717e180c4962ab8f422efa607e4d63d298e462
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-155867
Problem:
play video with alpha_win_en enable then play no alpha
win set video source, alpha_win_en not clear
Solution:
alpha_win_en need set 0 when composer_info is NULL
Verify:
t3x
Change-Id: Ie1e83da0c7c40bbfe12945d706f1fa7fb3f3c76a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-166863
Problem:
led blink on power
led light when resume
Solution:
remove this related code
Verify:
s7d bm201
Change-Id: Idb9677189edd2e274ced76f9f5c67d16008cea03
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-166736
Problem:
aml smmu init failed.
Solution:
get max_pfn from node instead of find symbol.
Verify:
s5.
Change-Id: I1af0dbe7006ee590a82750491d9ab6a82835bf14
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-165517
Problem:
Send 2 dummy frame to DI for interlace video,
but dp release it on first callback,this lead
to invalid buf for di use.
Solution:
Modify dp flow to config these param.
Verify:
txhd2 t5d
Change-Id: I411af886c487e24f991737de25975a1abd95099a
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>