PD#TV-10483
Problem:
Add feature for freeze mode power on by cec.
Solution:
Add feature for freeze mode power on by cec.
Verify:
tl1
Change-Id: I3e0271cb000d64c4b30cfc75c59e8ca374993d7f
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-10472
Problem:
When system on, enter freeze mode lead to flush deferd probe.
Init.rc also run insmod in parallel, if insmod task
atomic_inc(&probe_count), and this task is freezed,
deadlock happends.
Solution:
Move flush deferd probe action before freeze task
Verify:
X32A0-T972
Change-Id: I8949db32aea14e2da37e77658a9c999af39e2c83
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
PD#SWPL-14953
Problem:
SD card 3.0 mode requires power cycle.
if not, the initialization of SD card will be affected.
Solution:
add SD power cycle supported.
Verify:
sm1_ac200
Change-Id: Ic8aecadf3b63660adb74ff4ecf0a5d38037b579f
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-15024
Problem:
A311D w400 has only hdmi output by default, panel has no output
Solution:
modify clk
Verify:
Verify by Android P w400
Change-Id: I90d2defc509de2e559bb1ae1f4fcbcf38012b93c
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#SWPL-13896
Problem:
pc/game mode not close saturation
Solution:
add close saturation patch for chip after g12a
Verify:
verified by tl1
Change-Id: I28fe34d0b14700132e92a75ea8d8a7836ed7fd2b
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#SWPL-13043
Problem:
Too many prints cause the active line to be
too large when entering the DV process,
resulting in the LUT table of DV core1 not
being written completely
Solution:
Simplify printing in DV
Verify:
sm1
Change-Id: I4fd06f6a8b5e6d0b973077bbe92815224834857b
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-14629
Problem:
fix contrast adj without uv shift
Solution:
workaround with vd1 mtx, add uv shift the same gain with your
Verify:
verify on TL1
Change-Id: I5456b75463ff2c999a8e6d4b42129a909ecfd666
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-13275
Problem:
ramdump is not enabled on tm2.
Solution:
Add ramdump support on tm2 in kernel.
Verify:
verified on tm2_t962x3_ab301_v1.
Change-Id: I1e8fd2e14ba1bc02e47c6e15c534da449352b723
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
PD#SWPL-14902
Problem:
Play HDR video locally, after exiting, the screen flashes 1, 2 seconds
Solution:
set rdma_hdr_delay default value to 0
Verify:
Verified by T962-P321
Change-Id: I9c0a56332e38d1238129e682535f588104faf8be
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-14776
Problem:
aud pll is zero. need to reset aud bandgap
Solution:
modify related recovery flow
Verify:
TXLX
Change-Id: If8ba596cb7bec81165a0b2f80aa388579cc68411
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-14760
Problem:
There's no enough mem for screen cap
Solution:
Inc mem only for HDMI 4k afbce
Verify:
verified by t962x2_x301
Change-Id: I688bc67f5b9f754ae3db9fa650778cf36eec18dc
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-14836
Problem:
1) video enable flag is not update correctly
2) source format not update correctly,
which cause wrong dv control path reset
3) when start play video off and repeat frame,
triggers wrong fake sdr frame
Solution:
1) change video enable flag to use both
video_global_output and video_enabled
2) use latest src format insdead of using cur format
3) add repeat frame and video on to off flag to
prevent wrong fake sdr frame
Verify:
Verified on AC213
Change-Id: Ia8ee7bea0b8bcb33e18275611287e0b563caf978
Signed-off-by: robin zhu <robin.zhu@amlogic.com>
PD#SWPL-14925
Problem:
The system can't be reset by wdt which is fed by the tv-service
when the tv-service is abnormally hanged.
Solution:
Add extra option to avoid the wdt is disabled when the fed dog
thread aborts, but we can disable wdt when certain condition is
met.
Verify:
test pass on customer board
Change-Id: I1fd5ff4e36f06bda99726c0a2ced399299596f95
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#SWPL-13590
Problem:
only one picture displayed playing 3D mvc when dv is on
Solution:
when playing 3D mvc bypass dv.
Verify:
Verified by u212
Change-Id: I73c85808b7aad91a009b1e80f2514545e96eedf2
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#TV-10448
Problem:
crash when finished early supend but not entry suspend,
the system is waked up
Solution:
add toddr irq interrupt protection when entry suspend
and exit from suspend
Verify:
x301
Change-Id: I7ade7a745511bab83c70b5649b6af318163568d9
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-14679
Problem:
coverity issue detected, logical operation
is wrongly used for bit operation
Solution:
update related code
Verify:
tl1
Change-Id: I3b98e702205382dabe4b0cd75f9586cac1bccd48
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-14748
Problem:
DV core2 did not update the osd size.
Solution:
monitor the osd size change in dv processing
Verify:
Verifed on U212
Change-Id: Icade183483bd0f12f3d1d5424b38ac97ac1c83d1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-14555
Problem:
there is luma level drop issue while
on/off LC module
Solution:
per VLSI suggestion, use same VPP standard
matrix, and also handle the bitdepth option
correctly
Verify:
tl1
Change-Id: I5450c60dc055ec6493327b77e1295e55e6405fe7
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-14760
Problem:
afbce write need more memory since block can not be separater
Solution:
increase memory size for each frame
Verify:
verified by t962x2_x301
Change-Id: I5a80d0d6f22ef72353bf8b9faa904ec4f4b7c7aa
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-14763
Problem:
rx cannot work after suspend
Solution:
rx22 memory issue. revert related commit.
Verify:
TL1
Change-Id: Ia3a092e2fc602470e4ffc54f0d3b25ae0221f69f
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-14561
Problem:
caused by enc v line check mechanism
Solution:
remove line check since it's unnecessary
Verify:
verified by t962x2_x301
Change-Id: Ic2578b99234ac001baf2e12314119e6a01b0a79c
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-14797
Problem:
In freeze mode, keep press power key won't wake up system.
Solution:
replace pm_wakup_event with pm_stay_awake
Verify:
tl1
Change-Id: I5b88714ff45034280ec1d638f86b51fa54e2a011
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-14597
Problem:
- it is risky to replace directly system_freezable_wq with system_wq
for input poll device.
- the system can't be awakened by gpiokey or adckey when system in
freeze mode.
Solution:
- because of the input poll-device can't compatible freeze mode, we
replace it with input device.
- perfect wakeup operation when system works in freeze mode.
Verify:
test pass on ac200
Change-Id: I81c867da7325480712aa5903289e02ebb20d6f07
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#TV-10574
Problem:
adds check exit status when scanning.
Solution:
1.adds check exit status when scanning.
Verify:
Verified by x301.
Change-Id: If7ab459a4554d5c0f70b3048956781ea015dbf2e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#OTT-6369
Problem:
The HPD low time of some Monitor(such as LG) is about 30ms, less than 100ms
Solution:
Reduce the delay time of plugout
Verify:
G12A/U212
Change-Id: I343223b5ef0696da035f0b3b179bdbfbce68c859
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#OTT-5171
Problem:
Intermittently sluggish video observed on few channels
Solution:
Don't change pcr when setting apts in pcrmaster mode
Verify:
patch build of U212
Change-Id: I393c3ea8504b95c63edfd1b5acdb89f9ee754f25
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
PD#SWPL-14463
Problem:
dv vertical potch is small
Solution:
increase vpotch from 0x30 to 0x38
Verify:
verify on sm1 720p.
Change-Id: Iebf6708f62a8b8c2a32accf9ef721b4d12fa2370
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-14306
Problem:
When sr0 v scaler is enabled or not, the sr0 max width
is incorrectly.
Solution:
Using the correct sr0 max width.
Verify:
Verified by u212
Change-Id: Id5e0b66f0878676536be0e0970fe8f26419b978c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#OTT-5276
Problem:
CTS EncodeDecodeTest failed. Ion sync ioctrl was
forwarded to a dummy implementation. So cached dma buffer
syncing between device and driver was inconsistent occasionally.
Solution:
Changed the dummy_dma_ops to swiotbl_dma_ops when ion_sync_for_device
Verify:
franklin, hertz
Change-Id: I16863bba6c3fe16b9c3b2b410ade6e45c9e74826
Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
PD#SWPL-13597
Problem:
av diff over 200ms after seek when test AL1 ep sync
Solution:
clear omx_pts_set_index when session switch that new playback, drop
old index, new index will update asap when set_omx_pts invoked.
Verify:
verify by skb nts
Change-Id: I5f46338d46524ceb9a4e907cf9db07ff2e373a08
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-6655
Problem:
tm2 tvcore not bitmatch
Solution:
1.Config VIU_VD1_FMT_CTRL for tm2
2.Config DIAG_CTRL, CRC_CTRL and CM_CRC reg for tm2
3.Config DOLBY_PATH_CTRL for tm2
Verify:
Verified on tm2
Change-Id: I56a086c498ed4d3bf2f43a4639c79546072d586b
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-13990
Problem:
There are some conflicts between csc and dv module switching.
Can not switch to SDR->DV when HDR core is working on SDR->SDR mode.
Solution:
1. Improve the switching policy. DV and csc will use same on.
2. add mute operation under dv mode.
Verify:
Verified on AC211
Change-Id: I4d59328fc34228a0ef5275d22643932c4dfe00b0
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-12580
Problem:
pcmode can not disable lc
Solution:
add lc enable/disable in pc mode
Verify:
verified by tl1
Change-Id: Ie8f7ff84549cd42efef550ecd7adf6d959ff5a4f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#SWPL-14463
Problem:
OSD hold line changed from 4 to 8, dv vertical
potch should be adjusted accordingly.
Solution:
increase vpotch from 0x20 to 0x30.
Verify:
verify on sm1 720p.
Change-Id: I33779829cb80ce34c5596081a7591278e214d347
Signed-off-by: yao liu <yao.liu@amlogic.com>