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>
PD#TV-10253
Problem:
PD#TV-10253, SWPL-12816
dtv play when pcr is invalid, avsync is lost sometimes.
Solution:
add some specific marginal checks.
Verify:
X301
Change-Id: I2115bc934cd87d8a93c77180f4f37f1d23fa23ba
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
PD#SWPL-14563
Problem:
hdcp_rx22 passed a wrong HPI address to hdmirx driver,
and cause HPI address request_mem_region fail
Solution:
Use the correct HPI address when request_mem_region called.
Verify:
TL1
Change-Id: I80bd6323ae4959edf3c792758568c581024536bb
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-14550
Problem:
deinterlance1-Chapter#1 in sony test pattern,
the "ok" display abnormal.
Solution:
from yanling(VLSI), bencheng.jing
change mxcmbY from 1 to 3;
add combing_bias_motion_setting and
combing_very_motion_setting for 480i;
Verify:
x301
Change-Id: Ida2b432af80a2bd5937f13b3f7a4a030b9b0cfaa
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#TV-8287
Problem:
Slab memleak is hard to track;
Solution:
Add slab trace to fix it
Verify:
P212
Change-Id: Ie1c44f28d5539c7bf71f9825c617c36af65d8058
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-14596
Problem:
some g12a chip,efuse map for enet is diff
So need compatible for these chip
Solution:
read valid bit from valid block,not data block
Verify:
verified by tl1 and g12a
Change-Id: I564209d865cbc2ff1151df07d06593b12ea225d8
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-11557
Problem:
Some scenes flicker badly, such as the roof
Solution:
The modification requirements come from,
yanling(VLSI), bencheng.jing
a. patch 62052:
need change mtn parameter back to old for local 1080i;
b. patch 71464:
need fix combing_fix_en can not change;
Verify:
x301
Change-Id: I3e067930f0e4dea9f300e888a6ee3f96caf987fb
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-13874
Problem:
DV sdk test, for sdr/hdr/dv to hdr cases
DRM infoframe primaries in GBR order
Solution:
DV enable, send primaries in RGB order
Verify:
None
Change-Id: I0229179592203aba5e2a388a572b0061fa21a48f
Signed-off-by: robin zhu <robin.zhu@amlogic.com>
PD#SWPL-11894
Problem:
glitch time in bl31 may not be updated after hdcp22 unmux,
because get hdcp auth result function in bl31 will not be
called after hdcp mode set to 0. In a result, the glitch
hdcp22 result may take place of the actual hdcp22 auth
status after mode change, and feedback to systemcontrol
to clear/set video mute by wrong
Solution:
force to update glitch time after hdcp22 unmux
Verify:
U200/g12a
Change-Id: I497ead5f8f5c46959560ffc0c8702acca1a3f46c
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SH-875
Problem:
add county and langurage prop via unifykey for gva
Solution:
add county and langurage prop via unifykey for gva
Verify:
S420
Change-Id: Icf5f7c3f44d93fbcaf2be3410e0c04289549c555
Signed-off-by: jinrong.liao <jinrong.liao@amlogic.com>
PD#SWPL-14271
Problem:
av pali green block dark in colorbar left bottom corner
Solution:
update 0x125 setting for tl1 av ntsc-m/pali
Verify:
x301
Change-Id: Icb759a39c1265ac043b888b55f3ccaf12661cafe
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-10438
Problem:
system can be wake up by any IR key
Solution:
Add IRQF_NO_SUSPEND to avoid IR interrupt being seen as wakeup source IRQ
When IR irq check current key is power key, then send pm_wakeup_event()
Verify:
X32A0-T972
Change-Id: I753fe15f859480954bb569f2da3d3e0dd93c29e3
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
PD#TV-1924
Problem:
Sticky register which control compress in bl2z will always be set
if ramdump driver probed.
Solution:
If ramdump is disabled by envrioment under uboot. sticky register
should not set for not enter compress under bl2z
Verify:
x301
Change-Id: I1f41c98cebf7957f0dc214046e6d011e08c326de
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#TV-9856
Problem:
need change display driver for cool boot to enter
kernel stage freeze mode
Solution:
add lcd_panel_ctrl to control lcd display
Verify:
t962x2-x301
Change-Id: I8b58ab0a0f87c49791af7dddf7b05db37f7ad716
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-14477
Problem:
the picture is rotated 90 degrees,
stretching left and right
Solution:
modify conditions for frame width or height
equal to screen width or height
Verify:
verify by g12b-w400
Change-Id: I0ca9cc255b202306562bee69726400c697f3b053
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-14053
Problem:
Read and write simultaneously on two disks on a hub,
and then the XHCI controller would halted.
Solution:
Set the GUCTL1 BIT 17 to 1 for disable park mode.
Verify:
test pass on u200, ODROID-N2
Change-Id: I007804fa6b97a103da4a05be12c1193b9dd422cb
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-13967
Problem:
unchecked return value of regmap_write
Solution:
to check the return value
Verify:
test pass on g12a
Change-Id: Ibb45e36d7c24f0e0ea8b14da75e887321ee5b791
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#SWPL-14418
Problem:
DI issue causes platform crash to restart
when do DTV 2s channel switch+15s suspend
Solution:
use active_flg to protect tasklet_schedule
Verify:
tl1
Change-Id: I91028a039d8b1799b131a953bef4877f70a2f697
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#TV-10251
Problem:
PE190005-1038 press the OK button switching to
the ATV channel, the screen is not full screen.
Solution:
After the video property changes, if the hold video
is enabled, the current frame needs to be refreshed.
Verify:
Verified with X301
Change-Id: I05cb7255147b1950cb6b9d5813148a9ce0aa6e66
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
PD#SWPL-13834
Problem:
Dropping dv frame triggers parser_matedata which updates
the new_dovi_setting. Before rendering the first frame,
keep frame is displayed. However, keep frame requires
toggle, which updates the dovi_setting from new_dovi_setting,
causing color error in keep frame
Solution:
Dropping frame don't update new_dovi_setting
Verify:
passed on sm1
Change-Id: I1c73ba6f7d192066e3d5f9439ccbedc6d610d6eb
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-14319
Problem:
adjust the contrast in full range
Solution:
change to limit range
Verify:
verified by tl1
Change-Id: Icfa3c128c2943e30f2710dad5181c1d85dd32095
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#TV-9972
Problem:
first sound carrier no output in nicam system.
Solution:
1.fix first sound carrier output in nicam system.
Verify:
Verified by TL1.
Change-Id: Ib89b6a5300a1ebeb9e61bbb3acb6356e2abab08f
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-14142
Problem:
display abnormal after play 1 hour.
this is because rdma can't been called in two thread.
mc update bit in hw timer, this causes pps's register
to be set incorrectly.
Solution:
call mc update function in video.c
Verify:
txlx
Change-Id: I750aa5c242a1077691f82c3b2361ee46b3202313
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-14260
Problem:
variable reg_req_flag_irq is redundant and
it has a probability of causing error reg.
Solution:
delete this variable.
Verify:
tl1
Change-Id: I807f32789acdf4b8e0fea88f9786a301638460ff
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-14323
Problem:
Kernel and uboot is not sync: When kernel startup
without hdmi,dolby_vision_on is not set to true
even if dv is on in uboot. This lead to dv core
can't turn off when bypass dv in sdr->sdr case.
Solution:
Regardless of connecting to hdmi, as long as uboot
turn on dv, set dolby_vision_on up
Verify:
verify on sm1
Change-Id: I704c833c0b099637ea08b255b6cd380199ea0148
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#TV-9668
Problem:
If sp address is in linear mapping range, check_sp_fault_again
function in vmap fault handler will still map a new page for it.
This will cause some data in R/W section polluted.
Solution:
Avoid map page if sp is in linear range.
Verify:
TL1 x301
Change-Id: I0e02a2048b586854c528cd3eeafb725751b9dc82
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#TV-9668
Problem:
After cpu idle enabled, watch point event register will be cleared
if cpu exit pm(idle). This will cause watch point can't work.
Solution:
re-enable watch point after cpu exit pm(idle)
Verify:
TL1
Change-Id: I4fc2002eaabecd4c5e60a5916bc29e0107882bec
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-14256
Problem:
When ATV Mode has no signal
the bright line interference at the bottom
if freescale height is set to vinfo height
Solution:
modify VPP_OSD_SC_DUMMY_DATA alpha value
Verify:
verified on txlx-r311
Change-Id: I48bbb1be533a88e8b3c622550a0a2e8c07f2a863
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-14333
Problem:
invalid address is allowed for register program
which cause kernel panic
Solution:
add protection, programming on invalid addr will
be terminated
Verify:
tl1
Change-Id: I44bedec256ee5c386b53188fb2d8e40ae8c3f553
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>