PD#SWPL-13676
Problem:
vdin status is confused when enter hdmi
Solution:
reset afifo every time enter the channel
Verify:
verified by t962x2_x301
Change-Id: I9ec78bebec4d2d5e312de82942c29a940fc322ea
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-13367
Problem:
HDMI hotplugged during video pause,
system control first set disable_video 1,
then DV core turn on due to sink changed,
then OMX sets disable video 2. DV core 1
is disabled after video_onoff_state is set to OFF.
Solution:
Monitor video status, parser and toggle once
to enable core1 when video off->on.
Verify:
SM1
Change-Id: Ied6f1f05ed1592f9917c093b5d567904a3bdc61c
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-13667
Problem:
some devices may forcely send signal above 3.4G
even if TV announce hdmi1.4 edid, such as apple
TV box, Samsung UBD-K8500 dvd; and for QD6508 box
of TCL, it will not send signal out if scdc NAK
Solution:
add a scdc force enable option to cover this
issue. by default, scdc is enabled or not
accroding to current edid version
Verify:
X301
Change-Id: Ibdacbd3bb1edbdcb99637252530d19510fbcfb1d
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-13779
Problem:
esm can not work after burning a new key and regenerating new
fw.le as the esm clock was not configured when probe.
Solution:
so we need to configure ESM clock no matter hdcp2.2
is burned or not.
Verify:
None
Change-Id: I793b63ad2f20434b9f8f27ccca7c80dee2990718
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-13491
Problem:
After plugging and unplugging HDMITX,
the panel screen color display is abnormal
for dual display platform.
Solution:
add vinfo->mode check for csc process,
avoid process null and invalid vinfo case.
Verify:
verify by AC202(sm1)
Change-Id: I54c54adcf2a0fc9a02e35b0ef24a720a55a8781a
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-2049
Problem:
osd3 din blend config may be incorrect when viu2 is enable
Solution:
add osd blend reg config check
Verify:
verify by AC202(sm1)
Change-Id: I3d8ff0d247226d4df1386808caba2a21a34f0b10
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-13498
Problem:
The printing may delay the usb_disconnect processing, result to
USB transfer error during reconnecting.
Solution:
Moving the print in proc_setconfig of devio.c .
Verify:
test pass on sm1
Change-Id: I5c45abb2d5d640e2e02dc3e0c08b10ca7a294eeb
Signed-off-by: he.he <he.he@amlogic.com>
PD#TV-8363
Problem:
Loopback doesn't work on TM2.
TL1 doesn't support loopback in OE pins.
Solution:
Make it compitable with chips.
Add tdm_lb format and chmasks.
Verify:
TM2 AB311 and TL1 X301.
Change-Id: If878fe75fc87857eae7a44439a451c5b2f494c67
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-13669
Problem:
Ge2d irq number is wrong on g12a/g12b/sm1.
Solution:
Replace the correct number
Verify:
Verified on u212
Change-Id: Ia3d202dc10cb978033892efb1de251bf5cf1df31
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#TV-8989
Problem:
loopback with datain pdm, no vad to wakeup
Solution:
loopback with pdmin still works when entry freeze mode
vad works in two channel mode, mapping pdm ch0 & ch1 to vad
add channel num to loopback for vad
Verify:
x301
Change-Id: Ied244292bf2a2f668bb5a2216ec6a12964a46663
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-12502
Problem:
new function
Solution:
add new function of TM2
Verify:
T962E2
Change-Id: Idd5843d39bb9235fe0abdf9aaaca3be6dd2795e7
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-13623
Problem:
Wayland-DRM broken due to lcd-drm is enabled
Solution:
Disable lcd-drm
Verify:
Local
Change-Id: I2e4c7cded9e6979b97fb652e2d0d824c8af54ef6
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
PD#SWPL-13556
Problem:
hdmi signal has changed(color space, hdr etc.) before switch source
Solution:
clear the change flag when stop dec
Verify:
verified by t962x2_x301
Change-Id: I79c6dba9bf69f70850714c5810ae724b5d35e1e3
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#TV-6676
Problem:
the auto gamma function need load flash data to update gamma voltage
gor lcd driver
Solution:
add load flash data to update gamma voltage
Verify:
t962x2_x301
Change-Id: I80176e4a146fe453c3d3b5919c96b659be1286ea
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#TV-9186
Problem:
need provide interfaces for detect VBO LOCKN and VBO HPDN work properly.
Solution:
add lcd status for detect VBO LOCKN and VBO HPDN work properly
Verify:
t962x2_x301
Change-Id: I1f441a42f656205ef2ec15429c883ffc67e60a95
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#OTT-6073
Problem:
Spk_mute has no effect.
Solution:
The gpio get function get the wrong name.
After correction, it works good.
Verify:
TM2.
Change-Id: Icf0356ec3238fda6e78e778ebaa812af445ccfd5
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-12842
Problem:
tvafe pq setting logic is not very clear
Solution:
add pq table management for different port and format
Verify:
x301
Change-Id: I9d7ae16166c73a997d9697e61bf77a87ba743d5c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-13281
Problem:
There are 2 types of wrong kasan report after merge change of
save wasted slab.
1, slab-out-of-bounds, which is caused by krealloc set shadow
memory out-of-range, since tail of page was freed.
2, use-after-free, which is caused by kasan_free_pages called
after a page freed. Because this function already called in
free_page, so it marked shadow memory twice.
Solution:
1, make shadow do not out of range if a tail page was freed and
been realloc again.
2, remove call of kasan_free_pages.
Verify:
X301
Change-Id: Ib5bdcbb618a783920009bb97d112c361888b0d7c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-13115
Problem:
Apk drop lots of frames before render
the first frame, in this case, omx_run
is false and no frames will render.
Decoder doesn't have free output buffer.
Solution:
Drop dv frames in video sync before render
the first frame if app want to drop.
Verify:
Verified on U212
Change-Id: I463619f658d7f78ad8d513e17ca78482e17b3a4e
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-13141
Problem:
The first time the video is played after booting,
the probability flashes a pink screen
Solution:
remove tm2 cm curve setting
Verify:
verify on TM2
Change-Id: I8d99e6ee203fbbb48154ed0aaf101465a0f18cb4
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-13132
Problem:
stammac release/open when resume will change the dma addr.
if stmmac_xmit and stmmac_tx_work are running at the same time
it will cause panic
Solution:
remove stmmac_release/open call in stmmac_resume for chip
g12a/g12b/tl1/tm2
Verify:
verify on TL1
Change-Id: I5abf2ccf72c39483bbd1cce7b9e24bf596f30d0f
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-11602
Problem:
default hdr follow sink, sdr video color is different from standard sdr
Solution:
default hdr policy follow source, UI switch follow sink or follow source
Verify:
verify on G12A
Change-Id: Ie668f06d45bb3881ee71ac4580dc3bf8f107dafa
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-12780
Problem:
internal phy can not connect network probably
after long stress suspend test
Solution:
In suspend/resume sequeue, add eth reset
Verify:
verify on TL1 and G12b
Change-Id: Id8f6767686f4e4d52774d9ac28dac46549a52d4c
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-12760
Problem:
camera preview interface left and right invert
Solution:
adjust gc2145 mipi camera mirror register
Verify:
S905D3-AC200
Change-Id: I1789e5d055bf8661e6ec30f67e6e8db4a6fc99f6
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-11314
Problem:
When playing profile 4, multiple resolution and dual layer dv
streaming, switching non-4k to 4K (DOVI->SDR), need do once
control path reset since the core1 setting is not correctly.
Solution:
Improve the condition to reset control path
Verify:
Verified on AC211
Change-Id: I229a33228377bd9ff7811b4a25e973eeba8af66d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-7987
Problem:
TL1 DRM support
Solution:
add TL1 DRM support
Verify:
t962x2_x301
Change-Id: Ibc8ff641f42c0a416e80c3a420c1d808e0ad8b26
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#TV-8725
Problem:
STR standby, wake up, takes a long time, takes 5-6s.
Solution:
When the first frame is displayed,
the statistics start new frame count.
Verify:
Verified with X301
Change-Id: Ib318455959fe9688f3c697b1d562388547002877
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
PD#SWPL-13223
Problem:
there is a white line on left when crop left is odd
Solution:
set post mif phase to 8;
Verify:
TL1
Change-Id: Ic39e15f5c1d07e756ecc4909366af35d1472dc29
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-13223
Problem:
when crop left is odd, the video has white edge
Solution:
if vframe not processed by di,
set vd mif chroma init hphase to 8 when h crop start is odd
Verify:
verify on T972
Change-Id: Ica57503e6eebd57972129513304ae39b445ccf77
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-11059
Problem:
gamma setting in DRM
Solution:
merge commit related to gamma
Author: Ao Xu <ao.xu@amlogic.com>
Date: Tue Oct 30 19:18:21 2018 +0800
drm: add meson private property gamma_lut
When setting CTM, gamma is also set again.
Setting gamma frequently will lead to visual glitches.
Add a private value to record whether
gamma_lut blob is changed.
Bug: b/113682067
Test: Ran on device and changed gamma to verify there are no glitches
Author: Fergus Simpson <afergs@google.com>
Date: Fri Aug 10 13:18:36 2018 -0700
[Estelle] Enable top/bottom color clamping
Modifies amvecm's color clipping to allow either the lower or upper
limit to be set. This sets clipping registers that hold the top and
bottom 10-bit clipping values for each color channel.
This does not cause the artifacts that we've been seeing while trying
enable the gamma tables.
Usage (set a clip of 32/255):
echo 20080020 > /sys/class/amvecm/color_bottom
Bug: 109942195
Test: Flashed to device and tested with a internal changes that use the
registers.
Author: Frank Chen <frank.chen@amlogic.com>
Date: Wed Aug 8 15:21:17 2018 +0800
remove gamma_enable in am_meson_crtc_create
Verify:
verify by u200
Change-Id: I4221b3b4671516e7afd4dea14ce3cd71b4b66433
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-13130
Problem:
on LG UBK80-N DVD, hdcp22 auth passed before esm reset,
auth status will be reset, result in black screen
Solution:
delay hdcp22 auth to after esm reset
Verify:
TXLX
Change-Id: I4e7fe60cf3117712eea5f8b1eec65d544b557a48
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-12382
Problem:
active hdmitx clk will cause cvbsout clk cleared by bl30 auto limitation
Solution:
disable hdmitx clk when vout disable hdmitx
Verify:
p281
Change-Id: Ie9da30173d682901e9160a0db9c775c204a770f9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-12972
Problem:
vdin regs has been set to default when entering suspend.
Solution:
don't set regs since upper layer will not start again after resume.
Verify:
verified by t962x2_x301
Change-Id: Ic1042e0b1a9ba4482fe79c51606e366f60e31f59
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>