PD#SWPL-197630
Problem:
When there are multiple owners, the slots and scatter
released by one owner will not be fully released.
Solution:
release no user scatters, no matter how many there are.
Verify:
sc2
Change-Id: I8d0a9cef75e53cdfd78fc39beb064265526b5b10
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-200535
Problem:
job released but not removed form job list when prealloc timeout
Solution:
delete the job from the job list when releasing the job
Verify:
t6d
Change-Id: I0304aa1ef487bbc1db581103b908d32283fe3d7e
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-200388
Problem:
video blurred when 4k1k100hz with some axis
Solution:
1.adjust freq_ratio calc, for 100hz freq_ratio = 2 not 1
2.fix src format change log crash issue
3.add video_state format log
Verify:
t5m
Change-Id: I713e94a5b2050ba6acbecbd7ceb091ce4bfeaa42
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
(cherry picked from commit 85c2ff0d2156e3491006f73c50003dd6a54b18f1)
PD#SWPL-200000
Problem:
Some module param and core param
is duplicated or not used.
Solution:
Remove those logo param
Verify:
s6
Test:
DRM-OSD-81
Change-Id: I5143a08804779384ec2945e138b58622914c6b37
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-190777
Problem:
Viu2 can only output 1080p because its scaler can
support max 1080p output.
Solution:
config crtc_max_out_size prop for each crtc
Verify:
S6
Test:
DRM-OSD-9
Change-Id: I9eb2cfc4b26e91cae9a6a5f578d5c97b24c3fde7
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-199606
PD#SWPL-200749
Problem:
x5 only has one display
Solution:
split drm dtsi for s905x5 and s905d5
Verify:
s6
Test:
DRM-OSD-15
Change-Id: I174f48acd90b6df6d7c80289374c1bc13ac60cc3
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-199606
PD#SWPL-186024
PD#SWPL-187610
Problem:
1.mipi screen displays flashing screen
2.the color display on the screen is biased towards green
3.osdblend eco global alpha is not enable
Solution:
1.
osd0/osd1 set OSD_PATH_MISC_CTRL reg bit4:7 to enable mali
viu2_osd set VPP2_MISC reg bit0 to enable mali
2.
set viu2_osd matrix to yuv when vmode is hdmitx
3.
enable the function of osdblend eco global alpha
Verify:
s6
Test:
DRM-OSD-6
Change-Id: I7ca2d33b5b70b333abfda2a8f158399c1e695abb
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-200007
Problem:
module params clean for videotunnel
Solution:
only use one module param
Verify:
adt4
Change-Id: I7281c013aefbfee858e739f1920d36e4e4151b68
Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
PD#SWPL-195125
Problem:
get precision detail, dark detail
and lightsense cap for specified mode
Solution:
get precision detail, dark detail
and lightsense cap for specified mode
Verify:
tv
Change-Id: I490974a05d4607c158ed7838c27634657c73d50c
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-196854
Problem:
ldim/tcon ko build failed
Solution:
main info
1. porting code from 5.15 to 6.12
2. last CL:500745
3. delete EDP related code
4. do not support unifykey
Verify:
sc2/s7d
Change-Id: I71b2e6a644373d2aaffa33bb783d4d2270b6e9d3
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
PD#SWPL-198138
PD#SWPL-184729
PD#SWPL-162044
Problem:
1.resource value is pre-estimated size and is inaccurate
2.the timeout for preemption may exceed anr time
Solution:
1.remove resource value check because this just records
the pre-estimated size
2.divide the timeout into small pieces,check multiple times
avoid anr or timeout kill
3.merge from keystone SWPL-184729 SWPL-162044
Verify:
S905X4
Change-Id: I307d3a840e6174583ec5240ba3f6a42214eedb32
Signed-off-by: joy.rao <joy.rao@amlogic.com>
PD#SWPL-196779
Problem:
add role file conrtol the usb mode:
/sys/class/usb_role/drd-role-switch/role
Solution:
add role file conrtol the usb mode:
/sys/class/usb_role/drd-role-switch/role
Verify:
crg usb
Change-Id: I471ea5d28cf8e70544d4add9b49b074f6dd56c54
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-197897
Problem:
The cma allocated by the driver is considered normal access.
Solution:
filter pages of isolate migrate type.
Verify:
local.
Change-Id: I9261f5b2de41b5b9896e4628b0c1e06890f4679f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-197972
Problem:
1 The clock driver of the g12a/g12b/sm1 is shared.
2 The YOCTO dual-screen display request of SM1 and G12B assigns gp0_pll
to MIPI DSI.As a result, the GPU cannot use gp0_pll, causing the GPU to
run up to 800M instead of the expected 846M.
Solution:
1 By default, gp0_pll is configured to output 846M under the device tree
node of the GPU in the main dtsi.
2 Check whether gp0_pll is configured by overwriting GPU configuration in
the corresponding dts.
Verify:
g12a_u212
Change-Id: I51fdc6af67281356cf50a71c13d9d69ca2d11e02
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
PD#SWPL-198639
Problem:
The clock of t5d/t5w/txhd2 has two ko
insmod ko consume CPU time, and both ko are insmod when actually used.
In order to optimize startup time, the two ko are merge into one.
Solution:
merge to one ko
Verify:
t5w at301
txhd2 be319
Change-Id: I8c83386c012b85b638f1cf166334e21590683cb3
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-199946
Problem:
The RME soundcard SCMS analysis software not change
Solution:
1. add spdif out channel status with copyright update
Verify:
Test t5m locally.
Change-Id: I7f5e6ea28fba6ec26b4e9783c2574f56a31363c3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-195993
Problem:
android would not refresh input devices while events
support was update, need to unregister input device.
Solution:
re-register input driver if enable IR mouse
Verify:
sc2
Change-Id: I4e4ce31f9fbfdbd1985db01b9d12ee74418dbfba
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-199409
PD#SWPL-197196
Problem:
kernel 6.12 optimize code architecture
Solution:
hdmitx20 and 21 implement a common main entrance
hdmitx20 and 21 use common hdmitx_dev struct
Remove function pointer calls in drv.c
hdmitx: Implement a public main entrance
implement amhdmitx probe
implement amhdmitx remove
implement suspend/resume
Verify:
s905X4/s905X5M
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82
Change-Id: Iddd4bcd97552f86a1c5fdd72f488705f9722c953
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-192100
Problem:
The 32-bit kernel cannot use the ramdump function.
Because the .text section is typically at 0x00108000,
which will be overwritten by the BL2E/BL33 after
reboot. And the PC side is unable to parse it.
Solution:
1. After kernel panic, use DMA to copy the 0-24MB
region to the 0x09000000 area.
2. Reboot to bl33z, fill compress_section[1] with
the 0x09000000 region.
3. Analyze it using the same method as before.
Verify:
sc2
Change-Id: I3e22beb06321289c6643d3f05ec2d910d5ce0beb
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-197836
Problem:
AndroidU framework get hdmi connect status by the node:
cat /sys/class/extcon/extcon0/cable.0/state;
now only the hpd plugout will send extcon node 0;
When suspend and hpd is high, the node is 1, so androidU
framework think hdmi is connected
Solution:
hdmitx_audio_event send 0 by extcon when suspend
hdmitx_hpd_event not use with extcon, just use hdmitx_audio_event
Verify:
s7d
Test:
DRM-TX-143
Change-Id: I8da8fd839885cdbf2f35851c9dfccdae6e73b7bc
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-197385
Problem:
pwm change to tee, not to be used
Solution:
use tee pwm
Verify:
s6
Change-Id: I50e05ea96ed5deff09bc62c9701ed709a92ce384
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
PD#SWPL-196869
Problem:
when pwm's clk be locked by tee, all pwm should follow tee.
so, should support wifi 32K on pwm tee module.
in case of clk of wifi's pwm channel being locked.
Solution:
add double channel to match wifi 32K legacy used.
Verify:
s6
Change-Id: I09a0ccbdf191ed31f86a6e3fc006672368eedd15
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-193316
Problem:
secure permission needs to be set for the pwm_clk register
related to voltage regulation. Relevant clk configurations
need to be stored in bl31. kernel configurations need to
be deleted.
Solution:
fix pwm clk related to voltage regulation to secure
Verify:
s6_bl201
Change-Id: If0d7d174ad220151add56646bfc5be2675abe658
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-194241
Problem:
gst need to check the card name for opening mipi camera
Solution:
set card name to meson-s6
Verify:
s6
Change-Id: I3e9281090480016c20131ae0095ffdb82cb0926e
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>