PD#SWPL-153316
Problem:
hifi need 491.52M by hdmitx and audio
Solution:
set hifi to 491.52M in U-boot,
do not touch the hifi parameter in Kernel
Verify:
t7 an400
Change-Id: I0841fa8cda45bb763144b78a1b0ed5d272a5c12b
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-163765
Problem:
sid should not be MAX_SID
Solution:
return and report an error if sid is equal to MAX_SID
Verify:
sc2
Change-Id: If2b7fef62814b4e2ff62867cbbc1f74f9848e673
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-165773
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:
s4_ap222/s4d_ap2322
Change-Id: Id46b72e534958d97431eea44f0795cca22ab09d2
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-165424
Problem:
aml smmu not work after suspend and resume.
Solution:
reinit the memory after resume.
Verify:
s7.
Change-Id: I1dc2da25da6a8837a701ec3a2b2b7e3b2f8ebe70
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-165984
Problem:
S7D uses different PATH_MISC_CTRL definition from other platforms,
and causes rdma issue in case of multiple displays in other platforms.
Solution:
use gfcd only for S7D.
Verify:
t7c
Test:
DRM-OSD-2
Change-Id: Ie13eff1c9e330340e2f4c21d9a90f72500c373f1
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-166010
Problem:
bt open fail when wifi off
Solution:
bt default power on
Verify:
soddy
Change-Id: I253a4568360ff839c23480d73d725b83d5f3ec35
Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
PD#SWPL-154847
Problem:
the init state of rfkill sw block is set to true which will cause the
power of bt device not applicable.
Solution:
add CONFIG_AMLOGIC_RFKILL_INIT_SW_UNBLOCK to set the init state of sw
block as false if the config is defined.
cherry-pick from: https://scgit.amlogic.com/#/c/391514/
Verify:
local sc2
Change-Id: I4f23651b1066146066e434a0869c94c625c8d3a9
Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
PD#SWPL-144894
Problem:
Still running commit and wait vblank ioctl
cause shutdown not to work.
Solution:
1.drm_wait_vblank_ioctl can suspend on wait vblank,
so use helper shutdown to disable KMS and disable irq.
2.drm_wait_vblank_ioctl can also suspend on lock before
waiting vblank, so force drm_device.num_crtc=0 to prevent it.
3.running commit can be suspended by blocking the atomic ioctl
thread and commit thread. For commit thread, flush worker of
thread and stop it.
Verify:
yocto + S905y4
android + s905y4
yocto + t7c
android + t7c
Test:
DRM-OSD-30
Change-Id: Id7c30e3afbcc83051ef4d1c4933c8e0140aebfd1
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-165513
Problem:
Autosuspend can't resume when connect usb disk
and enable ramdump.
Solution:
Optimize the DDR cleaning strategy:
1.delay 120s to clean up memory.
2.stop cleaning when the remaining free size
drops to 10%.
Verify:
on t7c
Change-Id: I93e64706e1a39a7e37f3a7dd4afb081c687c1f9f
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-166565
Problem:
multiple state setting by systemd-rfkill will trigger the
duplicated-power-on action in bluetooth kernel driver, and cause the
WiFi firmware loading failure when the power pin is shared by WiFi
and bluetooth device.
Solution:
add static device blocking state to prevent the duplicated power action
Verify:
t5w/s4/sc2/s7
Change-Id: I37081caed3f59af39b97449113027d22f9740696
Signed-off-by: Jun Zhang <jun.zhang@amlogic.com>
PD#SWPL-168019
Problem:
compile fail when CONFIG_AMLOGIC_DRM_CUT_HDMI was defined
Solution:
fix compile issue when CONFIG_AMLOGIC_DRM_CUT_HDMI was defined
Verify:
redi
Test:
DRM-OSD-45
Change-Id: I1dc8f2e74230e5bca703493cd949e4d62c387e79
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-166548
Problem:
modify force_skip_count to set video v/h skip
Solution:
modify force_skip_count to set video v/h skip
Verify:
s7d
Change-Id: Ib594589e27d08ccf563852afa543db8b752012ba
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-166378
Problem:
sharpness and pps interpolation can not control by node
Solution:
sharpness control enable by sr node
pps interpolation control by new node
Verify:
s7d
Change-Id: Idb1fbde67d91241fcdb53a74fc76e9db1d278868
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-163170
Problem:
place_entity optimize only take effect in arm64
Solution:
support arm32 too
Verify:
sc2
Change-Id: Ieff1908e72fdb2282866ea1309f480d068772482
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-169062
Problem:
enable kasan the aml_cma.ko can not work.
Solution:
no longer getting the total cma size.
Verify:
t5w.
Change-Id: Ifeae569341fe4376174a4f9b67646844858e6885
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-167468
Problem:
Adjust the size of codec_mm cma to 364M for CTS.
Solution:
Adjust the size of codec_mm cma to 364M for CTS.
Verify:
None
Change-Id: I812a6596db2e77448d8815ec5a017b09c87b1153
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-168002
Problem:
hpll and vsync is disabled when hdmitx reboot
callback, and cause drm block when reboot -f
Solution:
not disable hpll when reboot so as to not
block drm, hpll will be disabled when suspend
or shutdown
Verify:
T7/S1A
Test:
DRM-TX-19 DRM-TX-117
Change-Id: I6568e82cc31c7825719a5f918b67b5a8dfda1d24
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-164728
Problem:
Optimize driver.
Solution:
1. Use interrupts to wait for sampling to complete.
2. Follow upstream advice and remove use of mlock.
3. Key parameters are configured on DTS.
4. Add self-test interface.
5. Add average sampling interface.
6. Add sampling voltage interface.
Verify:
S7D/BM201
Change-Id: I81f7f8bc8e45c6ca9ec365c5af8ed09544d5cf4b
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-151948
Problem:
lost dvbt signal after channel scanning
Solution:
limit the operation of register 5D0 to the 6M bandwidth
Verify:
AY301
Change-Id: I0762216fd0c8423e76eac650789906870bc8ad6d
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
PD#SWPL-167233
Problem:
AW9523B cannot be used.
Solution:
The reset pin needs to be set high to scan the device.
Verify:
S5/AX201(V2.1)
Change-Id: Ifd7250b5b72308b9ee697540d5f1cd71d3286de1
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-167940
Problem:
can not get amlogic private format DRM_FORMAT_ABGR10101010
Solution:
modification get format api to get DRM_FORMAT_ABGR10101010
property
Verify:
s7d
Test:
DRM-OSD-62
Change-Id: Ifc759e76767a02cb1b00fc577058ebfeedc17ab0
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-164768
Problem:
When output fractional mode, the HPLL VCO will output as
5.94 / 1.001 = 5.934G
But this is not so accurate.
Solution:
Slightly adjust the fractional control of HPLL VCO and
make the output from 5,934.060058G to 5,934.065918G
Verify:
sc2/ah212
Test:
DRM-TX-38
Change-Id: Ic354577088b589dae70a6a7f114c5eb41cf1a707
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-168656
Problem:
cvbs power consumption is not low enough
Solution:
disable all internal function except bg
Verify:
s7
Test:
DRM-CVBS-3
Change-Id: I91ff1358a8ccdc58ce27fdbda4d8b1bdcf20d3d6
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-168484
Problem:
need inlinecrypt for emmc
Solution:
support inlinecrypt feature
Verify:
S7D
Change-Id: I444dd467692a65056c1572a8c34e0e28e0e8f0db
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
PD#SWPL-159608
Problem:
get pts is old
Solution:
update pts sync
Verify:
verified at s4d
Change-Id: I0ea6143c03fe6a43c2c6e9b79040f358c1e081b6
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-168356
Problem:
unsigned compared against 0
Solution:
remove the compare
Verify:
verified by t
Change-Id: Iade7a29f400e7aa9239f44d44240d688b7a6f62a
Signed-off-by: min.yang <min.yang@amlogic.com>
PD#SWPL-167251
Problem:
edid reading fails when edid block is greater than 2
Solution:
modify the logic of EDID reading different blocks
Verify:
SC2
Test:
DRM-TX-115
Change-Id: Ibcacbe2c678499f5345e41223dadd344007ccd24
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-163672
Problem:
set bg color at anytime
Solution:
move dummy data setting from video update to crtc_flush
Verify:
zapper s1a
Test:
DRM-OSD-20
Change-Id: I61baee791fe2024945f8bc3e621ee01ef13e0831
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#SWPL-168307
Problem:
change DVB fe num from 2 to 1 on D815.
Solution:
change DVB fe num from 2 to 1 on D815.
Verify:
S7+D815.
Change-Id: I9a85c5feedb1d2413a12db44ec940dfd48edaafe
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-162620
Problem:
when osd3 on/off, dolby core2a and core2c reset, but lut
updated fail
Solution:
1.force toggle more times when core2a/2c on/off
2.add force_toggle_once debug
3.force core2c always on, to avoid osd and dolby sync issue
Verify:
s5
Change-Id: I9ab9a3ecd6afb92b6d0663173cb95f02550ec47f
Signed-off-by: can.zhang <can.zhang@amlogic.com>
PD#SWPL-148139
Problem:
hdcp authentication issue
Solution:
sync hdcp related submissions to 5.15
1.it is not allowed to read the version of hdcp during the hdcp1.4
certification process, otherwise it will cause snowflake screen.
2.enable am_hdmi_info.hdmitx_on before updating HDCP status.
Verify:
sc2
Test:
DRM-TX-84
Change-Id: I7748f74e4a9afa9e59170a68284a8015cbf57173
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>