PD#SWPL-167190
Problem:
ion system continue will be used firstly default
Solution:
adjust the ion system heap init sequence
Verify:
T5M android-s
Change-Id: If6a40d58fe74271b4ce23761aa0ff47367e6ded4
Signed-off-by: dezhi kong <dezhi.kong@amlogic.com>
PD#SWPL-161245
Problem:
building command SKIP_RM_OUTDIR=1 will fail because last build remain
the staging dir
Solution:
remove staging dir in last build
Verify:
local
Change-Id: I057b5d33def309197b43627ff88976a86580ce4a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-161936
Problem:
The 'kt_ret' bits in 'KT_REE_CFG' must not be checked
because the 'kt_ret' bits have an invalid value
without performing the keytable configuration.
Solution:
remove the routine checking kt_ret in aml_kt_get_status.
Verify:
SC2
Change-Id: Ifa3b82c3fa620e1cdc8da6c62da075305045acad
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-160029
Problem:
res_cma can not alloc when the free size is equal
to the request size
Solution:
allow alloc from res_cma when the res_cma
free size is equal to the request size.
Verify:
sc2
Change-Id: I44e9aa7320fb7ffc78c443778464a1921f843867
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-170471
Problem:
need to support regulator of s80x3
Solution:
add regulator config
Verify:
s7
Change-Id: I3dfdffa7a639f677bd253f57dd05eb84991ef7bf
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
PD#SWPL-146624
Problem:
some codec_mm_cma size is too large for 1G ddr highmem.
Solution:
use codec_mm_reserved_cma as second codec_mm pool in ddr lowmem.
Verify:
SC2
Change-Id: I4bf46541ff3231aa7d5fae5343dff06df9529626
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-169803
Problem:
get wrong pfn cause free memory failed.
Solution:
correct the cross zone pfn.
Verify:
t5w.
Test:
pass.
Change-Id: I283e07e4c5f3080841b7d4ac5f36160d6e547d79
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-167178
Problem:
need vmap for cma first buffer.
Solution:
vmap for cma first buffer.
Verify:
SC2
Change-Id: I76316a7e16102f2fad4c226b833f0bd25ca7afdb
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-168630
Problem:
driver was crash when probeing
Solution:
1. allow one irq_no was declare in ir dts node
2. check raw decoder thread before wakeup
Verify:
s7d_bm201
Change-Id: If11ebe6edf84322e953c5189dfcc9594bff8ab62
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-155893
Problem:
when send vt cmd,vt instance could be destroyed
and cause null pointer exception
Solution:
add lock when send vt cmd
Verify:
ohm
Change-Id: I17dbe14797035fe1b39725c0ee3f47e1832a3624
Signed-off-by: dabing.qi <dabing.qi@amlogic.com>
PD#SWPL-165614
Problem:
480i/480p video displays noise on 4k120hz
Solution:
to enable the sr function
add support to calculate each slice out hsize
Verify:
s5
Change-Id: I49fc594900e978113367964a583cc1641b900f76
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-171499
Problem:
When setting QMS/BRR, the 60hz is 59.94 with default
frac_rate_policy is true
Solution:
Around tmp_rate as 6000 or 120000
Verify:
s7d/bm201
Test:
DRM-TX-38
Change-Id: I988da95b40db0723b10cad5687572d2870867288
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-171153
Problem:
s4d pdm crash when start capture data
Solution:
enable dclk after set rate by the hw and vlsi suggest
Verify:
s4d-oppen
Change-Id: Ic7f0252e28adfb28ad1e0ad8c63a3d64ada4341c
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-169776
Problem:
chip info num is not meeting with the real used resample numble.
resample check error when resample B is disabled.
dts only enable resample A, when check resample number, the
resample attach module will error. For example, chip info numble set to
2;when resample A and B all are enabled, the attach module will be 8
for hdmi in and 7 for loopback A; if disable resample B, the attach
module will be 8 and 0. once tinycap tdmin with to->src = 0, the toddr
bit 27 will be enable, which control the no use bit and cause toddr
hangup
Solution:
1. fix check resample number
Verify:
ross
Change-Id: I3198449de7bd731e888a33da7f740409b37f6fbb
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-170861
Problem:
s7d RGB565 format register value changed from 4 to 2
Solution:
adjust s7d color format definition
Verify:
s7d
Test:
DRM-OSD-7
Change-Id: I8d1ef7195152b4742aecb3242228831f81e932ff
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-170526
Problem:
after switching the QMS TV resolution from 4K60 to 1080p60hz
the display is abnormal
Solution:
BRR should be used to calculate processing speed
Verify:
s7d
Change-Id: I28a4fcac660b62b450c5b897fe51bef662f190cf
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-156135
Problem:
vd2 v/hskip error for 4k2k120hz
Solution:
1. sync_duration_num calc depend on frc_enable with vd1
2. for t3x need do skip for under 5% scaler down
Verify:
t3x
Change-Id: Iad3ccd6e8cbcecd4703e9c0d76ae53fbcbf1d3cd
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-155382
Problem:
vd1 slice1 pps out calc error when dv is on
Solution:
1. used dv out to calc vd1 slice1 pps out
2. add frc is on logica to calcl vskip/hskip
Verify:
t3x
Change-Id: I97a81e6cb810f54f829c3d618f25ad63d6b4e536
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-170855
Problem:
When QMS is enabled, the BRR may 120hz. When switches to lower rate,
video player will run under lower rate and display abnormal.
Solution:
Add brr_duration and video still run BRR rate to avoid abnormal display.
Verify:
s7
Test:
DRM-TX-38
Change-Id: I03f3588f89648145ae06b66fe4db4bb9701559b3
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-170786
Problem:
flash blank during boot up
Solution:
get dolby_status from uboot,
to check if ll mode
Verify:
s7d
Change-Id: I2c055f79188011447cdf7a9a56745d6362ae0dcd
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-168640
Problem:
The old descriptor chain will cause dun to not be updated.
Solution:
add sg-link descriptors.
Verify:
S7
Change-Id: I50ccca0f441c4df4945a350cfdf9779497d9bba5
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-169783
Problem:
when mode change between group, drm will set mode to brr.
set_vframe_rate_hint will not be called, then qms packet
will not be sended.
Solution:
send qms packet when mode change between mode group
Verify:
s7d
Test:
DRM-OSD-45
Change-Id: I0b02827406d268392a2909ab1817110fd72dd674
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-170472
Problem:
scmi macro configuration is improper. For 64-bit only
need to configure CONFIG_COMMON_CLK_SCMI and for 32-bit
need to configure CONFIG_ARM_SCMI_PROTOCOL=y to
a32_base_defconfig
Solution:
fix it
Verify:
s7
Change-Id: I2cd9750fc59a85b1fba1b561569400c812e2cd3d
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-169755
Problem:
core1 turn on one vsync delay
Solution:
Modify incorrect conditions
Verify:
s7d
Change-Id: I36c1ef680558ba9cbf59eacb91a85639198d8283
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-170074
Problem:
704x576 video source shows garbage under 576cvbs
Solution:
1. correct h and v sizes
2. force update of vpp post h and v sizes during resume
Verify:
s7d
Change-Id: Iec0a38809cc6976a276e17b71186a423cd512399
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-170383
Problem:
GPIOA_14/15 DS register bit is wrong.
Solution:
Fix it
Verify:
sc2
Change-Id: Idf5fd1642259ef2dfcb5baec828b64717ade3f7e
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>