PD#SWPL-160457
Problem:
memcpy beyond individual struct members
Solution:
create a named mirror of an anonymous struct union
Verify:
sc2&sm1
Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-162491
Problem:
calculating checksum error when there are more than 2 blocks
Solution:
Change the calculation method
Verify:
t3x
Change-Id: I71d212144273705a8eba62823fc27b0cdbec75d5
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-156902
Problem:
hwc need get lcd connector's vrr range info
Solution:
add get_vrr_range function for lcd connector
Verify:
t3x
Test:
DRM-LCD-1
Change-Id: I562929b06bdfcfc4bb514b2d67e93e84a6925814
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-161721
Problem:
new function
Solution:
1.DV_IOC_GET_DV_PRECISION_DETAIL_SUPPORT get cap from cfg
2.DV_IOC_SET_DV_PRECISION_DETAIL_BYPASS set bypass
Verify:
t3x
Change-Id: I01e1f01e942349aa2241df6748100015603e185b
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-161639
Problem:
need optimize vframe for 5.15
Solution:
.need optimize vframe for 5.15
Verify:
t3
Change-Id: I7ecb26b4d602c3620a4064831e23fea961d74ff9
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
PD#SWPL-151267
Problem:
drv set buf num
Solution:
drv set buf num
Verify:
T3X
Change-Id: I2e8ee518adddb969c499b285ceb0988f13ab7a00
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
PD#SWPL-158200
Problem:
The upper layer cannot distinguish between dv allm and hdmi allm
Solution:
The bit1 of allm_mode represents dv allm, and bit0 represents hdmi allm
Verify:
t5w
Change-Id: I42f73ceffc20beae3e0182c1dce9e1fdc9c1f787
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-151288
Problem:
Driver does not support formats for 480 and 576
Solution:
Drive the addition of 480 and 576 formats
Verify:
t7c
Change-Id: I2fa54e65061752e641e03e0ea713a8f5ffd0fb14
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-152652
Problem:
dump AVI info invalid
Solution:
update register for AVI info
Verify:
t3x
Change-Id: Ic3874d3cc269043957b0244f9cb476db77c48ced
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
PD#SWPL-147629
Problem:
no ioctl to get vrr range
Solution:
add ioctl to get vrr range
Verify:
t7c
Test:
DRM-TX-75
Change-Id: If6dab5d69b90ff63acf9617c61a452a6f25bd5d9
Signed-off-by: congyang.huang <congyang.huang@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-143936
Problem:
show or hide video does not work
Solution:
add mute plane interface
Verify:
AP222
Test:
DRM-OSD-111
Change-Id: Ib5898c9a0bc3201d397a3a33a9c073f0799c3aee
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#TV-98016
Problem:
5.15 has old driver version.
Solution:
Back port some of the missing change from 5.4 and add CL370123
Verify:
T3X + RDK
Change-Id: I15c7d3bdb1e87aa95aaa4e8238bc4dcd2b5287b6
Signed-off-by: Song Zhao <song.zhao@amlogic.com>
PD#SWPL-142519
Problem:
driver not add upper layer use format
Solution:
driver add upper layer use format
Verify:
t5w
Change-Id: I6c9ff0487453f5122ca51a2f47f47fc5b656b873
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
PD#SWPL-140850
Problem:
5.15 ioc move to uapi.
Solution:
5.15 ioc move to uapi.
Verify:
t3.
Change-Id: Icc1bd8efb807a84d55fd3b380fd3a016b34f4849
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-140725
Problem:
new feature, add sdr2020 source process case
Solution:
new feature, add sdr2020 source process case
Verify:
t5m
Change-Id: I5d4d701c11066bc853b2cf24579363cec44bd963
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#TV-89282
Problem:
HbbTV need more accurate position.
Solution:
Add two more ioctl to get the A/V pts/mono pair
Verify:
T5W + Sandia
Change-Id: I9bc5408d0b41b4429056e581a18646d16d44fe41
Signed-off-by: Song Zhao <song.zhao@amlogic.com>
PD#SWPL-135475
Problem:
txhd2 vdin1 hist uses the vdin0 hist register
Solution:
Open the clk of vdin1 and configure the hist related register
Verify:
txhd2
Change-Id: If86d6fbfd7a760e1a51db98aecce9c37c685687e
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
PD#SWPL-139231
Problem:
meson_drm.h in 5.15 and 5.4 have discrepancies
Solution:
eliminate the difference between 5.15 and 5.4
Verify:
sc2
Test:
DRM-OSD-103
Change-Id: I2f7432dcafc0976fbc67dbeed684280b17953284
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-139463
Problem:
add support for 240p.
Solution:
add support for 240p.
Verify:
txhd2
Change-Id: Id2a0e2dec3aad54143cf78a7ce9fbae0568291d0
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
PD#SWPL-137116
Problem:
fmt is null vdin send unstable will black screen
Solution:
if fmt is null send nosig
Verify:
txhd2
Change-Id: I482068d6bbc6aeb867c6c59528d9d8edf3dd79dd
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
PD#SWPL-130241
Problem:
not support setHpdSignal and getHpdSignal
Solution:
provide 2 ioctrl commands to setHpdSignal and getHpdSignal
Verify:
ohm
Change-Id: I8d2844b492b8e788388e3d1e7e25994bea14b4b8
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
PD#SWPL-127580
Problem:
need close 5v wake up function.
Solution:
add ctl to open/close 5v wake up function.
Verify:
txhd2.
Change-Id: Ib61e5c75d1f3c5560dbb4f286b0d2319bcf4e1c8
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
PD#SWPL-133608
Problem:
fixed some issues on projects,need sync back into trunk
1.vdin vf lost when game mode change from game 2 to game 1
cause video freezing
2.keeper failed when using scatter memory
3.The first frame of vdin1 abnormal on g12b
4.latency may unstable in game mode 5,due to CPU schedule
5.vdin write is low priority cause video abnormal in some situation
6.request memory form codec_mm may takes long time cause av out of sync
7.new feature, dmc notifier debug method
8.1440x480p60 and 1440x480p50,vdin and hdmirx repeated decimation cause
video abnormal
Solution:
1.recycle all vf in write mode list when game mode change
2.set the right right hand to mem_handle in vf
3.drop the first frame
4.use one fixed phy address,eliminate software scheduling effects
5.set vdin write priority to super urgent
6.notify app after codec_mm_alloc
7.add dmc notifier debug method
8.1440x480p60 and 1440x480p50,hdmirx do not notify vdin decimation,
and 1440x480p60 and 1440x480p50,hdmirx do not notify vdin decimation
Verify:
t7/t5m
Change-Id: I40d6c56fe64e389e0ee6e493e8b7d1e1503f686b
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-127300
Problem:
provide uapi headers for user space
Solution:
add ldim uapi headers
Verify:
kernel5.15
Change-Id: I2f9cf0c3be16a0e1569da366d72d0924d0a8f85d
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
PD#SWPL-129892
Problem:
provide UAPI headers for video module
Solution:
provide UAPI headers for video module
Verify:
T3
Change-Id: I62453993dfc5c9a57abd9e5e5276156001ae48ac
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
PD#SWPL-127314
Problem:
provide uapi headers for user space
Solution:
add lcd uapi headers
Verify:
kernel5.15
Change-Id: Ia2fdd6b0b50ecdfbe31049b21b2b1cd6f90d833a
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-127748
Problem:
Dual-screen PQ adjustment requires two sets of parameters
Solution:
Add the appropriate control interfaces and processes
Verify:
t7
Change-Id: I8cd2412173ddc0670cded55576a3cf4f057cb510
Signed-off-by: qirong.li <qirong.li@amlogic.com>