PD#OTT-10492
Problem:
function of aml_vecm_init Initialization bug.
Solution:
Add support for G12B chips
Verify:
on W400
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
Change-Id: I8398676a99d0957daf1fbc4fbb207d1c39e2e320
PD#SWPL-37459
Problem:
[AVA][Askey][AndroidQ][s905x4]console hang after
executing performance mode to 2 boxes.
Solution:
unlock mutex when set rate failed
Verify:
SC2 AH212
Change-Id: Ia097721ebe07e7a2c049921d5f7efddd356ebf58
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-37010
Problem:
yv12 u & v output error if plane_number is set 1
Solution:
every plane offset is not used
use offset when getting plane paddr
Verify:
w400
Change-Id: I489e9730024659e4aea0dfb0ba2ca33f22d04338
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-33136
Problem:
unify power on off macro for powerdomain interface
Solution:
unify the macro
Verify:
t5 & sm1
Change-Id: I7306ae089ec9fd72f7da6d45ab6e8911a1e9c4cf
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-32146
Problem:
need add ge2d support for t5
Solution:
add ge2d support
Verify:
on PTM
Change-Id: Iacb6771df7b349530b6f1913fcc51aa6532f837f
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-32539
Problem:
on a64_32 platform
green screen if GE2D_STRIDE_CUSTOM is set
Solution:
add member copying in CONFIG_COMPAT
Verify:
c1
Change-Id: I47b3d2bba6eb1825c96416fd593668bb397fde87
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-36752
Problem:
The picture is incorrect due to alignment issues using GDC rotation.
Solution:
When using GDC rotation, the width of the buffer and the width
of the effective area are transmitted to the GDC drive.
Verify:
on A311D-W400
Change-Id: I6fabb794750dbb971fc270a174b48dd24965bc9b
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-27018
Problem:
The mismatch between the width and height of the buffer
and canvas results in garbage.
Solution:
Configure buffer and canvas according to rotation requirements.
Verify:
on U212
Change-Id: Ied08838ad4d4fc7628be55cd2de58f91562030c0
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-26142
Problem:
vdin is compressed in 1080 & 4k output, but ppmgr does
not support compressed format.
Solution:
If rotation is required, ppmgr informs vdin to output yuv.
Verify:
ab301
Change-Id: Ifebda530dad1c1a57a0415389543d48a8d4fbef2
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-18297
Problem:
The picture shows abnormality after ppmgr.
Solution:
The picture format is not rotated.
Verify:
on U212
Change-Id: I259554c2f7cb3a5eeb4e90c1c3e135d5005a6f01
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-36752
Problem:
Support the stride in physical address configuration
Solution:
add this support
Verify:
verified on g12b
Change-Id: Ic85384af6b67687e9f437319f6bc397c6e39a0cc
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-31258
Problem:
Kernel RO data is too large, about 4.5mb on 32bit and 5.9mb on
64bit kernel
Solution:
1, replace __FILE__ definition, using relative path instead of
absolute path. This can help to save about 50KB memory. For example:
[ 36.820945@0] WARNING: CPU: 0 PID: 4817 at /mnt/fileroot/tao.zeng/p-android/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common/drivers/amlogic/memory_ext/page_trace.c:973
~~~~~~ absolute path
pagetrace_write+0x10/0x18
[ 42.792868@1] WARNING: CPU: 1 PID: 4864 at drivers/amlogic/
memory_ext/page_trace.c:973 pagetrace_write+0x10/0x18
2, replace __FUNC__ definition. using kallsyms interface to print function
instead of build in const string. This change can save about 100KB rodata.
Verify:
x301
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I65e4e9eb61a2226002557759833e4e16ed37b92e
PD#SWPL-31258
Problem:
Kernel RO data is too large, about 4.5mb on 32bit and 5.9mb on
64bit kernel
Solution:
1, optimize kallsyms compress code. This can help to increase
about 18% of compress ratio and save about 200 ~ 500KB under
different config.
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I4c058fbb22d89bc50c81fa3266ee0f7613f076f2
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-5301
Problem:
Sometimes we need to catch who allcated/free cma pools
Solution:
Add more functions in pagetrace
Verify:
x301
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I06c114441fc20c8fbde853be9ecb0fc96fd00111
PD#SWPL-16990
Problem:
Lost RAM will be over 200MB when playing 4K.
Solution:
Add cma pages in /proc/meminfo and give a information
for android layer to count them.
Verify:
x301
Change-Id: I99d1ded53ed351a5cb0d24f0e03850a55ef0d272
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-29848
Problem:
on platforms which GDC are not supported
if create_gdc_work_queue is invoked
a crash occurs
Solution:
add a probed flag to avoid crash
add a interface is_gdc_supported to query
Verify:
g12b/tm2
Change-Id: I65b88294822d8a2c7429d375039fee962b9612aa
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-15157
Problem:
GDC Driver Support physical address configuration
Solution:
add this support
Verify:
verified on g12b
Change-Id: I8aee517a13bb2a65c021279cc3b54bd9861fc20c
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-34731
Problem:
the ACR packet is not enabled with very low probability
Solution:
double confirm the ACR packet is enabled
simultaneously with audio sample packet
Verify:
AC214
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Change-Id: Ie7a142a739f8928b34dd1904176786f8664d6f18
PD#SWPL-35488
Problem:
rotate to exit with garbage.
Solution:
after unreg is over, the buffer of ppmgr is released.
Verify:
on X301
Change-Id: I40cd59db0dee442fde034ccfb1c3f1afe86eb3ff
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-34685
Problem:
for dual logo, if viu1 interface(such as hdmi) is unplugged when booting
the viu2 display device will be used for viu1 after booting
Solution:
use viu2 logo output size for viu1 mode switch
Verify:
on sm1
Change-Id: I90819039fe46edc33d93d0114bdadb4c0de97b1e
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-31520
Problem:
Because interpolate threshold setting is too small, this will lead to
failure of using the interpolate calculation method to look up right
audio pts.
Solution:
Increase the threshold of the apts interpolate value
Verify:
U212
Change-Id: I30d4ad7085f4774d932acf557784ffbb85169afb
Signed-off-by: maolin.zhou <maolin.zhou@amlogic.com>
PD#SWPL-32340
Problem:
osd display abnormal when layer is premult_en and rgbx
Solution:
osd not divide when format RGBX
Verify:
u215
Change-Id: Icac55eddd3b5ca47350a585a377d2a54e3e5b0b1
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-25446
Problem:
In the empty capmap processing, create the bitmap errorly.
Solution:
In the empty capmap processing, modify the code about the bitmap.
Verify:
Verify on the board of U212
Change-Id: I26d4d07692557c8d6b0df0c984282f81e13ab6c4
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-23446
Problem:
The HDMI ATC Lab requires to support 1080i mode for DVI case
Solution:
Add 1080i mode for DVI case
Verify:
G12
Change-Id: I9285a9669176793e55a6f0fe8007702b4c2f239f
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-22926
Problem:
hdcp_tx22 may still work at the beginning of plugout, and reset
DDC glitch filter may hold SDA as low
Solution:
Remove DDC glitch filter in plugout
Verify:
sm1
Change-Id: Ifdc760f8246ee38ab2525835be5d29fd37cdfc7c
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-25274
Problem:
The TV and mbox may power up simutanously. If the uboot output
4k 4.5G or 6G signal, it also send the SCDC/DIV40, but TV may
discard DIV40 during itself bootup. And next TV will generate
the HPD, but mbox may discard this HPD during the probe stage.
So TV may display nothing, while mbox still output normally.
Solution:
Resend scdc/div40 in probe stage
Verify:
G12
Change-Id: I3276889541596b42acc6d0e05a48953a4e9a63b1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-24787
Problem:
For some type's chip, there is no 4k output, and there
will no need the hdcp22
Solution:
Add hdcp limitation
Verify:
805x/y
Change-Id: I36bf7b89d614a738bfca2d5c50a14d2355063792
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-27983
Problem:
code size of kernel is too large
Solution:
remove unused but default enabled configs for refernce-board
merge from:a3242b3096d5b9423105e2695723244e7edee433
Verify:
ac214
Change-Id: I9b66178acf67971c0144c4b7141d676866d7b65a
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-30974
Problem:
don't need to save the value of
the Clock register after a calibration failure
Solution:
save clock register
Verify:
txl
Change-Id: I79799967ee3417600df960492a94f868427effb2
Signed-off-by: long.yu <long.yu@amlogic.com>