PD#SWPL-95400
Problem:
If we pin a file in android, the whole data of this file
will be loaded to DDR, but most of these data may not be
used, this caused memory waste.
Solution:
delay mark mlocked flags for unevictable pages until
it has been faulted.
You can use following command to disable this function:
echo 0 > /proc/sys/vm/shrink_unevictable
Verify:
sc2_ah212.
Change-Id: I3981b36114ab331c558198b80140aaa91fe7e7df
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-94447
Problem:
iotrace break gki10
Solution:
modify iotrace still builtin but not break gki10
also enabled DEBUG_PRINTK
Verify:
sc2
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Change-Id: Iffc6a21f28de871b7289ca671c2c226c40e9a66a
PD#SWPL-94447
Problem:
debug break gki10
Solution:
1, support amlogic_debug build to module, amlogic_debug module
includes debug_lockup, cpu_mhz and meson_atrace for now.
2, amlogic_debug some function still build in kernel but not break
gki10, for example: irq_check function on builtin kernel code,
module_debug, workqueue debug etc.
3, new config CONFIG_AMLOGIC_HARDLOCKUP_DETECTOR still builtin but
not break gki.
4, other functions for example iotrace still under developing
Verify:
sc2
Signed-off-by: Hanje Lin <hanjie.lin@amlogic.com>
Change-Id: I9c11465e3e879f999ae6fd13dc12c044efd2417a
PD#SWPL-97326
Problem:
hw config cmd value should larger than CMD_CONF_OFFSET.
Solution:
enum part start from CMD_CONF_OFFSET + 0x2000 to follow
legacy define.
Verify:
verify on OHM
Test:
DRM-TX-18
Change-Id: Icd7aa397cbd6f6ec3a638f90b822c78fe4edf893
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-96745
Problem:
No afd callback in vpp
Solution:
Add afd callback in vpp
Verify:
t3
Change-Id: Ibe5a3fe27a8dee108efaa4ef2e6fb285dc03b4ce
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-95126
Problem:
share set_content_type function for tx20&tx21.
Solution:
move cntlconfig to common hw api and implement
set_content_type drm api and sysfs.
Verify:
verify on OHM.
Test:
DRM-TX-15
Change-Id: Ie06229130175cc0b02d2816db48c9f8884777f2d
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-95125
Problem:
share setphy/avmute function for tx20/tx21.
Solution:
move cntlmisc to common hw api and implement
setphy/avmute drm api and sysfs.
Verify:
verify on ohm.
Test:
DRM-TX-13,DRM-TX-14
Change-Id: Id231252241e30be2d88d4789b77b392c9cf10abb
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-94445
Problem:
the system cannot export new func for ko.
Solution:
not export cma_mmu_op() func.
Verify:
sc2_a212.
Change-Id: I8e146339f51838cc004739af77496111152df9ca
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-93252
Problem:
flash screen time to time under 1080p 444,10/12bit
Solution:
enable NULL packet for this special TV
Verify:
ah212
Change-Id: Ib6cfc98724dc8cb18c39a712df2ce7121f67be83
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-93252
Problem:
flash screen time to time under 1080p 444,10/12bit
Solution:
enable NULL packet for this special TV
Verify:
ah212
Change-Id: I17bd2c587994ec43c719fdf62fe92595d0af7e98
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-95455
Problem:
should support ext-demod build.
Solution:
sync cxd2878 demod id with 5.4.
Verify:
verified by T + ohm
Change-Id: Ib0670c623c15c27e1f96d7d75293034ce3dbbcbf
Signed-off-by: min.yang <min.yang@amlogic.com>
PD#SWPL-95643
Problem:
5.15 kernel missing many patches
Solution:
sync code from kernel-5.4
Verify:
ohm
Signed-off-by: yao liu <yao.liu@amlogic.com>
Change-Id: I26cfa46574781c980abb0024b859655901d71dcf
PD#SWPL-93488
Problem:
luma,saturation,hue ioctl struct type not match with pq server
Solution:
use the same struct type
Verify:
sc2/tm2/t3
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
Change-Id: I53f335f4f1b248a24ecc3dcdd48b37f1e38eafb9
PD#SWPL-52253
Problem:
implementation of GPU DDK and gralloc
due to switching from ION to DMA-BUF heaps
Solution:
1.get and handle buffer flag from gralloc
2.change dambuf and ion heap size
Verify:
AndroidT kernel5.15 ohm
Change-Id: I55b7206bf366dadd2499adc53713686e6d4c5684
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
PD#SWPL-92722
Problem:
iotrace miss function
Solution:
add function in iotrace driver,like smc/sched/clk/pw
Verify:
S4D_AP222
Change-Id: Ie59bac5863e5a4420b90d95a0ecae0bcb0584fb6
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-93372
Problem:
SAD count is being reset when starting to parse a new extended block
resulting in loss of audio capabilities
Solution:
Do not reset variables when starting to parse a new block. They
should be reset before starting to parse EDID and are already
being reset before starding the EDID parse
Verify:
ap222
Change-Id: I31d6b0edc16a481684784e5be404546d85695f0b
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-93463
Problem:
When output y422 colorspace, the VP_OUTPUT_MAPPING_IVCTX needs to
configure correctly. Otherwise the low bits will be skipped.
The dither of 10 bit to 8 bit not enable.
Solution:
Correct the colorspace y422 mapping.
Enable the dither of 10 bit to 8 bit.
Verify:
T7
Change-Id: I6641499e036e535333a4caad3ea67f11249735e3
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
PD#SWPL-93233
Problem:
abstract tx common struct
Solution:
add hdmitx_dev_common in hdmitx_common,
and move uboot parameter to it.
Verify:
verify on OHM.
Tests:
DRM-TX-1
Change-Id: Ie23e1d96975724bcc35f19ef6d5a5a55a044cef1
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-84715
Problem:
keep tuner id synchronized.
Solution:
porting id from 5.4
Verify:
verified by T + ah212
Change-Id: Iba63050a4e81bf87f7a4549bf386cfe3f97e3125
Signed-off-by: min.yang <min.yang@amlogic.com>
PD#SWPL-93141
Problem:
Some words are misspelled
Solution:
Change to correct
Verify:
S905X4
Change-Id: I0cbeb8fca54e14f7d0c50b56ca353142fa89f4d3
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-93204
Problem:
because dv sink-led out crc failed, cause black screen
Solution:
bypass eye protect for dv
Verify:
sc2
Change-Id: I8dd8a3abd26b2dd675760b17ee8804f498b5ce35
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-92587
Problem:
1. Add codec2 es type support export private
meta data use pass hdr information
Solution:
1. Add codec2 es type support export private
meta data use pass hdr information
2. Change Dmabuf alloc return fd replace phyaddress
Verify:
S905X4-AH212
Change-Id: I9847ecfcb5c819b389583bf997f3a95134c9364e
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
PD#SWPL-90374
Problem:
There are spelling errors in the code.
Solution:
Check the spelling.
Verify:
sc2
Change-Id: I069fc253b91842a1f1e9f2d8b5dd45a972b54191
Signed-off-by: rong.quan <rong.quan@amlogic.com>