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)
PD#SWPL-141905
Problem:
kernel 5.15 have no wifi comm API
Solution:
kernel 5.15 add wifi comm API
Verify:
ohm
Change-Id: I14b3443d7ce7894c019cd76f0891f157f15f1f5d
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
PD#SWPL-136709
Problem:
pre_vsync rdma not work
Solution:
1. fix pre vsync rdma not work
2. add pre_vsync video process
Verify:
t3x_revb
Change-Id: Idea48258140934374b2be6e951d7128f3081604f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-139554
PD#SWPL-138558
Problem:
colorspace,colordepth,hdr_priority were controlled by sysfs node
hdr_priority definition was changed
Solution:
change colorspace,colordepth,hdr_priority control method to drm
add new hdr_priority definition to support multi strategy
update the RX hdr/hdr10+/dv capabilities in the end of EDID parse
Verify:
ohm
Test:
DRM-TX-40
Change-Id: Id9989d542ac780e358263ace67e7f13370498285
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-104009
Problem:
drm hdmitx call hook interface
Solution:
use common api to replace hook interface
Verify:
ohm
Test:
DRM-TX-37
Change-Id: Ia29c7f9d6aea9b358053460cdbc6ab99738c984e
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-104023
Problem:
1.hdmitx_event flag can be set/cleared in
both top/bottom half of hpd interrupt, so
there may be write concurrency of this flag,
subsequent plug in event may be ignored
if the first plugin handler clear the
this flag of the second plugin event
2.hpd change event during bootup may be
lost to process, as there's opportunity
there's hpd event come between hpd level
read/handler and hpd irq enable
Solution:
optimise hpd flow
1.use hw hpd state to indicate the hpd
intr state and only change in top half
of hpd irq handler. use sw hpd flag to
indicate if plugout/in bottom half done
2.lock mutex-> enable hpd irq-> do hpd
top half handler-> do hpd bottom half
handler->unlock mutex, so that all hpd
irq will be handled.
Verify:
ohm
Test:
hotplug
Change-Id: I5347a37f022dd37c5a5a436101af440aa49dd662
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-137140
Problem:
cur_VIC is not needed
hdmitx20 and hdmitx21 has the same vout api
Solution:
remove cur_VIC and move vout server to hdmitx common
remove pr_fmt
Verify:
ohm
Test:
DRM-TX-33
Change-Id: I981a7769fe1f9f6f562f1814cf19cd5f57535fdc
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-104015
Problem:
tx20/tx21 have similar functions for
sysfs and hwop.
Solution:
move to hdmitx_hw_common and hdmitx_sysfs_common
Verify:
ohm/t7
Test:
DRM-TX-36
Change-Id: I0638bfe263c07589716da467f251a279582bcda6
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-138821
Problem:
need to sync hdmitx20 with kernel5.4
Solution:
sync hdmitx20 with kernel5.4
Verify:
verify on ah212
Test:
DRM-TX-31
Change-Id: I667ff3df6d58552feb8972dc5c76b764713f61ac
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-98813
Problem:
Need to unify the edid 2.0 and 2.1
Solution:
Unify the edid 2.0 and 2.1
Verify:
t7/sc2
Test:
DRM-TX-34
Change-Id: Id145c0343279489b82316f22322d48a41c2df33c
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-104011
Problem:
hdev has some hw related members and
hdev is still be used in hdmitx_hw level.
Solution:
abstract tx20_hw/tx21_hw
Verify:
verify on ohm/t7
Test:
DRM-TX-33
Change-Id: Ic0e3867af7894fcdcd50a3a4fe234156e2ef821d
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-130171
Problem:
add use tsync flag for 5.15
Solution:
add use tsync flag for 5.15
Verify:
t5d
Change-Id: Ia2a4cc742a9213c5b40b16ce5a46502f9a857374
Signed-off-by: dehong.chen <dehong.chen@amlogic.com>
PD#SWPL-138534
Problem:
tx20/tx21 have different valid mode flow and api
Solution:
use common api instead
Verify:
verify on T7
Test:
DRM-TX-19, DRM-TX-20,DRM-TX-22, DRM-TX-25, DRM-TX-27
Change-Id: I008e5931adb223391e79149f908d5ad1cb186889
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-126494
Problem:
hdmi_format_para is the struct for hdmi setting,
but no api defined.
Solution:
abstract format_para api.
Verify:
verify on ohm
Test:
DRM-TX-19, DRM-TX-20,DRM-TX-22, DRM-TX-25, DRM-TX-27
Change-Id: Id14fd0186254963361f0df3d869aceab6704377b
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-140403
Problem:
Missing SM4 support in aml-crypto-device on S5
Solution:
Add SM4 support to aml-crypto-device
Verify:
S5
Change-Id: I0933bbcefa46daa5b00bd41d1e68fc9441bd3185
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-132959
Problem:
mode validation is in many functions and
checked many times.
Solution:
abstract the mode validate api and cleanup
the flow in tx20.
Verify:
verify on ohm.
Test:
DRM-TX-27, DRM-TX-26,DRM-TX-28,DRM-TX-25,DRM-TX-20
Change-Id: I9ddd17718fa43ac7a670192ba72a48d9bc0a6dc5
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-115660
Problem:
not enough time for avmute when suspend
Solution:
add delay for avmute
Verify:
T7
Change-Id: I105e2485bea918b8350fec16369b243de9782b75
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-137475
Problem:
process_checkin find ref has released
Solution:
add mutex for process and release check in
Verify:
SC2
Change-Id: I98af46e1488d534503b9984fc7866b9523522a49
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-132145
Problem:
for "invalid" or "null" mode, need reset format para
Solution:
add reset format para api for hdmitx21
Verify:
t7c-an400
Test:
DRM-TX-28
Change-Id: I12c77bb463048a0bd71aa309f1dbae118f196917
Signed-off-by: Ao Xu <ao.xu@amlogic.com>