PD#SWPL-145646
Problem:
Adds debugfs for codec status management.
Solution:
Add codec state module, mainly collect and
manage codec status information, and facilitate
the management of the configuration of each module.
Verify:
ohm
Change-Id: I8f877a954f9873c4aa4d632e007a67c0a41ff2b1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-144353
Problem:
During the mode switching process, when systemctrl writes the
node to close phy, the phy action is to close it immediately.
At this time, part of the video data may have been transmitted,
but the data is incomplete. At this time, rx got part of the image.
Some TVs did not perform frame dropping processing after getting part
of the data and parsed it, but the solution was wrong, which may
cause some display abnormalities.
Solution:
Referring to the processing method of the Apple box,
during the mode switching process, when systemctrl issues
a shutdown phy command, we will wait until vsync is
interrupted before shutting down the phy. At this time,
there is no video data transmission, which is relatively safe.
Verify:
ohm/T7
Test:
DRM-TX-67, DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81
Change-Id: I25162448f6d8f432bc48e0e038bac9a108bf8151
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-138653
Problem:
need modify for aipq of GPU.
Solution:
modify for aipq of GPU.
Verify:
T5M
Change-Id: I2703b3bba282eae827255793e9a94b659b37dc37
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-149012
Problem:
KL driver should be able to check
if KL's fuse is okay without M2M or descrambler in REE.
Solution:
add etsi challenge-response function
Verify:
T5D
Change-Id: I8492896086ba3e6e4701ee4511794e803ed6d900
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-142144
Problem:
Extends the type of dmabuf for info dumping.
Solution:
It supports the dump of commonly used of dmabuf info,
which are UVM, ES, and dmabuf heap. Please refer to
the confluence instructions for specific usage.
Verify:
ohm
Change-Id: I5f1482043c46ef983c37277bec1eb49cf70bd4fd
Signed-off-by: Nanxin Qin <nanxin.qin@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#SWPL-141487
Problem:
afbc read incomplete data
Solution:
1.change axis from 2159x3839 to 1079x1919 in script file
2.set force_vskip_cnt to 0xff, to avoid skip
3.enable pps to scaler
4.config decoder data size for top2
Verify:
t3x
Change-Id: Icd7e11846c1b407936712a26350b1868af186843
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-140070
Problem:
need to support swap 64bits
Solution:
implement this support
Verify:
s1a-bg201
Change-Id: I7addda02429200cf95ef495de392f4ab3f11b886
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SH-16324
Problem:
enable CONFIG_DEBUG_SPINLOCK, system crash.
Solution:
not neable cma_mmu_op function when enable debug spinlock.
Verify:
local.
Change-Id: I61b7edb7c5026b72b7ac6e66c6e19304eca00a61
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-139458
Problem:
AV sync abnormal after TX plug out/in, this is because
canot enter resync flow for output with no pannel.
Solution:
Add resync flow for Not pannel output case.
Verify:
t7
Change-Id: Ifa1b814a226476bb8b2a3b3cbde2135acd06a4a1
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-145586
Problem:
When the vic of VSDB is stored first, the vic of video data block
is inserted at the end, and an error occurs in 420 capability map
Solution:
add SVD_VIC, used to store SVD in VDB, mapped with 420 CMDB
Verify:
S5/AX201-S928X
Test:
DRM-TX-44
Change-Id: I18b42e9c304b01b6712d9640f4bc08020595f305
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-139469
Problem:
Dirty date in cacheline may pollute data in memory when
flush cacheline
Solution:
Use noncache mapping in afbc decompress lib
Verify:
T7C
Change-Id: I4f6ed2ad6473c0aaab80d175663434b38dfb2af5
Signed-off-by: zhentao.guo <zhentao.guo@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-144627
Problem:
when kernel goes to early suspend, need keep the edid data
Solution:
Keep edid data during the suspend state. If there is HPD in
early suspend, there will update the EDID in the bottom of
hpd ISR
Verify:
ohm
Test:
DRM-TX-38
Change-Id: If1975a68da8c7431bb7867359bc5368b37dbc1f3
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-144474
Problem:
For fcc,don't need keep di_multi memory
Solution:
Decoder transfer fcc flag to DI.
Verify:
ohm
Change-Id: I37d1da0dc5c99dd086ee1291d403525a009bc64b
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-143972
Problem:
when clac_tmds_clk > max_tmds_clk, only check whether
the edid support frl, not check the box frl capability
Solution:
add check the box frl capability
Verify:
s905x4
Test:
DRM-TX-42
Change-Id: I502b130c7fc613d020566af35438465c52ee3b60
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-141768
Problem:
cleanup the bool return value in edid
Solution:
cleanup the bool return value in edid
Verify:
sc2/ah212
Test:
DRM-TX-17
Change-Id: I05ab9f8a5d20c457178349f7400f4ccb6e009d20
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-139184
Problem:
HDR10 and HLG input and output format error for pip mode.
Solution:
adapter HDR10 and HLG input and output format for pip mode.
Verify:
S5
Change-Id: Ideb162c760bab1f294bf624243247033886f322b
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-141587
Problem:
dump 'aud_cap' in the hdmitx_common directory.
Solution:
move the node 'aud_cap' from tx20 and tx21 to
hdmitx_sysfs_common, and dump 'aud_cap' in hdmitx_edid.
Verify:
ohm
Test:
aud_cap
Change-Id: I34cba3ffc81b2e5cf93c4cc3e10ae0b555feb018
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-142722
Problem:
panic when dtv change sorce
Solution:
1: v4lvideo lock need include all vf in dq thread
2: reset all parameter when init
3: fix get err file when drop
Verify:
sc2
Change-Id: I8ee754bbecfb1166dd64d231df29742a37efde9d
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-142076
Problem:
hwc can't get hdmitx status
Solution:
add ready property to indicate hdmitx status
Verify:
ohm
Test:
DRM-TX-24
Change-Id: Iffa26048f0d910c614ec901e1dcff48dc189a090
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-92410
Problem:
hdmitx output is not disabled if there's plugout
event during bootup period
Solution:
disable output if plugout during bootup, and let
system to set hdmi mode when it's ready
Verify:
ohm
Test:
DRM-TX-38
Change-Id: I6f933dea92ad96a562d2b271e2c327422eab30e9
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-140324
Problem:
the current default max_tmds_clk is 150MHz,which is not reasonable
Solution:
set the default max_tmds_clk as 165MHz when the max_tmds_clk field in
EDID is invaliable
Verify:
AX201-S928X
Test:
DRM-TX-35
Change-Id: I939eacf64ba4fff35dcde5379f36e159bf64e5da
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-141802
Problem:
Update tx21 to call common audio api
Solution:
update tx21 to call common audio api
Verify:
sc2/ah212
Test:
DRM-TX-33
Change-Id: I706643a7a8a5bf5fe3de90a62342106c2f7b6ca0
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-141585
Problem:
there are similar code for mode enable/disable
Solution:
remove disable when enable mode;
check disable status when enable;
move uevent for tracer to hdmitx_tracer;
remove init_uboot_mode and use pre/post mode instead;
Verify:
verify on ohm/t7c
Test:
DRM-TX-42,DRM-TX-43
Change-Id: I63be69ae8c7bc494dbe2cf5837221fa672405268
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
(cherry picked from commit 5034109c558dbbaafc8bb2fa42b681dd80e11f06)