PD#SWPL-17683
Problem:
1. osd sdr2hdr color is different with video
2. osd sdr2hdr luminance is too high with astro pattern
Solution:
1. osd sdr2hdr matrix set 709 to 2020
2. osd sdr2hdr max luminance set 330
Verify:
verify on p212
Change-Id: I9c452f5bb2573089904e280a6e6ff98bea9441ab
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-16574
Problem:
Coverity(upgraded) defect cleanup: hdmitx
Solution:
Modify code according to coverity
Verify:
verify on the board of U212
Change-Id: Iac69fb896dd22b38ae56b58701d6fd26aefe958c
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-17710
Problem:
Suppose hdmitx already output in uboot, and next kernel boots up,
the output will disable and then enable
Solution:
When hdmitx hpd_states initializes, read edid when hpd is high
Verify:
G12/U212
Change-Id: I538b8af2d59a7b2b34739f14d0b0cb6fd89aed2e
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-18116
Problem:
Under keeping frame case, dv toggle frame with wrong
mode, it may cause non-dv effect .
Solution:
Improve the toggle flow , pass the correct mode into
dv driver. Then using the last meta data
Verify:
Verified on u212
Change-Id: I456bb16e16810c166aba23d07a3296595032861e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-17670
Problem:
can't keep last frame with ge2d.
Solution:
Use the address of the vframe to make a judgment.
Verify:
on w400
Change-Id: Id652500d77d5b70837f29606b6336c592580d466
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-17670
Problem:
The vf structure is too large, causing the function to
exceed the stack size limit.
Solution:
Vf canvas configuration finishing.
Verify:
on U212
Change-Id: Id8b2c23001ae3c11d9c3824837cd1342c36dce25
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-17670
Problem:
canvas which ppmgr used has some conflict with decode side.
Solution:
Canvas is allocated dynamically.
Verify:
on U212
Change-Id: Ia265a70ec39005f8e8adc67be496308d6f6b87b7
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-16891
Problem:
For automatical test, the HDMI cable are always connected between Tx and Rx
without manully action.
Solution:
add a fake hpd for system test
echo 0[1] > /sys/class/amhdmitx/amhdmitx0/fake_plug
Verify:
G12/U212
Change-Id: I826fc0094845a13066a1535a4a87727b4ecad452
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-17597
Problem:
When playing dual layer dv streaming, vd2 does not enable.
Solution:
Enable vd2 when dual layer dv streaming
Verify:
Verfied on u212
Change-Id: Iacbcfb7baec2344ab1e897b5e8af43cd9bb368c1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-17497
Problem:
When decode resets before first frame coming, vpp will
disable video layer.
Solution:
Only switch the dispbuf_mapping after available frame toggled
Verify:
Verifed on u212
Change-Id: I798997ac9355efd0c477a7c9c59513c82110748f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-17476
Problem:
After kernel boots up, there will no edid info for vinfo
Solution:
Need update edid attach after reading once
In kernel init, hdmitx / vout / edid with attach once time
Normal replug, plugin / edid / uevent / mode setting / attach
Also, init DRM_DB[0] data.
Verify:
G12/U212
Change-Id: I188f0972c882a17efcbc568ef7d0db861b9b6c0a
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-16902
Problem:
garbage screen for portrait panel in recovery mode
Solution:
add canvas alignment for line length
recovery takes it as framebuffer row_bytes
Verify:
g12b-w400
Change-Id: I9e94df3a7294fa3e388390e41eeb44e0588ec9d2
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-16374
Problem:
Playback HLG video color display is abnormal during playing
Solution:
Modify code related to color space.
Verify:
verify on the board of U212
Change-Id: Ie01ba1f9931a5e8f12bd1cfd70fd9ea752194f9b
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#OTT-7246
Problem:
spdifout in platform probe function will cause pop sound
as we have done this at uboot stage
Solution:
disable spdifout play zero data function
Verify:
S905Y2-U221
Change-Id: I6885a200cdb909854e239bb172568ec0af503a06
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
PD#SWPL-15906
Problem:
p212 g12a and so on no related register lead to crash.
Solution:
skip the function according chip ID.
Verify:
on P212
Change-Id: I5bcb17373365f8a07d5649a4405ea2468e103600
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
PD#SWPL-16839
Problem:
display freezes and becomes slow/lags
while selecting PIP mode options in VLC app
Solution:
remove wait-vsync nearly vsync coming
use polling to avoid long time waiting
Verify:
W400
Change-Id: I7498a68de3f6c45e0cd48aad2805f73a23adb7e6
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-16027
Problem:
last_dst_format is wrong, it is DOVI even if on HDR TV
Solution:
Correct last_dst_format
Verify:
sm1
Change-Id: I77648ca989d3ff552cb4040d9f859d970eac7d98
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-16893
Problem:
The SDR to HDR function has no effect
Solution:
add sdr_mode changed judgement
Verify:
on P212
Change-Id: Ie3f03a51797f23866a6a6d1fb2c3c750741032f1
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
PD#SWPL-17426
Problem:
openlinux use HS200 instead of HS400.
it is more stability.
Solution:
openlinux use HS200 instead of HS400.
Verify:
verify by newton.
Change-Id: Iafea97a36b559c666eb440a4e7951b9fd3c64c5f
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-16915
Problem:
update cpufreq tables for ac214
Solution:
update cpufreq tables for ac214
Verify:
test pass on ac_214
Change-Id: I62941d8fe25d4e326fba06d1ba15a46ace3eff7c
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-8231
Problem:
When HDMI cable plugin, the SDA may hold low forever or for short time.
Solution:
Add sw_reset_flt reset to resolve hold low forever issue
Verify:
G12/Dongle
Change-Id: I53bbf704bb48a2cd3cc2ebef1444c69ad1623e87
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-16854
Problem:
10bit, dolby, and HDR video do not support rotation.
Solution:
Add 10bit, dolby and HDR video rotation.
Verify:
on w400
Change-Id: I8d61926939d7277f7030e0dab4ded59057b1c5e0
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-16484
Problem:
The DTVkit code is merged into the openlinux branch
Solution:
The DTVkit code is merged into the openlinux branch
Verify:
verify by newton
Change-Id: If7348733893f0518e68bd7d74593a78b510b88e2
Signed-off-by: zhiyuan.zhu <zhiyuan.zhu@amlogic.com>
PD#SWPL-16484
Problem:
The DTVkit code is merged into the November branch
Solution:
The DTVkit code is merged into the November branch
Verify:
verify by newton
Change-Id: If9b10321078083fc9dc402175c73bd2d79225029
Signed-off-by: zhiyuan.zhu <zhiyuan.zhu@amlogic.com>
PD#SWPL-11210
Problem:
stream mode set vpts in check in pts
Solution:
tunnel mode do not set first vpts for stream mode
Verify:
verify by u212
Change-Id: Ic369b83411051a819eb65ad5d1585e26e0342f3f
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#OTT-5603
Problem:
Configurate GPIO_AO 9 as mclk_0,it doesn't work.
Solution:
From SM1, the mclk pad register is changed.
Using standard clk tree to make it compitable.
Verify:
TM2, SM1.
Change-Id: I8d53296297536c90768495232570f33fc89db131
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-12145
Problem:
When switch IRQ stack, there is a 16 bytes miss match of irq
stack. This may cause context not match some times;
Solution:
Save sp to right place
Verify:
X301
Change-Id: I75dfa5208cb3cec050c1568ac78ae2e783ca106b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
- In android, zoom in/out feature cause osd's free scale adjust problem.
So I separate the resolution table to adjust free scale mode.
I Limited applying free scale handling logic from 1920x1200. The free
scale handling will applied above 1920x1200 resolutions.
Change-Id: I00edf256ca9de16cb8fcbf987ee6dd75dec28a81
Signed-off-by: Luke Go <sangch.go@gmail.com>
On Android, higher framebuffer over 1920x1080
will be limited to 1920x1080 except 2560x1080
and osd driver needs to scale the size
to fit in actual hdmi output resolution.
Change-Id: I7ea24fb3f3d162b87a8a5b43af70d9ca7e5442fc