PD#SWPL-10128
Problem:
dv certification uncorrect
Solution:
need set_afbcd enable for dv certification
Verify:
Verified on sm1
Change-Id: I141769ee1ae4b1cf224513c62b84414d0638c6f5
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-10128
Problem:
graphic max 100 is too low
Solution:
need set graphic max to 380
Verify:
Verified on sm1
Change-Id: Ibbea07439a99500bdcc051aa9ed7ea8d1ee00fc8
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-10134
Problem:
endless loop in wakeup source show
Solution:
fix endless loop in wakeup source show
Verify:
TL1
Change-Id: If2318e31388b4a656cf8d99058f8aeaf76ff97a0
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-9659
Problem:
some file not have License
Solution:
delete unuse file and add License
Verify:
verify by einstein
Change-Id: Ia0a4eb82bc100129f71c7c88d0a403b482449314
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
PD#TV-2088
Problem:
wifi can not power in driver
Solution:
export set_usb_wifi_power
Verify:
franklin
Change-Id: Ic6fb75133533c395cd96e9d82f14427cf40cee96
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
PD#SWPL-9589
Problem:
shift preset length of vid pll div is wrong
Solution:
modify shift preset length of vid pll div
Verify:
gxl-p281
Change-Id: Iac897db9d9a36e26df40e8c1ed303e02bddeb92f
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-10391
Problem:
g12b revA and revB need one code for two parameter
Solution:
dts set g12b revB parameter
read chipversion,if g12b revA, change the parameter by default value
Verify:
verify on g12b w200 board,revA and revB
Change-Id: I9cc4cd6c370207dce22dd0c7df51a6c71397e235
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-9720
Problem:
difference window area between chips
Solution:
add interface to custom
Verify:
verify on g12a u200 board
Change-Id: I589c890e36961f533bffae557337b24a09f1bf41
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-10180
Problem:
can't enable clk tuning
Solution:
add control interface in dts to enable clk tuning
and start clk before codec init for s905x2
Verify:
verify on franklin
Change-Id: Icc97b04923bcc317b8259449ba068d1eddef0854
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
PD#SWPL-6807
Problem:
green line displayed when osd alpha 0xff/0x00 continuous
Solution:
close osd matrix, osd always output rgb format and
use osd1_hdr2_mat do rgb2yuv
At the same time, need disable osd1_hdr2_mtx
when dv on
Verify:
g12a/g12b/sm1
Change-Id: I1fdb11707f30a1938167b6bfc8e6ec6bce5485eb
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-10306
Problem:
omxpts is not update print too many
Solution:
move a print info to debug control, the condition to check
whether omxpts is not set for while is not accurate
Verify:
verify by mainline
Change-Id: I387cc6aee718182a8ff99838e9741443236dd1f9
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-4255
Problem:
UI disable SDR TO HDR, reboot BOX,
TV flicker white and then display ok when connect hdr tv
Solution:
dr2hdr function set by uplayer, kernel default disable
Verify:
verify on G12A
Change-Id: Iea5a1e0be9b5665bb7deb785b6b5faa702ef1664
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-6028
Problem:
enable ftrce in ramoops for new tm2 dtbs
Solution:
enable ftrce in ramoops for new tm2 dtbs
Verify:
verified ok
Change-Id: Ia7ee3b11784a69ef7d6b7671f9ad75c14ae477f7
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
debug: improve ftrace_ramoops for io trace [2/2]
PD#SWPL-6028
Problem:
improve ftrace_ramoops to debug bus hang
Solution:
1. in uboot
setenv initargs $initargs ramoops_io_en=1 loglevel=3;save;reset
2. in linux command line:
cat /sys/module/kernel/parameters/ramoops_io_en
to check if success.
3. after watchdog reboot, get trace data with:
cat /sys/fs/pstore/ftrace-ramoops-0
Verify:
TL1 x301
Change-Id: If1a2582b40a3ded31eedef5355eb0b8a5bf495c3
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
debug: save irqflag locally when ftrace_ramoops io [1/1]
PD#SWPL-6028
Problem:
save irqflag locally when ftrace_ramoops io
Solution:
save irqflag locally when ftrace_ramoops io
Verify:
TL1 x301
Change-Id: I6df9700cceaccc97dc983d88ada73197a6968f73
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
debug: do not print old_size when ftrace_size is 0 [1/1]
PD#SWPL-6028
Problem:
do not print old_size when ftrace_size is 0
Solution:
do not print old_size when ftrace_size is 0
Verify:
TL1 x301
Change-Id: I00a71c83fede14a2606c5e7eea5d8c4fdaeb5553
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
dts: change ftrace-size. [1/1]
PD#SWPL-6028
Problem:
add ftrace-size.
Solution:
add ftrace-size.
Verify:
no.
Change-Id: I42d34edf665632dfe29d04df192964238b8e3df8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-8648
Problem:
add interface for checks the video profile
Solution:
add interface for checks the video profile
Verify:
u212
Change-Id: I95d0df62fae2debc6c0cc5a4d2adf002122b7630
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#OTT-3688
Problem:
add di when playing encrypted stream(DRM)
Solution:
1. add codec mm interface;
2. set flag_cma '4' in dts for codec mm;
Verify:
verified on u212
Change-Id: If969899e0d5a457a038660c22a1e85dedcfcb40b
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#OTT-4372
Problem:
Need add a extra hdmi_format_para for valid_mode
Solution:
Add a extra hdmi_format_para for valid_mode
Also, fix cedst_en assginment and wrong aud ACR/N parameters when
kernel bootup, need to get current vinfo then set right ARC/N.
Verify:
G12/U212
Change-Id: Ib59986d7436a578daeb7055aa41a379e9381a99b
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-10065
Problem:
TV claims that supporting DV version2, but it lacks
the Max_TMDS_Clock2 600MHz
Solution:
if max tmds clock is less than 600MHz, clear sup_2160p60hz
Verify:
G12/U212
Change-Id: I77c024dfa860bca60020db689c2a07ae8f502528
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
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>