PD#SWPL-145446
Problem:
dim color debugging and blank functions are not supported
Solution:
add this support
Verify:
t5d
Change-Id: Iceebb81648264e96848adb9d2a870ecc5c5fc30e
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-147922
Problem:
usleep_range() is not used in atomic context, when enable
hifi_pll_dco will dump_stack
Solution:
replace usleep_range() with udelay()
Verify:
s4_ap222
Change-Id: I16d4885ff520d4065d631f5608bbc80b4f0ccb48
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-146122
Problem:
hdmirx 2m and 5m clk were not turned off when shut down
Solution:
turn off hdmirx 2m and 5m clk when shut down
Verify:
T5M/TXHD2/T7
Change-Id: I864a6465f71c2324a183d766aab1bf5acfc20241
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-141537
Problem:
avi colorimetry bt2020 is lost during switch resolution
Solution:
To maintain a relatively clean resolution switching process,
clear all pkt before the resolution switching process.
After the resolution switching is completed, the DV/HDR module
will call back the packet sending function as needed. Colorimetry
and other parameters are updated when the packet sending
function is called.
1. add clear pkt in disable module
2. add detach vinfo in disable module
3. clear some unnecessary colorimetry bt2020 setting in 20
Verify:
A311D/ohm
Test:
DRM-TX-17, DRM-TX-18, DRM-TX-19
Change-Id: Id059bd92499df01fe93690f6507f7f7f14d22795
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-146138
Problem:
When resuming, the open flag is not set, and the state machine cannot jump
Solution:
set open flag when resume
Verify:
t7c
Change-Id: Id11a8018ac3a46eed390fb4b57e2b2cd59f73fff
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-147685
Problem:
1. samesource not enable for ott
Solution:
1. add control for tdm samesource
Verify:
verify by ott t7c
Change-Id: I0304965b16e9f602f3bbf3d1a9893b6af5b76658
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-143834
Problem:
The user version has no debugfs and cannot get clk_measure through the node
Solution:
add node in sysfs
Verify:
c3-aw419
Change-Id: I874d53767350d0da96473819c32262f0b7442691
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#RSP-5732
Problem:
secos node is not used after kernel 5.15
Solution:
combine bl31 and bl32 reserved memory to secmon node
Verify:
S4d_s805c1a
Change-Id: Ic9c6238138e66afb2afd59e0065b4e55dbda6132
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
PD#SWPL-146774
Problem:
dump buffer abnormal when hsize non-8-byte align
Solution:
do 8 bytes swap of excess bytes in every line
Verify:
t3x
Change-Id: I992bf98ea7a0c7f37254446610b9c57a3c8ecccf
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-147883
Problem:
IV slot does not need cleaning.
Solution:
IV slot is not clean.
Verify:
S1A
Change-Id: Id5f9bf3b95573cacb53de2e85796b10ce96ea7be
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-130883
Problem:
need to support inline partition encryption
Solution:
add support inline partition encryption in
spi nand driver
Verify:
s1a
Change-Id: Iadb9b9ae121939ef37a3abbd603a5eec17500739
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
PD#SWPL-142734
Problem:
301.dts has problems in some cases.
Solution:
synchronizes the configuration
Verify:
txhd2
Change-Id: I2513683063bda0acc1526c210e4f393ae2c6f674
Signed-off-by: zhou.ning <zhou.ning@amlogic.com>
PD#SWPL-147652
Problem:
vpp in padding not work with 4k120hz out
Solution:
add vpp_index == PRE_VSYNC case
Verify:
T3X
Change-Id: I6f8b31ca07c36cb6fc0afba60ba2c0302bd75574
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-125462
Problem:
open the HDMI2.0 ,the color of image is changed
Solution:
add vf info for colorimetry
Verify:
t5m kernel5.15
Change-Id: I126786f130d59fe2977ad8ea46b921aadd302d67
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
PD#SWPL-146003
Problem:
osd1 and osd2 support afbc,but osd3 not support afbc
Solution:
add config in dtsi to distinguish whether different osd support afbc
Verify:
T5W
Change-Id: I3110e1de3ba6377be611d2d80ea0af593eeb10d4
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#SWPL-142625
Problem:
Some chips that support security func have not added security func
Solution:
Add osd security func for all chips
Verify:
sc2
Test:
DRM-OSD-110
Change-Id: If29741bfd9b4baee583922c9da023559426d1e45
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-145044
Problem:
For viu2 on sm1 & g12b, green color screen
if hdmitx gets connected until kernel has
been started.
Solution:
Configure rgb to yuv conversion when mode is
enabling and postblend is setting state.
Verify:
SM1 & G12B
Test:
DRM-OSD-129
Change-Id: I50d177f4445d83b147e8f161501256ef838d8fa8
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-145324
Problem:
kernel NULL pointer panic when cpu off line
Solution:
The root cause is that context for zram is configured as 2 part:
one for direct reclaim and one for kswapd. They are not for per-cpu
but when a core is off, zram will free per-cpu context so caused panic
on other cpus. So we should remove free code for crypto hooks.
Verify:
T5M
Change-Id: I2e4c9362bda0ddf74c91c3dec55d39dd532f46c2
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-146603
Problem:
set differnet pwm curve range
Solution:
set different pwm curve range
Verify:
t5m
Change-Id: I2f59269343e93be7ffafdf2548a8c86eb1ab5fc1
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
PD#SWPL-146278
Problem:
Modify the driver code of the C version PA1 chip
Solution:
Complete the driver code of the C version PA1 chip
Verify:
Checking
Change-Id: Ic4bcff1544c9bc442852a6a911cce1df67fe1d0c
Signed-off-by: shaohui.sheng <shaohui.sheng@amlogic.com>
PD#SWPL-145456
Problem:
1.main screen& the secondary screen cannot display video
2.freeze screen 10s after boot up
3.failed to allocate codec_mm_cma mem
Solution:
move the address of the logo to the last 8M of 3G memory
Verify:
t3x
Test:
DRM-OSD-117
Change-Id: I1659e5ef491167c21aea47286dbe4779bf60f033
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-145604
Problem:
The cs-gpio pin can possibly be in other mux state, and yet
SPI HAL didn't request it into gpio state before use it.
Solution:
Request its cs-gpio into GPIO state in device setup
Verify:
C308L-AW419
Change-Id: Ie94ff7bda9f0f4fd2512d765e0698a5cea522183
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#SWPL-142875
Problem:
deadlock will happen in mark bad block process.
Solution:
add rsv-ops interface in rsv-manage to avoid deadlock.
Verify:
c3
Change-Id: I3841a8d3ca8c8f48142828b03ba9aefdf21adc62
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
PD#SWPL-142765
Problem:
1.Because the first display skipped updating the register,
the scope obtained by vpp from postblend is incorrect.
2.The address of the logo is located at the front end of mem
Solution:
1.Read scope reg in postblend_init and return to vpp
2.Move the address of the logo back
Verify:
t3x
Test:
DRM-OSD-117
Change-Id: I6acc1464f24cc6326f509a0decdc280a612cac40
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>