PD#SWPL-191318
Problem:
display error when switch ratio
Solution:
when vd1 crop > aoi, disable aoi,
set aoi reg size to original VDR register
Verify:
t5m
Change-Id: I407920d7f3270918a7cdb9071f6fd97462577a81
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-190776
Problem:
Coverity failures
Solution:
1. Mark coverity event_tag: returned_null and
use_after_free as false positive.
2. Coverity supposes krealloc() will free tmp_buf and return
tmp_buf as tmp_buf2. This is incorrect, since tmp_buf is
freed only when returned value(tmp_buf2) is NOT the same as
tmp_buf in krealloc()
Verify:
Coverity(2024.3.0)
Change-Id: I97864d6ae01dcac6e6b648c1ec44820d0f77c81c
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
PD#SWPL-189586
Problem:
when di local buf and screen mode dot to dot,ratio_y is half, caused
ratio adjust error
Solution:
before ratio adjust, when di local buf ratio_y * 2,after ratio adjust,
ratio_y / 2
Verify:
t6d
Change-Id: I90fbce074b49d3fa36e19c0ee9fe446a96e31022
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-191072
Problem:
tvp_pool is too big which affects system efficiency.
Solution:
During secure playback, to alloc mem according to actual requirements
Verify:
T6d
Change-Id: I119a41322e9e1028de73851e3620a50ec8d819a2
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-192108
Problem:
HFR5-2-52: eARC RX Layout B Error Correction Test FAILED.
root cause: DMA buffer pointer is hang.
Solution:
setup a timer, and if pointer is hang, reset pll and trigger xrun.
Only reset pll, it may has channel swap.
Verify:
sc2
Change-Id: I51bb98f57aad8a7aae0f64f8bc0415ab0b960e69
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-182182
PD#SWPL-190334
Problem:
TEXTOFFSET was changed from 0x00208000 to 0x02008000, causing some
devices to fail to start.
1. t5d Android U upgrade project, ko becomes build, uImage size
increases to 36MB. It is too big to relocate.
2. There is only 48MB in 0x020080000~0x5000000 area, and cannot
open kasan.
Solution:
1. use new config CONFIG_AMLOGIC_RAMDUMP_TEXTOFFSET instead of
CONFIG_AMLOGIC_RAMDUMP. And TEXTOFFSET is 0x00208000 default.
2. Use a new solution instead of modifying TEXT. Specifically,
during kernel panic, move 0-24MB to a higher address. Reboot to
uboot and then copy back.
Verify:
T5D
Change-Id: I1c9c086b89129893e5542676b54228e03b4e34c2
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-191117
Problem:
lcd_init_level 1 no save brightness value
Solution:
save brightness value before return in
lcd_init_level 1
Verify:
daisy
Change-Id: I67354b95485d919d32e6323620ed3b84bb181ead
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
PD#SWPL-191028
Problem:
AMD PC reading edid has issues
Solution:
Change time based on edid type
Verify:
t5m
Change-Id: I4663fb225410a4574e23a07e1abe110b08c4debd
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-189849
Problem:
cannot recover from the fault state
Solution:
1. to avoid releasing the wrong address due to no assignment
use kzalloc to replace kmalloc
2. replace wait_event_interruptible_timeout and wake_up_interruptible
to wait_event_timeout and wake_up
Verify:
t7
Change-Id: I27ef2cd789389cf22b92d263aceefa0229b01c71
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
PD#SWPL-183230
Problem:
the mixer driver should be cut through CONFIG_AMLOGIC_AUDIO_CUT for
zapper.Zapper doesn't have much memory space. If it is not compiled
into the mixer driver but instead called mixer_int, it will result in
undefined mixer_int.
Solution:
cut the place where mixer_init is called by CONFIG_AMLOGIC_AUDIO_CUT.
Verify:
t6d
Change-Id: Ie054e8327e382f18719edc5c405d47a4aa852ce7
Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
PD#SWPL-190670
Problem:
color system was wrong during atv channel search.
Solution:
optimize signal detection flow.
Verify:
t5w
Change-Id: I3491b88c6d51f395c9f2f3b1d74e5e1011093703
Signed-off-by: Lei Yang <lei.yang@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#SWPL-186208
Problem:
1.the remote control cannot adjust the HDMI output volume
2.The audio module should not be controlled by
CONFIG_AMLOGIC_ZAPPER_CUT macro
Solution:
1.change the output source of HDMI to TDMC
2.change CONFIG_AMLOGIC_ZAPPER_CUT to CONFIG_AMLOGIC_AUDIO_CUT
Verify:
ap232
Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
Change-Id: Ic6fbaef0e138e50d2ae3bb26e97adfb9d0d3f628
PD#SWPL-191789
Problem:
add iotcl to get chip cls
Solution:
add iotcl to get chip cls
Verify:
verify on t5m
Change-Id: I2f578e0b0296da5c9a826963b9524572368164b9
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
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-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: If26abb82e372df05914401727d273584a61f3434
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-191355
Problem:
it hangs up when clk is builtin
Solution:
1.axi clock is a system clock, add critical flag for axi clock
2.let clk driver register earlier than the relying on it, this will
save the boot time.
Verify:
t6d
Change-Id: I334e473652fbb2b69c31261261f85262099f5ec1
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-191162
Problem:
420 abnormal after switching to 422.
Solution:
close override when 420.
Verify:
T3X
Change-Id: I9b2bf3bc99150e3dc6f0a16fa40159aefe0e450f
Signed-off-by: yaoyu.xu <yaoyu.xu@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-191318
Problem:
In strect_mode+dlg, there is vd1 crop and vskip,
3840x2160=>3840x809(crop 270+270+ vskip).
And netflix dv stream also contain AOI metadata,
AOI combined with VD1's crop information resulted in too many black border.
Solution:
update dv AOI info according to vd1 crop and vskip info.
Verify:
t5m
Change-Id: I5de3c02cb37390f5f5c1b060f1e3cb264eaefee5
Signed-off-by: yao liu <yao.liu@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>