PD#SWPL-9676
Problem:
h264 non-tunnel mode video, video resume play will frezee one frame
after pause
Solution:
modify omxpts compenstate condition to let pcr stop in time
Verify:
verify by nts
Change-Id: I719150064b0abe4fdfd230a2429cfdfc000ea786
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#OTT-4604
Problem:
1.Before systemcontrol starts up, vout monitor takes
place to monitor hpd event of hdmi, but vout server
module is indepent with hdmi module, so the hpd status
that vout server got may out of sync with hdmi. If
the monitor interval is larger than hpd reset duration,
for example, the vout server monitor frequency
for hpd event is 500ms once, but hpd reset duration
of TV is smaller, 20ms~200ms..., vout server may miss
some hpd events, thus there will be no notifications
from vout server to set new output mode.
2.If vout monitor timeout before systemcontrol starts
up, hpd events happen during the interval will
not be handled.
Solution:
add adjustment of hpd monitor time and interval
Verify:
A311D
Change-Id: Ic6c371362c63baf50de3c5849fdbcdc5ec22ef61
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-7071
Problem:
reg_dnr_dm_chrmen not follow db
Solution:
disable chroma dm for ott according to vlsi-baozheng
Verify:
u212
Change-Id: If530c5c5f47e132b01a2cb31a96347f2f465afda
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#SWPL-8159
Problem:
HDR-001-TC5 source is dv, need graphic max 300
HDR-001-TC3 source is hdr, need graphic max 210
Solution:
Set 300 for DV source and 210 for HDR source in LL mode
Verify:
Verified on U212
Change-Id: I93c71ee51fc128d9d01113d4e24d4df1786901e2
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-8068
PD#SWPL-8069
Problem:
1. use select to polling frame.
Solution:
1. add when use video layer amlvideo support poll
2. add trace debug info
Verify:
Verify on marconi
Change-Id: Ib1ae87b4b7ab35b075bc357953abe43e3410232a
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#SWPL-8069
Problem:
1.about 2ms latency due to sleep
2.crash while poll ionvideo
Solution:
1.use semaphore instead of sleep
2.fix poll function
3.add trace info for ionvideo
Verify:
U212
Change-Id: Idde64151541d826ba6a6cd1abcc901e80f0e4b45
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-9805
Problem:
dolby graphics core setting is marginal at 720@50 or 720@60
Solution:
Leave more margin in vertical potch for graphic core
Another modification: force update core2 and core3 reg
when dolby-vision on
Verify:
local build test on dolby tv 720@50/720@60/1080p24hz
Change-Id: I1019d2c1564230b0e42516fe1a7732ba25b2e8bf
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#IPTV-3374
Problem:
gc2145 mipi camera preview have mosaic when take picture
Solution:
add delay when camera set setting finished
Verify:
verify on S905D3-AC202
Change-Id: Ieb6c64804ea5cbea9c9c66be57352b6ed5955ed1
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#TV-5427
Problem:
enable support for parsing VIU2 boot parameters
Solution:
add this support in driver
Verify:
verified on TL1-X301
Change-Id: I2b2dc97bc76a8816a2c1e17ce5689e2679867011
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#OTT-4320
Problem:
ge2d canvas_config have been overwritten
Solution:
move ge2d canvas_config from ge2d config to ge2d process
Verify:
w400
Change-Id: I6733751435f9185c8f96287c5308145898c8b8a7
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
gdc: gdc dmabuf multi-process support [1/1]
PD#OTT-4320
Problem:
gdc phys have been overwritten when dma fd is same from diff process
Solution:
when get phys by dma fd, used struct dma_buf instead of dma fd
Verify:
w400
Change-Id: I6e990c9fda9245db0d92053cc011fc6f9507db72
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
ge2d: ge2d dmabuf multi-process support [1/1]
PD#OTT-4320
Problem:
ge2d phys have been overwritten when dma fd is same from diff process
Solution:
when get phys addr by dma fd, used struct dma_buf instead of dma fd
Verify:
w400
Change-Id: Idb32bc61d33345d370db4eb6bcb04351d854f069
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-7422
Problem:
gdc ioctl have cpu usage issue
Solution:
1. dma buffer alloc gdc module,when dma buf exported, fd and phys
address can be recorded.driver can get phys address via fd internally.
2. dmabuf alloc by other driver module, need used gdc_dma_buffer_map/
gdc_dma_buffer_unmap to get phys address.
Verify:
Newman & W400 board
Change-Id: Ie270589a19dfae4fa750241fb5721154221f2448
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
ge2d: ge2d cpu cost optimize [2/2]
PD#SWPL-7422
Problem:
ge2d ioctl have cpu usage issue
Solution:
1. dma buffer alloc gdc module,when dma buf exported, fd and phys
address can be recorded.driver can get phys address via fd internally.
2. dmabuf alloc by other driver module, need used gdc_dma_buffer_map/
gdc_dma_buffer_unmap to get phys address.
Verify:
Newman & W400 board
Change-Id: I78d03b52e574daf2e8b2d53eb8fdfde06357ebfe
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-7421
Problem:
gdc output not support multi plane fd
Solution:
add gdc multi plane fd support
Verify:
Verfied on G12B-W400
Change-Id: I898c027f068f92af5101fe65487baf1dfbec7c35
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
ge2d: add ge2d multi plane fd support [2/2]
PD#SWPL-7421
Problem:
ge2d not support multi plane fd
Solution:
add ge2d multi plane fd support
Verify:
Verfied on G12B-W400
Change-Id: Ia8a529833d5c53a70eaa2094f8110635e4f184c1
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-7051
Problem:
reduce power consumption
Solution:
correct HHI_APICALGDC_CNTL addr offset
Verify:
Verified on g12b-w400
Change-Id: I539ea901984256f0a6da72c7305488a725936760
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
gdc: add clk control [2/2]
PD#SWPL-7051
Problem:
reduce power consumption
Solution:
add control of clk
Verify:
Verified on g12b-w400
Change-Id: I8001db369f5e0146459cdbad262017581116a0b9
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-4839
Problem:
have risk of unmap ge2d dma_buf
Solution:
unmap ge2d dma_buf after ge2d process finished
Verify:
verify by w400
Change-Id: Ia84786b297f8e95cc9efc038300917c98d6b73f6
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
gdc: unmap gdc dma_buf after gdc process stop [2/2]
PD#SWPL-4839
Problem:
have risk of unmap gdc dma_buf
Solution:
unmap gdc dma_buf after gdc process stop
Verify:
verify by w400
Change-Id: If86ac881fd85a5c4b3583567c9748e87149c1d78
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-4355
Problem:
ge2d: fix ge2d bitblt error
Solution:
merge patch 'fix ge2d bitblt error' from amlogic-3.14-dev(PD#154877)
Verify:
verified on u200
Change-Id: I4a813810837814931c3cb68f9a0f8a0929b06540
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
ge2d: merge ge2d from amlogic-3.14-dev [2/3]
PD#SWPL-4355
Problem:
ge2d: play video display mess when used ionvideo
Solution:
merge patch 'play video display mess when used ionvideo'
from amlogic-3.14-dev(PD#155143)
Verify:
verified on u200
Change-Id: Iaf34fe1d1c7e7637015dadaaf43e201cf28089b7
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
ge2d: merge ge2d from amlogic-3.14-dev [3/3]
PD#SWPL-4355
Problem:
ge2d: Adjust scaler para when input is nv21 and output is rgb
Solution:
merge patch 'Adjust scaler para when input is nv21 and output is rgb'
from amlogic-3.14-dev(PD#15652)
Verify:
verified on u200
Change-Id: I199b07d683a01175ec17d4d34be6febd3083920c
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-4075
Problem:
dst data is not normal by using strechblit function
such as 1920x1080 --> 640x360
Solution:
add bit width restriction for
horizontal scaler initial phase
Verify:
verified on g12b-w400
Change-Id: Ibcd85cc08f49254e90100beb952e711736531134
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
ge2d: add enhanced hsc adv num support [2/2]
PD#SWPL-4075
Problem:
add enhanced hsc adv num support
Solution:
add enhanced hsc adv num support
Verify:
verified on g12b-w400
Change-Id: I13b52a0b10e8f3830c57ff691ef3472a34cbe89c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-3876
Problem:
add support for nv16
Solution:
add support for nv16
Verify:
verified on g12a-u200
Change-Id: I34c9179ed4fde43b9bd00caa9505ea4c8ee78eb0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#OTT-4124
Problem:
video frames cannot be dropped when displayed in video layer
Solution:
add dropping frame mechanism in amvideo
Verify:
verified on franlin
Change-Id: I751883543adc5c840921bd5062484e56cde2c0fa
Signed-off-by: Rico Yang <wei.yang@amlogic.com>
PD#SWPL-9938
Problem:
logo addr overflows the max size in 1g platform.
Solution:
fixed it
Verify:
verify by fermi
Change-Id: Ic1edc545c702b10d88cd03ddc4b761f142457b43
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#OTT-4292
Problem:
Root Cause:gralloc set afbcd = 1, but hwcomposer have no frame set,
hdmi plug and uboot logo update and osd_enable_hw() called, in this api,
there is a protection: if afbcd.enable set and phy_addr == 0 will
wait vsync till phy_addr != 0, this section code logic caused screen blank
Solution:
when gralloc set afbcd = 1, don't set afbcd.enable = 1,
it will update with hwcomposer post afbc frame.
Verify:
verify with Raven
Change-Id: I98a88cffd139832a34825adde7c21219937b63ce
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-9283
Problem:
android read cec, some time will lose msg
Solution:
del hal flag
Verify:
tl1
Change-Id: I2357ff2a09c60e930e64d663650a4d4509688c71
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#OTT-4501
Problem:
the dst canvas phy address for ge2d is overwritten
out of bound before processing
Solution:
alloc canvas index dynamically
Verify:
verified on g12b-w400
Change-Id: If021c087125928d5fb146118432c7ff427ea0dbb
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-5937
Problem:
need screen initialization moved from uboot to kernel
Solution:
1, add lcd tv driver when the panel disable in uboot
Verify:
t962x2-x301
Change-Id: Ia7837db5f6581543b2a093357a264ee63dbd33a9
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#OTT-4558
Problem:
delete 100M and 250M cpu clk for g12b
Solution:
delete 100M and 250M cpu clk for g12b
Verify:
test pass on g12b w400
Change-Id: Id8a858d5c56b44325e750702f1af3ca5cfd247c4
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-9172
Problem:
no more canvas id for vdin1 use
Solution:
the canvas id number need equal with frame number.
Verify:
tl1
Change-Id: Idff362218042c260c28116816d747260708f6355
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#OTT-4277
Problem:
osd display abnormal when 2nd osd laysers scope > 1080
default osd scope value in disable channel is too small
Solution:
set default osd scope value in disable channel to 0xffffffff
Verify:
verified by S905D2-U200
Change-Id: I9983928d91c1ac4285f2a5acdffa5438722e4ab4
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-9372
Problem:
write register after clk off
Solution:
write register after clk on
Verify:
verified by t962x2_x301
Change-Id: Id9639d98a5434a8be22f0de9bf4ed778b9cbeb9f
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-6361
Problem:
Lack SCDC/CED function to check Rx TMDS status
Solution:
Add SCDC/CED function
By default, this function is not open.
Enable it in board dts file like below:
&amhdmitx {
cedst_en = <1>;
};
Also, you can manually enable it by
'echo 1 > /sys/class/amhdmitx/amhdmitx0/cedst_policy'
Then listen '/sys/class/extcon/hdmi_cedst/uevent'
and check 'cat /sys/class/amhdmitx/amhdmitx0/cedst_count'
Verify:
G12/U212
Change-Id: Ic9c90936bad643ea95d418d7b019eb37210d7123
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-9344
Problem:
osd hold line is too small when dv enable
Solution:
enlarge osd hold line from 4 to 8
Verify:
verified by franklin
Change-Id: I81d1fe210fe6e9f9a065d7ff75178ef1807f3e43
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-8903
Problem:
S905D3 project need bring up gc2145 mipi camera
Solution:
bring up gc2145 mipi camera on S905D3-AC202
Verify:
verify on S905D3-AC202
Change-Id: I5c7c3c551eca7ec20759e724c24d725f89641d96
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-5037
Problem:
system enter early suspend, not ack "report power sts"
Solution:
early suspend not called.
not use CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
Verify:
g12a s905x2 android P
Change-Id: I0e2d691b927575b3a6b5e7c13668de9bbf6519f7
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-9750
Problem:
the system lost pulldown_enable
Solution:
fixed it
Verify:
verify by franklin
Change-Id: I2b5fe4f74ecf295bb44bdeecfeb6a5cc9188c3f3
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-6480
Problem:
core1 reg is set wrong for g12 and tm2
Solution:
correct core1 reg for g12 and tm2
Verify:
verified by u212
Change-Id: Ie9de107fce6f23ded1397827ebe95a00939df8c1
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#OTT-4173
Problem:
video stuck after seek. first pts64 is
abnormal when lookup failed.
Solution:
add first pts64 checkin for lookup failed.
Verify:
w400
Change-Id: Ibb2a15815311598cf47c242cb4c369da0f0cbdd2
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-6985
Problem:
cfo track value is small
Solution:
increase cfo track val to avoid crystal jitter
Verify:
verified by t962x2_x301
Change-Id: Ifcf53f1d06eae204a82dc99154d18c38f370ebc1
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>