PD#SWPL-185799
Problem:
When the character length of the content exceeds PAGE_SIZE,
memory leaks may occur.
Solution:
Limit and check output size
Verify:
s7d/sc2
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82
Change-Id: I538183ca41520bf5119062508f7d47b4d33b0eb6
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-176719
Problem:
when pwm's clk be locked by tee, all pwm should follow tee.
so, should support wifi 32K on pwm tee module.
in case of clk of wifi's pwm channel being locked.
Solution:
add double channel to match wifi 32K legacy used.
Verify:
s7
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
Change-Id: I343be31d409cf1480b5681acc1ec83fd7a7fad5c
PD#SWPL-178593
Problem:
current_item use after free
Solution:
us is_idle instead of current_item
Verify:
s6
Change-Id: I95051da49c0bfd7ae6feaf73f3334bd18791bd08
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
PD#SWPL-181881
Problem:
S6 need to support multi2
Solution:
Add api for multi2
Verify:
Verified on bl201
Change-Id: I124eeda9df93d9a7f0bacba3ad5c663f341852f5
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
PD#SWPL-182609
Problem:
There are some hdcp fail messages in mesondisplay logcat.
But IVCX chip don't need HWC to enable hdcp flow, SNPS chip need.
Solution:
Add hdcp_user property to notify HWC of controlling dynamically
hdcp flow
Verify:
sc2/s6
Test:
DRM-TX-37
Change-Id: I146187a7843dbd83a7531d3415fb28249a6ef086
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-175070
Problem:
1, need set audio mode when change video mode
2, hdmitx will not set audio mode when audio notify hdmitx set same
audio format
3, mute/unmute flow will lead to PA/PB appears in non SP0 position
Solution:
1, send new event to audio hal and set audio mode
2, hdmitx set audio mode when audio notify hdmitx set same audio format
3, need audio hal reset set audio mode when mute/unmute
Verify:
sc2/s7d
Test:
DRM-TX-86
Change-Id: I416d7f78779b3f5e8bd751b12fcda5784ae014fb
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-179882
Problem:
vrr_enabled was zero in logo init stage.
when hwc set mode, drm hdmitx connector will do a full modesetting
it will lead to black screen flicker
Solution:
get vrr status by hdmitx api.
if qms is enabled, vrr_enabled will be set to true
Verify:
s7d
Test:
DRM-OSD-2, DRM-OSD-45
Change-Id: I581fb9de6d578ec920bce01278a43e4b29cb2f0c
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-181888
Problem:
HDR10plus is only supported by OTT when
is_hdr10plus_enable is 1
Solution:
add is_hdr10plus_enable flag
Verify:
S6
S4
Test:
DRM-TX-73
Change-Id: I3998c9aa62baae836431e2fe649af5a97bd49650
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-177588
Problem:
video_composer need notify frame display info to mediaproxy
Solution:
notify frame display info to mediaproxy
Verify:
T5M
Change-Id: I5da4354b0fc2bb1097faa759572504b4036db713
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-181880
Problem:
hdr10plus func need open or not
Solution:
add code
Verify:
local
Change-Id: Idd08e9e7ea740ee9634367162b626eb0a1fd3b95
Signed-off-by: can.zhang <can.zhang@amlogic.com>
PD#SWPL-182203
Problem:
input format and output format are different
dewarp need to support swap U/V
Solution:
complete it
Verify:
s6
Change-Id: Ied820eca7f6690c707318317657c9e6d5edcbd89
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
PD#SWPL-179075
Problem:
dmc monitor not filter cma allocation function by default.
Solution:
set the special migrate flags for dmc monitor.
Verify:
local.
Change-Id: Ie55a22685edc386c1e2af53a31269669e852d089
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-177051
Problem:
1 Di module can not call proxy api for 5.15.
Solution:
1 Move MediaProxy to kernel common for 5.15.
Verify:
t5m
Change-Id: I573f51392c809b77bf6a2e8194a4a3a451f1cc35
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
PD#SWPL-176242
Problem:
dmaheap driver need support debug & class node
gralloc need use ioctl to get dmaheap info
Solution:
add class and debug node for dmaheap
add dmaheap ioctl for gralloc
Verify:
s7d
Change-Id: I60fa73f6c51bbb37fc81531e61b28ecd1fbf700f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
PD#SWPL-177527
PD#SWPL-173088
PD#SWPL-173090
Problem:
The HPD signal may be come from HDMI HPD, but eARC has HPD
status from status bits
Solution:
Add reading EDID data in external plugin handler with mutex
No external plugout handler
Verify:
sc2, t7c
Test:
DRM-TX-38
Change-Id: I443e69aa6c8949a0d49df476108414431fd067d7
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-177679
Problem:
S6 usb high power.
speed-drop usb devices.
u2phy disconnect, squelch & edgedrv cali
Solution:
Optimise suspend logic by holding usb controller reset bit,
usb controller comb reset bit, usb2_phy_reset_bit, usb3_phy_reset_bit
.Besides:
1. reset usb3_apb_reset_bit and leave it set then modify corresponding
static regs for low power.
2. off unused usb3phy digital 100M clk.
3. Some quirky devices take >2s to turn on Rterm and begin polling
after resume, which is seen in the new clean usb3 phy. This leads
to wait_for_connected timeout when resuming. Add XHCI_MISSING_CAS
for xHC to workaround by asserting warm reset at resume.
The speed-drop usb devices TX maybe unstable at insertion, leading to
CDR KI overload. Delay freq tracking start point by modifying fr_en
delay 1us->300us.
Modify params in driver & dts.
Verify:
BL201.
Change-Id: I4d6139ecad79e8582ada818338fcf53a1d66b131
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-176790
Problem:
S6: support read cali data
Solution:
S6: support read cali data
Verify:
S6 BL208
Change-Id: I3c3d7ba9f6b9ad619141ef0496b74c6648007d4a
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
PD#SWPL-176775
Problem:
scatter keep size need expand for vdin
Solution:
scatter user can set scatter keep size
by register scatter owner.
Verify:
ohm
Change-Id: I4be8af6dff0454cda9191666ec48cd1e03464127
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-168062
Problem:
when osd3 on/off, core2a and core2c reset, but lut
updated fail; drm enable osd3 is one vsync earlier
then dv core2c
Solution:
1.drm set core2c lut when osd3 off->on
2.add force_toggle_once debug
Verify:
s5
Test:
s5
Change-Id: I5fe2a7abd1f4b887da5f32a655a24418fee86b64
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-176326
Problem:
s6 need to support 1080p120hz
Solution:
s6 need to support 1080p120hz
Verify:
S6
Test:
DRM-TX-130
Change-Id: I594f9671b36d3ea27c838bcf349a06cdcf2c707c
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-174291
Problem:
need to improve sido wifi performance.
Solution:
Switch sdio source clock to DIV2 to provide bandwidth
Verify:
S7 ax201
Change-Id: I471517743851f381ec5d50aac3df9b26e5fe4aee
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-158175
Problem:
the first dv signal did rgb2yuv by hdr core,
resulting in blue flashing.
Solution:
dv signal is not processed by rgb2yuv.
Verify:
t5m.
Change-Id: I886940deb9e943dd91c7426b7c71374fcba51b02
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-175588
Problem:
Need support s7d revb
Solution:
1, add clk set for revb;
2, use clk interface for clk set
Verify:
S7D bm201
Change-Id: I168a942f6796208dd4dff67a13f065be14a40f0c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>