PD#TV-7779
Problem:
identify as PAL-DK when the input signal is SECAM DK
Solution:
increase atv try_fmt max cnt to recognize SECAM
Verify:
x301
Change-Id: I306f2337b6b2c3d0b4ec2fc85e45f9f5993b754b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-6743
Problem:
exit hdmi source, display many horizontal fine lines.
restore m/f value is wrong.
Solution:
when exit vlock, need restore m/f value from backup.
Verify:
T950X
Change-Id: If0d1b3758a19547675aa4bef920168c20ca83939
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-7519
Problem:
schedule_timeout did not really make task sleep. It will cause
rt thread bug when this thread is waiting for a cma page migrated:
sched: RT throttling activated for rt_rq eaf671b8 (cpu 1)
potential CPU hogs:
btu message loo (4253)
[<c037d5b8>] task_tick_rt+0x0/0x120
[<c037d914>] pick_next_task_rt+0x1cc/0x1e4
[<c0fa8534>] __schedule+0x598/0x91c
[<c0fa891c>] schedule+0x64/0xc4
[<c0fac134>] schedule_timeout+0x1dc/0x47c
[<c0493ba4>] __migration_entry_wait+0x168/0x194
~~~~~blocked here
[<c0493c20>] migration_entry_wait+0x50/0x54
[<c0473008>] do_swap_page+0x404/0x4e8
[<c047357c>] handle_mm_fault+0x1ec/0xa60
[<c031a2f0>] do_page_fault+0x2d4/0x3a8
[<c0301408>] do_PrefetchAbort+0x48/0xb0
[<c030f78c>] ret_from_exception+0x0/0x34
Solution:
using usleep_range instead of schedule_timeout
Verify:
t905x
Change-Id: I908022b747ad921b5863af377291abdf06672f15
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-11051
Problem:
Abnormal display of red subtitles
Solution:
process prog 420 as 422
Verify:
tl1
Change-Id: I46e0af178d6d87fc3a815f70c5a84d0f80772b6c
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-11113
Problem:
need verify dv core3 can set after wm, osd_hdr and vd2_hdr
Solution:
switch dv core3 after wm, osd_hdr and vd2_hdr
Verify:
verified on T962e2_ab311
Change-Id: Iac5d6d113c9dc5d76dff3ef5911263a1c9dca159
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-9762
Problem:
HDR2 matrix setting is incorrect
Solution:
disable hdr2 matrix when no need do conversion
Verify:
verified by t962x3_ab301
Change-Id: I2ca1fbd2ccea5fa76e7109ecdca4141dccffebc2
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-10930
Problem:
1.hdmirx driver does't know currently used edid version
2.SCDC only used for HDMI2.0 mode
Solution:
1.add version parse of current edid
2.Disable SCDC for HDMI1.4 mode
Verify:
TL1-x301
Change-Id: I00f05fee1d1d61847983ee390556644b03b456a3
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-9646
Problem:
unsupport multi-layer
Solution:
add multi-layer support
Verify:
verify by w400 with modetest command
Change-Id: I5cd50761d2ab9cfff0f80d38e20455044c7a33fd
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-788
Problem:
new feature, add hdr10+ to sdr function
Solution:
new feature, add hdr10+ to sdr function
Verify:
on x301
Change-Id: Id2bc14db0be8915ba98588c7e1a7b940421e6aa2
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
PD#TV-7616
Problem:
vpp out size not updated when vinfo changed
Solution:
update vpp out size when vinfo changed
Verify:
verified on T962x2
Change-Id: I48e39f8cf855ed31add0b9ea93a96fa63325899a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-10934
Problem:
viu2 not support for sm1
Solution:
add viu2 support for sm1 and tm2
Verify:
verified on sm1
Change-Id: I3988a84b64b952a76b1b262227e11682f28c7cdd
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-6627
Problem:
verify vd1/vd2 can switch before dolby core1/2 and after dolbycore1/2
Solution:
add core1_switch to switch vd1/vd2 before dolby core1/2 and after
dolbycore1/2
Verify:
verified on t962e2 AB311
Change-Id: I3348b906357c93d0c7a40066880bc2f029badb77
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-6630
Problem:
need verify dv core1b(vd2) connect with dolby core3
Solution:
1. use videopip_loop
2. copy dv core1a to dv core1b
Verify:
verified on t962e2 AB311
Change-Id: Ib137c6b420fa71aa0756bf9558fdbe66ef0c6e94
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-9276
Problem:
mem allocate fail sometimes by using dma_alloc_coherent
Solution:
use kzalloc instead
Verify:
verified by t962x3_ab301
Change-Id: Iec58746b7e269d307f88037216b7a778d18774ec
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
It is necessary to track states for objects other than connector, crtc
and plane for atomic modesets. But adding objects like DP MST link
bandwidth to drm_atomic_state would mean that a non-core object will be
modified by the core helper functions for swapping and clearing
it's state. So, lets add void * objects and helper functions that operate
on void * types to keep these objects and states private to the core.
Drivers can then implement specific functions to swap and clear states.
The other advantage having just void * for these objects in
drm_atomic_state is that objects of different types can be managed in the
same state array.
v7: Use __for_each_private_obj to define for_each_private_obj (Maarten)
v6: More kernel-doc to keep 0-day happy
v5: Remove more NULL checks (Maarten)
v4: Avoid redundant NULL checks when private_objs array is empty (Maarten)
v3: Macro alignment (Chris)
v2: Added docs and new iterator to filter private objects (Daniel)
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Harry Wentland <Harry.wentland@amd.com>
Change-Id: I1d906ca120167b8b25a5e959b332c5bea55a97b7
Acked-by: Harry Wentland <harry.wentland@amd.com>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1492753893-3748-2-git-send-email-dhinakaran.pandiyan@intel.com
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#TV-7335
Problem:
add nicam detection when current signal fm-mono change to nicam.
Solution:
1.add nicam detection when current signal fm-mono change to nicam.
Verify:
Verified by x301
Change-Id: If2e35d018d2df803c5458cc93974352b06e90a11
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-10876
Problem:
add del 2ns function
Solution:
add del 2ns function
Verify:
verify on u200 board
Change-Id: I949a1d85e41d0b0e03708243f9559f8de63b0e54
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-10716
Problem:
when audio signal change from -30dB to 0dB, audio suddenly output power
is higher than 150% instantaneous maximum power
Solution:
add clip thd control interface
Verify:
verified on TL1-X301
Change-Id: Id16ba3c220a22b473eaa1e3ff87bf5dde2a83227
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-10836
Problem:
read sensor time too long
Solution:
read sensor once
Verify:
verified on t1 t962x2 x301
Change-Id: Iddf4c903ba8a3836666943adb5c02c5d287728df
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
PD#OTT-4743
Problem:
string withou null-termination
Solution:
ensure there is a null-termination in the string
Verify:
p212
Change-Id: Icfb6e39741b5d26611bbd316d6c423b8d4715105
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
PD#TV-7280
Problem:
rgb screen pattern white balance data is a little high
Solution:
optimize convert coef
Verify:
verify on TL1
Change-Id: Iae1e8134d1a48fe0bbf206dd9b148c264951da2a
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-10831
Problem:
sawtooth in the lower patr of AV video
Solution:
adjust motion num condition
Verify:
marconi
Change-Id: Id42f1cb2d3f702e04cd640dbc99c4f7a97447faf
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
PD#TV-7517
Problem:
hdmi hdr color deepth mode is auto, if input
is 8bit mode, output is 8bit mode
Solution:
when is hdr mode, force set 10bit mode to frame
buffer.
Verify:
tl1
Change-Id: If958f687e3923389277880e19d47f933421a8292
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-10860
Problem:
s912 need to support adb.
Solution:
update dts
Verify:
verify by hertz
Change-Id: I085a0442d229d13d02b963c948d390920aea3dd0
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-7864
Problem:
the red and blue areas of the fourth frequency band
are missing color serious
Solution:
debug by VLSI(yanling), add cue init setting;
Verify:
S905X3
Change-Id: Idc8e5e811e0f2a8195cc70ebb8df0af8f080b174
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-9815
Problem:
One T312-T962X3 project need use the dirspi_xxx interfaces to
communicate with a extern mcu(spi device).
Solution:
config dts to use spicc amlogic-driver to support dirspi_xxx
Verify:
T312
Change-Id: Icad0e516b5d694b86350fec1e9322170e84d9c8f
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#OTT-4875
Problem:
missing return value check for kstrtoint
Solution:
add this check for kstrtoint
Verify:
verified on g12b-w400
Change-Id: I0515b4b445c78d950201df6547e83578cac32d16
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#TV-7022
Problem:
A null pointer causes panic.
Solution:
Add a judgment on the null pointer in the
amlvideo2_stop_thread function.
Verify:
on x301
Change-Id: Ic2cb9476fa97e27fe8b1160d74330d1ba7bc93a8
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-10167
Problem:
Apk drop several frames at beginning, but
dolby frames are not consumed, decoder has
no idle buffers.
Solution:
Ignore drop for dual layer dolby video
Verify:
verified on u212
Change-Id: I732d82e71c190c62a14c05accea44b4c55d04239
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-5522
Problem:
S912 display S912 Android P support for osd
Solution:
add memory-region for gxm logo
Verify:
verified on gxm-q201
Change-Id: If4efec47f939a944530ef1dc0f7a3b8abf245a47
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-10079
Problem:
use-after-free issue
driver_data is relesed on shutdown, it is used in kthread_di
this thread is not stopped, will return if driver_data is NULL
Solution:
set driver_data to NULL on shutdown release
Verify:
verified on TL1-X301
Change-Id: I64fd1e39e6cedcc801d4d451eb1a56ca2ccc3364
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD# SWPL-9328
Problem:
memory is 1G,the sound was intermittent
when hdmi play music of non-48k sampling rate
Solution:
set resample module src
Verify:
test ok using x301
Change-Id: I2245161a58a014b9dfbf0324799f5e8bd4acd184
Signed-off-by: nengqin.zhu <nengqin.zhu@amlogic.com>
PD#SWPL-9589
Problem:
shift preset length of vid pll div is wrong
Solution:
modify shift preset length of vid pll div
Verify:
gxl-p281
Change-Id: Iac897db9d9a36e26df40e8c1ed303e02bddeb92f
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#TV-7043
Problem:
too much kernel log cause system hang up
Solution:
protect the log by debug flag
Verify:
verify by marconi
Change-Id: I7cb2cdf5e3bee92e136d948a974d9a1240609867
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
PD#SWPL-9659
Problem:
some file not have License
Solution:
delete unuse file and add License
Verify:
verify by einstein
Change-Id: Ia0a4eb82bc100129f71c7c88d0a403b482449314
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
PD#SWPL-6068
Problem:
ceca isr cost long time, and delayed vdin vs.
Solution:
move function to tasklet
Verify:
txlx
Change-Id: I861dd2ba145a64a88ad126abc00944d2358914c8
Signed-off-by: Yong Qin <yong.qin@amlogic.com>