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-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-164404
Problem:
Back permissions are not separated from
front permissions.
Solution:
Separate back's permissions from front
and control them separately
Verify:
s5
Change-Id: I9e6465d5b8b45143a51c440d1a24160ad80087fb
Signed-off-by: xing.xu <xing.xu@amlogic.com>
PD#SWPL-167555
Problem:
lvds port B ser en was turned off when single port
Solution:
set all channel ser en
Verify:
txhd2_be311
Change-Id: I14f9eae246de611e49b2021a5cdf4bf505b1d9e2
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
PD#SWPL-167281
Problem:
isr task is not be running
Solution:
add detect and print to known location
Verify:
T3X
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
Change-Id: If8f0f66ef4179535d537229d0f8d99cc70ed230d
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-156095
Problem:
memory optimization
Solution:
set display cma to 16M
Verify:
local
Change-Id: I3cb54179f4e7ea2685fc0d0faac9e39d54ba2fe6
Signed-off-by: Lele Liu <lele.liu@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-162620
Problem:
when osd3 on/off, 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: I8d0cd4dc20b5021d4a1adbc6145fcda190aeab39
Signed-off-by: can.zhang <can.zhang@amlogic.com>
PD#SWPL-160457
Problem:
memcpy beyond individual struct members
Solution:
create a named mirror of an anonymous struct union
Verify:
sc2&sm1
Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-164135
Problem:
when hdmirx inputting in DV,vdin dw output was enabled,
the small window displayed abnormal
Solution:
enable dsc and sc
Verify:
t5m
Change-Id: I8ebc44fc6186c23f6888563b48af5145dc2ba308
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-167413
Problem:
vdin write mif may enter deadlock due to unstable vsync from RX
Solution:
enable wrmif deadlock recovery mechanism by set reg_last_sel bit
Verify:
t3x
Change-Id: I3143c90769bd0698048bb3ed66fe5cd05d73dbe5
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-166758
Problem:
Some customer neeed to support gpio sysfs in gki mode
Solution:
Porting common gpiolib-sysfs to common_driver
Verify:
T7_an400 & txhd2_be311
Change-Id: I72f60644fa383abe05409bfe0bf978c7ea901d92
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-165140
Problem:
for 625 line mode, wss AR label bits is LSB firstly,
it needs to revert the bits sequence when set register
Solution:
revert AR label bits sequence when set register
Verify:
sc2
Test:
DRM-CVBS-5
Change-Id: Ie23a224c6857b9efbf1a0ce76efaead743d20a81
Signed-off-by: hang cheng <hang.cheng@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-167190
Problem:
ion system continue will be used firstly default
Solution:
adjust the ion system heap init sequence
Verify:
T5M android-s
Change-Id: If6a40d58fe74271b4ce23761aa0ff47367e6ded4
Signed-off-by: dezhi kong <dezhi.kong@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-166696
Problem:
After clk is unstable, it will pull HPD to recover
Solution:
Remove ESD protection and pull HPD action
Verify:
t3
Change-Id: I7e87d7865de86efef25597430f262cd5714fce03
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-166462
Problem:
spk mute depend on the active gpio flag,
it is the opposite of the spk work state
Solution:
invert spk mute flag
Verify:
s7
Change-Id: I966d6fa7432426e8afaf50bb093273e7905d30a8
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
PD#SWPL-159699
Problem:
When switch from pre-link and process interlace video,
it will occur the arb error
Solution:
1. Improve mcvec and MTN urgent
Verify:
Verified on s7
Change-Id: I0d190d073abe9a5048bf381143aeb614aee282af
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
PD#SWPL-160150
Problem:
play HDR video under DV_STD, output as SDR
Solution:
auto change the color depth to support HDR under DV_STD
Verify:
SC2
S5
Test:
DRM-TX-90
Change-Id: Ifd830c91c68a600f5ac4c3b9e00b0709083b74e8
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-151581
Problem:
Need di post-link mode
Solution:
add new DI post-link flow
Verify:
Verified on txhd2
Change-Id: I37b9c080699844a472859a1e2aced82434c82739
Signed-off-by: brian.zhu <brian.zhu@amlogic.com>
PD#SWPL-167081
Problem:
vdin set unknown frame in game
Solution:
videoqueue not wait 4 frame when game mode
Verify:
t3x
Change-Id: Ice94d40544f65054cded3c8e0832e7d555479b25
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
PD#SWPL-165169
Problem:
plug-in usb3.0 u-disk and suspend, change another usb 3.0 u-disk,
and then resume, xhci died:
xhci-hcd-meson xhci-hcd-meson.0.auto:
Abort failed to stop command ring: -110
xhci-hcd-meson xhci-hcd-meson.0.auto:
xHCI host controller not responding, assume dead
xhci-hcd-meson xhci-hcd-meson.0.auto:
HC died; cleaning up
xhci-hcd-meson xhci-hcd-meson.0.auto:
Unsuccessful disable slot 1 command, status 25
Solution:
disable port before disable slot
Verify:
CRG IP
Change-Id: Ife1f374c849cfe16482ae151d57c6d6e7dc23c9d
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-167249
Problem:
The parent of pwm_j_div is incorrect
Solution:
Fixed
Verify:
s4_aq222
Change-Id: I58f245a2d09bf3b15476ea72a675f50ceb40cd7f
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-162200
Problem:
adjust the size of codec_mm cma to 168M without DTV PIP enable.
Solution:
adjust the size of codec_mm cma to 168M without DTV PIP enable.
Verify:
S805X3
Change-Id: Ie8965f428b972709aae8e06e5bec0a44c4fd8ae5
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-165368
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:
S905Y5
Change-Id: Ibccabafe9b9f007892ba903db5d960ae5dece210
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-165771
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:
sm1_ac215
Change-Id: I2f79fda0c07312ed2bf1bf6203ac16e82f361e14
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>