PD#SWPL-228126
Problem:
The kernel needs to be adapted to the aocpu watchdog.
Solution:
add config.
Verify:
build ok
Change-Id: I032224c9558401def04eb85daa443cd79b0b9352
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-233214
Problem:
In the secure playback context, the newly allocated TVP_POOL
was not granted access permissions for vdec/hevc.
Solution:
After allocating a new TVP_POOL, the TEE module checks and
synchronizes the current vdec/hevc access permissions,
add interface with lock
depends on CL:
600559
Verify:
S905X5
Change-Id: Iffa38ffabbb5b8edcf5f54dc88c18e21495b568b
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-233665
Problem:
lvds port_swap, lane_reverse no effect when use version3 phy_attr
Solution:
lvds port_swap, lane_reverse will take effect base on version3 phy_attr
Verify:
ay301
Change-Id: Idc3eadac5b5c7d374c9e7f876d3039b9c75c3581
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-233636
Problem:
add sink_device_type property
Solution:
If IEEEOUI is declared in the current EDID, it indicates
that the current device is an HDMI device. Otherwise, it is
a DVI device.
Verify:
qurra
Change-Id: I4667978714afc5d2ed610489ca252c6d50bcb0e7
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-235053
Problem:
json file limit to 16k,
it may parse error while too much "comment" or "space" in file
Solution:
limit valid parameters to 16k instead of file
Verify:
t6x
Change-Id: I1e422833e0a8c168857e6c48150df414c2b22ec9
Signed-off-by: jie.dai <jie.dai@amlogic.com>
PD#SWPL-235559
Problem:
kernel crash when read bl2 in s4. it is bring by commit <6f85cdea>.
in old platform e.g. s4
don't use common pageinfo method (in drivers/mtd/common/page_info.c) and
in old platform common page info also would not prepare page info resource
e.g. boot_layout、pages_per_copy、bl2_copy_number and the most important
boot_info buffer. so if these old platform to use common page_info method
maybe will cause a crash, because these method maybe use theset variables
and if using boot_info which is null will cause a crash because unable to
handle kernel NULL.
Solution:
1. don't to use the common page info method in old platform
2. by the way, delete the useless <drivers/mtd/nand/meson_parse_part.c>
which has been replaced by <drivers/mtd/common/meson_parse_part.c>
Verify:
s4
Change-Id: I9815f3229cbb9da830d51803bd2dd527b2858af0
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
PD#SWPL-221976
Problem:
Werror=missing-prototypes
non static function need define in head file
Solution:
1. fix Werror=missing-prototypes
2. non static function need define in head file
3. need remove unused static function
Verify:
pb build 692
Change-Id: I8978198b7bcba2b9ecbee0e8e27889637b8a5836
Signed-off-by: joy.rao <joy.rao@amlogic.com>
PD#SWPL-234877
Problem:
The user layer requires a compatible WOL interface.
Solution:
Make the old WOL sysfs able to control the functions of the new WOL.
Verify:
S6/BL201
Change-Id: Ie5ef660ec2929904277a06343445916c3ef481a7
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit 69a1930ae8a073befee2d45d7cccbf9eea6636da)
PD#SWPL-228929
Problem:
the uboot mode is 59hz. When the device is powered on for
the first time and qms is enabled, the output under uboot
will switch to 60hz. After the kernel starts, the mode
passed by uboot to the kernel is 59hz, so qms is switched
to 59hz
Solution:
after uboot configures qms, kernel should not configure
qms again
Verify:
S905X5
Test:
DRM-TX-78
Change-Id: I264f9edd567863e0df1da1cbcf4533da825fac91
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-224631
Problem:
mtd partition in spinand and slcnand have no difference,
should unify there code
Solution:
1. spinand partitions table define in dts keep same format with slc nand:
partitions {
#address = <1>;
#size-cells= <1>;
partition@n {
label = "part_name";
reg = < ... >;
};
};
instead of:
partition = <&partitions>;
partitions: partitions{
part_name {
offset = < ... >;
size = < ... >;
};
}
2. the definition of SLCNAND bl_mode in dts remains the same
as that of SPINAND
bl_mode = <0> : NAND_FIPMODE_COMPACT;
bl_mode = <1> : NAND_FIPMODE_DISCRETE;
bl_mode = <2> : NAND_FIPMODE_ADVANCE;
in this way, SLCNAND does not need to define bl2ex_mode in platform data by
meosn_nand.c
Change-Id: I32d1b1b55e6c927d73937f8f748d8285f3c6dff3
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
PD#SWPL-231810
Problem:
t6x need to support more output mode and timing
Solution:
1. Add 170/180/340/360hz output mode
2. Update max timing to 15
3. Update pll setting
Verify:
t6x
Change-Id: Ib4012179abbdd95aa581083aaab0ef20a30ddc78
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
PD#SWPL-228972
Problem:
need update ioctl phy tuning to support data lane sel
Solution:
update ioctl phy tuning
Verify:
be311
Change-Id: Ie7fec5ff49d877929468d2f1aed2604b562f2a93
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-191471
Problem:
there is compiling error when CONFIG_MMC is disabled
Solution:
add empty function for aml_sd.h
Verify:
t6d
Test:
Boot
Change-Id: I30f1a37558a9e8758caf15aa03420665721e5b97
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
(cherry picked from commit 7c81baeff3)
PD#SWPL-198207
PD#SWPL-150271
PD#SWPL-200483
PD#SWPL-169836
Problem:
need sync kernel5.15 code
Solution:
1.add bl hold on config
2.Synchronize the index of bdrv and bl_level
3.analog_pwm_config function usage error
4.set bl_pwm_ctrl before bl_on_delay
Verify:
t5m, t3x
Change-Id: Ied3edfb68d59ab5d06014e3f9f576c319eb45eb4
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-231150
Problem:
f2fs is no need for extern ko
Solution:
remove it and use vendor hook for amfc
Verify:
s7d
Change-Id: I268d4e2bbc8bc9d7af0b2f1fce46690d5eac9832
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-228896
Problem:
6.12 can not support t6w
Solution:
add support
Verify:
t6w
Change-Id: Ia079e5a9e16322d15f7bd733cf19843bf48c5364
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-230799
Problem:
add video mute bypass to debug
Solution:
add support
Verify:
tv chips
Change-Id: I83a956b949e7edcf6983b1aab728f70964c4f71c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-229258
Problem:
some scenarios hope to dynamically modify the cma task priority.
Solution:
provide interface to set cma task priority.
Verify:
local.
Change-Id: I72ad141f3535a9173f622ff73c79c96440aa76da
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>