PD#SWPL-201499
Problem:
Google's kernel source code failed to boot up.
Solution:
google kernel build flag is not same with trunk.
remove lto=thin flags
Verify:
local
Change-Id: I7f058756c6ae8f1dab6cde7715d0aed28905215b
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-159627
Problem:
afc value incorrect.
Solution:
fix afc value sync.
AMLATVDEMOD_VER "V3.09"
Verify:
T5W.
Change-Id: Ie83a3743b8ba373ff7a845f561bfd503dd059345
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-159954
PD#TV-100794
Problem:
fix pal bg gde filter and peaking.
Solution:
fix pal bg gde filter and peaking.
AMLATVDEMOD_VER "V3.08".
Verify:
T5M.
Change-Id: I4095c7a0e998b7968670fb9571e87117e5bbba57
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-202012
Problem:
Need to bringup t6d on k6.12
Solution:
Bringup t6d on k6.12
Verify:
T6D-BR301
Change-Id: I5718d9713f4e831553055f0e10a6add4a1bdc6fc
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-86119
Problem:
Some functions don't mean "utility" but are put in vpu util.
Code of RDMA registration is redundant.
Register debugging by overwriting always uses rdma handle of crtc0.
Global array is always allocated whether debugs and sysfs are used
or not.
Solution:
Move those functions out of vpu util.
Use single callback to implement RDMA registration.
Add param in sysfs and debugfs to indicate which index of rdma
handle to use.
Allocate global array only when used.
Verify:
S905D5
Test:
DRM-OSD-78
Change-Id: I4b46776ab0f3e7c3e6ca589fb2e43a2e79b44869
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-188671
Problem:
Prealloc Mechanism based on multi decoder instance.
Solution:
Add an instance number attribute to adapt the pre-allocation mechanism
in multi-channel scenarios.
Verify:
T6d
Change-Id: Iec0248a761903816e4a11373ed34fb0b5cde1532
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-201233
Problem:
amdv write 1a73 through old table, but vpp use
new part table.
Solution:
amdv write 1a73 through new table
Verify:
t5m
Change-Id: If7d4d14d942922d371825b0acbe3e17f73f8b7b8
Signed-off-by: yao liu <yao.liu@amlogic.com>
(cherry picked from commit 66f69143ba3cb6e4bec7423f2560305a1615c999)
PD#SWPL-201520
Problem:
DV input no need do DI.
Solution:
Add check flow in di_process for this case.
Verify:
t5m
Change-Id: I9c79488b465896cbd085e6c028fa621f7ac26eaa
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
(cherry picked from commit 6d8b056067d4086703a1d9a7e78787e6dbc4fa90)
PD#SWPL-187358
Problem:
Optimize the alignment method for TVP and Reserved memory allocation.
Solution:
For buffer allocations without specific alignment requirements,
use the default 4KB alignment, without the need to specify additional
alignment requirements.
Verify:
sc2
Change-Id: I12d5dde882f08e4d8237fb1ba2ba2738bc52f91d
Signed-off-by: kun.liu <kun.liu@amlogic.com>
PD#SWPL-83183
Problem:
current logo init process commits each time when sets config
Solution:
set state config multiple times and commit once in logo init
Verify:
t7 t3x
Test:
DRM-OSD-2
Change-Id: I2dabee249d1e1c8399d996b1e8377413bc8290f5
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-197863
Problem:
need support check_retry and exit logic for more lcd_extern usage
Solution:
add check_retry and exit cmd support
Verify:
ay301
Change-Id: I5e0fab730cffc1d6994b444d5152777552f83304
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-199701
Problem:
1.For t3x,some registers require sequential writing,
with some bits written first and some bits written last,
so part tables cannot be used
2.Rdma write(clk reg) has not taken effect in next vsync because
rdma took too long.In this case, read value still 0x55, the next
write "or" operation will include 0x55 again.
Solution:
1.move t3x to original table;
2.remove "or" operation for clk reg.
Verify:
t3x
Change-Id: I89085f51c1cecc11ac866ee7bb1852152b5f3f0a
Signed-off-by: yao liu <yao.liu@amlogic.com>
(cherry picked from commit 867ba476e59c08a309d291c9abf380f1a042dc42)
PD#SWPL-198192
Problem:
need transmit lcd bootargs to kernel
Solution:
update lcd bootargs transfer to kernel via lrm
Verify:
ay301
Change-Id: I662951fffd6aa14cb565ad0fb055986f900425f3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-201750
Problem:
ADT4 unable to boot after flashing the build ab/13042300
Solution:
Revert-ANDROID-eliminate-CONFIG_GKI_NET_XFRM_HACKS.patch.
Verify:
local
Change-Id: Iad599c54f1e8bf957b27f64f46553a84e089951d
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-199994
Problem:
esm is a sub-module for hdmitx driver, and not a
common module, should move to hdmitx driver, and
remove CONFIG_AMLOGIC_ESM
Solution:
move esm code to hdmitx driver
Verify:
sc2
Test:
DRM-TX-37
Change-Id: Ibab166bf08eb6ae9e708b92cc1cf052a323fb084
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-200236
Problem:
The code of the two branches is different
Solution:
sync code
Verify:
s7d
Test:
DRM-TX-78
Change-Id: I72b702a110ad61bbcc0360fbbf98651ee8d0e07d
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-201374
Problem:
the stack of video_composer_task is larger than 2048
Solution:
avoid defining large struct on the stack
Verify:
SC2
Change-Id: I54fb7e2fe7eb0ca12196bf2168bee2fe840b0f45
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-201548
Problem:
different modules use different address path
of dev_ion.h
Solution:
move dev_ion.h to include/linux/amlogic/media/,
unify the address path of dev_ion.h
Verify:
ohm_wv4
Test:
kernel compile pass
Change-Id: I1c25128d86d36e4c5d0ea8dbd00c1872f0aac9d6
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
PD#SWPL-199463
Problem:
bit write read from real reg
Solution:
add mirror table for new optimize function
Verify:
all chips
Change-Id: Ic27859512c3fa17da91c4d0adb5afcd8576b6d0c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-199370
Problem:
aspect ratio algorithm precision issue
Solution:
add new aspect ratio algorithm, used numerator
and denominator
Verify:
s6
Change-Id: I9ff7aa25e0d0eb59fffac4c5b5ef420d63c3919e
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-198828
Problem:
switch eye protect mode, color not change when dv enable
Solution:
add eye protect support when dv enable, except sink-led
Verify:
s905x4
Change-Id: I8e9a2d805cf6f1cd21410a86046d6779e5dec51f
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-201019
Problem:
kernel 6.12 can not using mipi camera properly
Solution:
sync code from kernel 5.15
Verify:
local
Change-Id: I8d42c0c098d0d11ec7ec86e9227eb394ec041160
Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
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>