PD#SWPL-190877
Problem:
need add flag to indicate whether it's qms mode or vic mode
Solution:
use mode hskew to indicate
Verify:
s7 qms
Test:
DRM-OSD-45
Change-Id: Ib675650b02d687438aa6a9eae3d846e6fac46c10
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-149860
Problem:
1.ErrorMonit requires additional debug
levels to be set to the driver.
2.ErrorMonit needs to receive the error
information from the driver in real time.
Solution:
resman driver needs to add nodes so that
ErrorMonit can get the error information
in real time.
Verify:
S905Y4
Change-Id: I8feaacc2e03b201a568b8abbdf77ba4c5e2e0859
Signed-off-by: zhewen.luo <zhewen.luo@amlogic.com>
PD#TV-137304
Problem:
zram warning during reboot, there still have amfc access from user
when shutdown
Solution:
remove shutdown interface to keep always on
Verify:
t6d
Change-Id: If4696fa9cb5c35cb1edecac7a59fd8a2d4e0c979
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-187818
Problem:
crash when run auto-reboot. There still have zram request when
shutdown amfc.
Solution:
Use syscore shutdown call back for AMFC
Verify:
t6d
Change-Id: I6e8e37f9f1b543a04fb4503dcd0dc821f4c89002
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-183575
Problem:
No hooks for suspend/shutdown
Solution:
add them
Verify:
t6d
Change-Id: Ifde953475979d2584cadacf3d0e1bf28088f80e8
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-181954
Problem:
uImage not decompressed by AMFC
Solution:
1, change zstd tools to append size at end of uImage;
2, change scripts to support uImage decomperss by AMFC
Verify:
t6d
Change-Id: I2f2465a2247085c150a1c7f42ede688011745071
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-177699
Problem:
the ioremap size is res->end - res->start,
it should be res->end - res->start + 1
Solution:
use resource_size instead
Verify:
t6d ptm
Change-Id: I32ee1248978c0646d5d24830326fa34a8209b37b
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-189590
Problem:
container_of thermal_governor_list head is not thermal_governor structure,
then we can't use gov->name to visit.
Solution:
use sprint_symbol to convert gov->name, and then use the converted symbol
to compare with the target governor name.if match then set the target
governor ,else skip current node.
note:
1.this solution strictly rely on CONFIG_KALLSYMS, if CONFIG_KALLSYMS
is not set for gki20 project, then the solution would fail.
2.remember to configure default governor in config file for non-gki20
project.
Verify:
S5
Change-Id: Ie5b2ddcdb5bcc5c1b461e526fcc4107e0c8d016f
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-182971
Problem:
cpufreq&gpufreq coolingdevice need IPA governor
Solution:
customize default governor to IPA for cpufreq&gpufreq
related sensors
Verify:
S5
Change-Id: I81f9884362db914de4710a2bef1ccca1d38fb461
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-189702
Problem:
di main task grab di mem task resource;
di mem can't alloc memory
Solution:
modify the task flow
Verify:
S905Y4
Change-Id: Id82cde506fd1c6607b9606f7fa8f6a49cdd2de58
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-187818
Problem:
AMFC time out when booting
Solution:
temp retry if timeout
Verify:
t6d
Change-Id: I2c9841709833e25ad39a8486da5f4b42eddaf822
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-188070
Problem:
use video/audio es splice as default
Solution:
use video/audio es splice as default
Verify:
verified at sc2
Change-Id: I06c0609e27b28eab7a96dd95b3541e1162434c9a
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-184101
Problem:
AV not sync
Solution:
don't jump es to handle corner case.
notify high level when dmx can't get any data
Verify:
verified at T5W
Change-Id: I5285916b1541652cb1fa7c422ed792864b7253ba
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-172223
Problem:
video not smooth
Solution:
add pts adjust for slow es
Verify:
verified at project
Change-Id: I74df9a677aca67a243d1c00b1be5bcfcaf5ce27e
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#TV-104514
Problem:
no notify for test streams
Solution:
add notify when es wp change and es header no change, just for t5w
Verify:
verified at t5w
Change-Id: I325c1b422bbe3831d9b44a915f962e4fd0babf9d
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
PD#SWPL-191644
Problem:
bypass flag been set in dummy output,but not
reset for later frame
Solution:
Modify bypass flag set flow in DI process.
Verify:
s7
Change-Id: Ie9d72638c8ee903e59fb90b6a508ec6ecb2fea3d
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-181717
Problem:
cancel_delayed_work() may not cancel the work in time
Solution:
stop frl first at disable phy
Use the cancel_delayed_work_sync() instead
clear frl mode at hdmitx_set_frl_rate_none
Verify:
s5/ax201
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82
Change-Id: Ifac6bce137f251c3d643afae60d567c75eee81c0
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-186512
Problem:
Android U support di backend for s5.
Solution:
Android U support di backend for s5.
Verify:
s5
Change-Id: I91de8156994914e16da8cda4b448a7252c709c97
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-184274
Problem:
cma_release crash
Solution:
Fix a regression of add secmem v3 support double free
secure dmabuf block's private struct memory space lead
random aml_cma_free crash
Verify:
T3X
Change-Id: I163a8a4bebe99f650518cdad8fc22b9b97d20382
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
PD#SWPL-184881
Problem:
add driver pm interface for hibernation to register
secure vdec memory range
Solution:
add driver pm interface for hibernation to register
secure vdec memory range
Verify:
S905Y5
Change-Id: I95674dc599d0627ab2ad7481c3d549449ea2280c
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
PD#SWPL-190770
Problem:
coverity issue: the function of "parse_power"
may cause memory - corruptions
Solution:
using static value to save label of gpio
Verify:
local
Change-Id: I95b79ca2ed461959e9be6ddd731429f79e4a2e7e
Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
PD#SWPL-182727
Problem:
Two present fences may be created within one vsync,
but current drm driver doesn't support it.
Solution:
In one vsync, only the first fence is created. For the 2nd
fence, reuse the first one, and only increase its ref
count, and install a new fd.
Verify:
SC2
Test:
DRM-OSD-39
Change-Id: I9cd2d7d54043bf7640f0130b3ab86bb732686b16
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-179486
Problem:
In stream mode, when the decoder cannot decode the data, it
needs to pass the under input information to the upper layer.
Solution:
Pass the under input information to the upper layer.
Verify:
Ohm
Change-Id: I55530bcd0085c87dfa752ca831ee76b070c1bce4
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
PD#SWPL-177308
Problem:
H.266 support 34bit
Solution:
add a reserved pool to alloc mv buffer
Verify:
s6_s905x5_bl201
Change-Id: Iff86b122bed9eef0c7dd8858aef7a452f02bd015
Signed-off-by: Hao Shi <hao.shi@amlogic.com>