PD#SWPL-222171
Problem:
when switching from HDR to SDR, YUV422, 12bit is switched to
YUV444, 8bit via CSC, and the picture will flash a purple frame
Solution:
when switching from HDR to SDR, add CSC delay config, after 2 frames,
YUV422, 12bit is switched to YUV444, 8bit through CSC
Verify:
S905X5M
Test:
DRM-TX-78
Change-Id: I46987dc28ba5bb90766b617077b52a9321644a50
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-223540
Problem:
f2fs do not support compress
Solution:
1, sync drvier code from 5.15
2, use amfc to support compress
Verify:
S7D
Change-Id: Ia8ac5086a567c18179f1b83bdcbe83d59c2ffb08
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-220560
Problem:
add dptx and hdmitx new driver
Solution:
add dptx and hdmitx new driver
Verify:
s7d
Test:
DRM-TX-38
Change-Id: I67bd41a05f2a047fdb01dd341e9db85e2ec9fd9a
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-176906
Problem:
Demux driver need to support 16G memory
Solution:
Update demux driver to support 16G memory
Verify:
Verified on s6
Change-Id: If6d80a9be5c33bfda0310e2f5d6771448c7d9c68
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
PD#SWPL-223442
Problem:
wifi module api for start or stop wifi 32k
Solution:
add pwm 32k start or stop api
Verify:
ross
Change-Id: Ie3826ec93652e011d5802af508ff134c6253e761
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
PD#SWPL-223138
Problem:
amfc driver is too old compared with 5.15
Solution:
sync it from 5.15
Verify:
S6
Change-Id: Ia405e1ec397c2b06782126488f3a8171f234c9ec
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-220376
Problem:
add gd control interface.
Solution:
1.upper layer can use DV_IOC_SET_DV_GD to open and close gd.
2.driver can use the following command to open and close gd:
echo global_dimming 0/1 > /sys/class/amdolby_vision/dv_pq_info
Verify:
T6W
Change-Id: I7ddce412a02b6389b330ce58d157309b806a77a6
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-222264
Problem:
WSS can not work
Solution:
1) driver sync code from 5.15
2) app auto insmod ko
Verify:
TXHD2
Change-Id: I8cb8333cdfd7b478eaaace58bc98c178b18816e9
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
PD#SWPL-210501
Problem:
1.add debug trace to check drm status
2.rdma irq_cb is incorrect for multiple vpp, which always choose
the last one
Solution:
1.add debug trace to check drm status
2.fix problem of the rdma irq_cb is incorrect
Verify:
s7d
Test:
DRM-OSD-99
Change-Id: I9678513e6f07282fef94e0b8c5066c186c3f5826
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-222162
Problem:
After power on, key need to be continuously detected.
Solution:
Disable the watchkey function in BL30 before using
the controller in the kernel.
Verify:
T5M/AY301 T6D/BR301
Change-Id: If12bb7d543ac98db90ec78d384b2dffff2990dad
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-222162
Problem:
After power on, key need to be continuously detected.
Solution:
Add Watch-Key driver unified management.
Verify:
T5M/AY301 T6D/BR301
Change-Id: Ifb46bbb3b9b077c94341e2f70bdd934bcd6ec4b4
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-218353
Problem:
other modules are unable to determine how many VPU buses this chip has
Solution:
add get_vpu_bus_num() for sideband
Verify:
local
Change-Id: Iccd1e2dc157fae98efa57df0b3543e06f779ead4
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-218353
Problem:
support side band function
Solution:
1. add debugfs file interface;
2. add side band function interface for other modules
Verify:
local
Change-Id: Iddcd236dbeaf443e97d7784bec3828a121ec5809
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-221974
Problem:
The existing stable HDMI TX driver resides in hdmi_tx_connector.
The newly developed DP and HDMI TX drivers are implemented
in meson_tx_connector.
Solution:
rename meson_tx_connector to hdmi_tx_connector
Verify:
s7d
Test:
DRM-TX-38
Change-Id: I8844e5b1d06cc822a7c97720a0a1d44a3a77d03b
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-216658
Problem:
The hdcp_tx22 daemon and the weston set mode are executed asynchronously
in two separate threads, The execution order of the two cannot be
determined. If set mode runs first while the hdcp_tx22 thread has not
finished loading, the system will authenticate HDCP 1.4. Even after
hdcp_tx22 finishes loading, HDCP 2.2 authentication will not be triggered
due to code limitations. As a result, after booting, only HDCP 1.4 can
be authenticated. It can be fixed by re-plugging the cable.
Solution:
Daemon done, return real tx_hdcp_version;
Daemon timeout, return 1.4 tx_hdcp_version;
Daemon loading, return null tx_hdcp_version;
If the hdcp_tx22 daemon hasn’t finished loading, getting the
tx_hdcp_version returns nothing, so the system will not authenticate
HDCP. After the daemon finishes loading, it will use ioctl to notify
the driver to update HDCP. At this time, the real tx_hdcp_version can
be read, and rx_hdcp_version will also be read again through DDC.
Then the system starts authenticating HDCP 2.2.
Verify:
ohm
Test:
DRM-TX-37
Change-Id: Ic5b276d5592e55a42c5095b9f6f2299cadb00803
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-218847
Problem:
1.power off delay take too long time
2.wait mute timeout occurred when shutdown take too long time
Solution:
1.use sched_clock time instead of msleep
2.no waiting mute complete when shutdown
Verify:
ay301
Change-Id: If2e3b64ec4775a3228ada7c0aab3f4b918b59b5f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-215684
Problem:
he previous compress member could not adequately indicate whether
realloc was required, leading to errors in certain special scenarios.
Solution:
the decision to perform realloc is determined by Codec2, while Gralloc
uses the value of direct_map to confirm whether realloc is necessary
Verify:
android-16
Change-Id: Ibc72777d9f487fe402b22ee5043da422244e50b5
Signed-off-by: yang.zhou <yang.zhou@amlogic.com>
PD#SWPL-217369
Problem:
Due to gpiolib add scope guard mechanism, some variables
make be treated as not initial when used out side of this file.
Solution:
remove gpiod_gdb log print to be silence.
Verify:
local build
Change-Id: I11bfb0c04ccce6d63f586a26b704a3cab26d98fd
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-211952
Problem:
Dump with dma-buf ino.
Solution:
Get ino from dma-buf.
Verify:
sc2
Change-Id: I55a78ac98450c226b346edfd16eabc312ef7a43f
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-208682
Problem:
customize composition strategy through priority
Solution:
get priority from vframe
Verify:
ross
Change-Id: I50ee3fec26ebc5bef8d01b3ca55debc5f5e17dd7
Signed-off-by: En Liu <en.liu@amlogic.com>