PD#SWPL-197018
Problem:
loopback and vad can't get pdm filter value if
they can't get pdm node from dts config.
Solution:
set pdm filter default value.
Verify:
t5m
Change-Id: I5d390531969a8585d9c665172ba53d4b473a1862
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-196879
Problem:
Memory: 1919048K/2097152K available (16832K kernel code, 2014K rwdata,
11228K rodata, 4416K init, 584K bss, 18446744073709099852K reserved
Solution:
we initialize cma in advance in cma.c,
which results in that the cma counted twice.
Verify:
sc2.
Change-Id: Ia92b90c8876e58f8a875f3d59b780ce465a6e53a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
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-197249
Problem:
kunit test modules is build as gki modules,
but not in system_dlkm img and is not needed normal
Solution:
get all gki modules, and only save need
Verify:
local
Change-Id: I7ee3010faa86d7567823f2a1bc7cb48155c9e781
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-197095
Problem:
the code logic of the thermal common binding cooling device in
kernel6.12 has been changed.the previous dts configuration is no longer
applicable and needs to be modified
Solution:
modify the configuration of the dts cooling device based
on the thermal common binding logic
Verify:
sc2
Change-Id: I4f6b128837fc16613d2c81b98204cda524f0d261
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-190049
PD#TV-132399
Problem:
improve fifo delay
Solution:
choose the mini value for fifo delay,
from period bytes, fifo depth and one ms fifo size.
cherry pick Id32d31af8ebb0929e0d9b18f44947ce14a7b250a
Verify:
local test + ohm
Change-Id: I6db7b272a521d79d08f6f27f676143d87b8e6b72
Signed-off-by: chuntian.miao <chuntian.miao@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-195015
Problem:
sync dst setting
Solution:
make all the dts setting as eth same for eth
Verify:
ADT4+
Change-Id: Ie56777d0a3621bea1861186a49d45e83ffef4ee1
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-196548
PD#SWPL-196423
Problem:
In the Kernel, reading and writing SCMI shmem is non-cache, but in bl31
it is cache. Therefore, it will cause an abnormal SCMI communication
between BL31 and the Kernel due to the cache synchronization issue.
Solution:
SCMI shmem of bl31 is changed to non-cache.
Verify:
A113X2/S905C2
Change-Id: I911a9dd3382b195cb7a16719fa13e290446ba160
Signed-off-by: Chuan Liu <chuan.liu@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-196487
Problem:
vts test /proc/sys/ node failed
function sysctl_check_table failed
because autopatch add a null node in kern_table struct
Solution:
remove null node in autopatch
Verify:
local
Change-Id: Ia3647494477b45c06b86ebd51a118718668f53d2
Signed-off-by: qinglin.li <qinglin.li@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-196548
Problem:
In the Kernel, reading and writing SCMI shmem is non-cache, but in bl31
it is cache. Therefore, it will cause an abnormal SCMI communication
between BL31 and the Kernel due to the cache synchronization issue.
Solution:
SCMI shmem of bl31 is changed to non-cache.
Verify:
A113L2
Change-Id: Ib113b59209169b57e224f98e0b180b0322764cdf
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
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>