PD#SWPL-196060
Problem:
tvp use alloc_from_cma alloc protect memory
when dmc access this range, will be creat serror
Solution:
dmc filter tvp alloc_from_cma memory by pagetrace
Verify:
local
Change-Id: I8aff1a76e8f774ae7cc665f62756ef3a510ddd29
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-197265
Problem:
Access violation seen on TDES
Solution:
Correct the buffer address in TDES
Verify:
S6
Change-Id: I068cb8b73968467b160c93e96daa21b1036f07d8
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-197216
Problem:
mmap should be locked in show_vma or may caused WARNING
Solution:
add mmap_read_trylock
Verify:
sc2
Change-Id: I29cb7fc4f03b9db90c9e6daf98618657a4724f38
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-196173
Problem:
cts HF1-66 test fail, the edid only support 480p and 576p,
but the UI display 720p and 1080p, select 720p and 1080p
will test fail
Solution:
before: will set default vic when edid has one block
now: set the default vic only when no vic or edid invalid
Verify:
s7d
Test:
DRM-TX-142
Change-Id: Ia4cc91d21ec974a22b4c44fcc8abddebdec3c212
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-188294
Problem:
expend get video info ioctl to get vframe souce crop
Solution:
update api of get video info
Verify:
sc2
Change-Id: I6928c9d28d9123a062297a2c04e23af66f476669
Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
PD#SWPL-194784
Problem:
kernel6.12 UBSAN error:
index 141 is out of range for type 'struct dtd[16]'
Solution:
When dtd_idx is less than 15, idx++
Verify:
sc2
Test:
DRM-TX-38
Change-Id: I0cf5b2d6728e5f13770b0941eaf8ddb9e63e60f3
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-192244
Problem:
vc need to send 10bit YUV data to vpp
Solution:
send 10bit YUV data to vpp
Verify:
T5M
Change-Id: Ifacf9e8513e88de5435c24e41645cf1c3ce0f5d7
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-193855
Problem:
print too much log when oom.
Solution:
pagetrace prints above 1M of info.
Verify:
sc2.
Change-Id: I12c5de2f6ebfc9591fb722f1f8a0c57b18f0a48f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-197053
Problem:
disabled CONFIG_KALLSYMS_ALL cause user_fault can't find init_mm
Solution:
get a faked init_mm from ttbr1_el1
Verify:
sc2
Change-Id: I95c711abcc9b37205b742e7ac7839acc65466bc7
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-195155
Problem:
vpp needs to perform line skipping while high bandwidth
Solution:
add the corresponding flag check
Verify:
t5m
Change-Id: I0663dbb6dd0fb90058f8afba4ec7d75c76d77dc6
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
(cherry picked from commit 170cdf7d3d)
PD#SWPL-196879
Problem:
some page fall into cma pool, causing slow cma allocation.
Solution:
add GFP_NO_CMA flags.
Verify:
sc2.
Change-Id: I5a319b7ce85d735e14289786fb5b80cc59f73009
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-196545
Problem:
Synchronize from upstream.
Solution:
Implement the get_direction callback so we read the direction
from the actual GPIO controller register. This is recommended
by the gpio_chip kernel doc.
Verify:
T6D/BR301
Change-Id: Idc436ae6546ee0985477b69819f84668f46b8f13
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
PD#SWPL-193205
Problem:
coverity error:
1.Improper use of negative value
2.Uninitialized scalar variable
Solution:
Change "u32" to to "int"
Initialize struct members
Verify:
SC2
Test:
DRM-OSD-85
Change-Id: I6acfedb75ed334488ad44dc35bfcd79765e92d49
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-195015
Problem:
kernel 6.12 sc2 mdns function not work
Solution:
porting mdns function from 5.15 to 6.12
Verify:
ADT4+
Change-Id: I3e79139fba679bf4c51ef27f09b4a6f08e194ad1
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-196095
Problem:
Mailbox DSP RX data size is incorrect when mailbox
device node is operated or mailbox API is called
with TSYNC mode to receive data from DSP
Solution:
Modify mailbox driver to configure correct mailbox
RX data size to receive data from DSP
Verify:
SC2-AH212
A1-A113L
Change-Id: Ibaf7ef6315bf3ae158bd7d8bdd6b3207f18e67ed
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-195314
Problem:
unify allm/game_ct show and store
Solution:
unify allm/game_ct show and store
Verify:
s905x5/raman
Test:
DRM-TX-30, DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81
Change-Id: If0889dd203f446d14f2fd4d638227d008803956f
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-194326
Problem:
abnormal log print
Solution:
Register interrupt service for BT wakeup
according to the definition of gpio_btwakeup,
ignore it when undefined.
Verify:
adt4
Change-Id: I42cee568dc66f7104c4e4ea6dd3a815735ac19bb
Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
PD#SWPL-195967
Problem:
dsc crash
Solution:
dsc and demux should use same mutex
Verify:
verified at s7
Change-Id: Id90f5698d885fad8566e894a0e82a051b800ccfc
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-195698
Problem:
CEC anomaly invalid physical address
Solution:
change hdmi_init from 1 to HDMITX20 or HDMITX21, When registering cec,
the hdmi_init judgment condition is still hdmi_init == 1, which causes
registration failure and fails to get the correct cec physical address.
modify the hdmi_init judgment condition to solve this problem.
Verify:
S905X4-AH211
Test:
DRM-TX-78
Change-Id: I32d34f01174f9ab6c6e9bf311ad91d2307e3a13c
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-195605
Problem:
Need event type to be configurable.
Solution:
Support configurable event types.
Verify:
T6D/BR301
Change-Id: I17693afcb65b8897374b07c067555f5198ccd962
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-195955
Problem:
support mbox for s7d
Solution:
support mbox for s7d
Verify:
s7d
Change-Id: Ib6bfa8bb3d6b15b13403117aee9c22cd0927b20c
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
PD#SWPL-195763
Problem:
support clk for s7d
Solution:
support clk for s7d
Verify:
s7d
Change-Id: Icd1a1c9cf8f2bdbe10e18bc89291a1587cf0e7e1
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
PD#SWPL-186430
Problem:
need remove vrr function point int the meson_hdmitx_dev struct
Solution:
1.remove drm vrr function point callback
2.provide function api
Verify:
SC2
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82
Change-Id: Ia0db79a517ac850e8ceec742a9ee52744b6db4fc
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>