In case of using BT_ERR and BT_INFO, convert to bt_dev_err and
bt_dev_info when possible. This allows for controller specific
reporting.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Change-Id: I3cd472bf3ce8e797b112c36227884ee2d80b6394
PD#SWPL-15199
Problem:
tunig process of hs400 is too slow
Solution:
saved tuning parameter of hs400 on emmc
Verify:
passed on tm2_t962e2_ab311
Change-Id: Ifd1ba375dd93745c9db33a94f3480ebfc21e999f
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-20468
Problem:
nv12 format is not support in vpp
Solution:
add nv12 format support
Verify:
on U212
Change-Id: I1e621bede63a283931743c2cd3a5ea1548149368
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-16226
Problem:
v4l2 can not display on vf video
Solution:
add v4l2 vf video support
Verify:
U212
Change-Id: If04fc991edaa57c202f1adcf6b1be6d453bb2af9
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
PD#SWPL-1449
Problem:
need to implement a way to get multi-vdec information
Solution:
add new data struct to dynamically record each VDEC's information
Verify:
u212
Change-Id: I5e63d4cf6e7f5e2739b95e2626cc6565d42bdbb0
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
PD#SWPL-19709
Problem:
Playback youtube 360vr video blurred screen when switch
Solution:
need to check the inst is valid when the res change.
Verify:
u212
Change-Id: I7c58d3b882be47f9681edf074673c4c75f6e3a62
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-17328
Problem:
drop frames
Solution:
1. add trace for debug
2. less than 256K, do not use codec_mm allocation
3. osd fence crash
Verify:
local
Change-Id: Ibc0fe63b73cf20359bda1d743dfc6a14dc82c03f
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
PD#SWPL-27030
Problem:
system would panic after enabling kmemleak.
Solution:
make sure the kernel thread stack addr is mapped to physical
memory before kmemleak scanning it.
Verify:
verified by sm1_s905x3_ac214.
Change-Id: I930e9c3d6e5930d4f71b42c2cdbc39d11c24eeb0
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
PD#SWPL-26439
commit eb66ae0308 upstream
Jann Horn points out that our TLB flushing was subtly wrong for the
mremap() case. What makes mremap() special is that we don't follow the
usual "add page to list of pages to be freed, then flush tlb, and then
free pages". No, mremap() obviously just _moves_ the page from one page
table location to another.
That matters, because mremap() thus doesn't directly control the
lifetime of the moved page with a freelist: instead, the lifetime of the
page is controlled by the page table locking, that serializes access to
the entry.
As a result, we need to flush the TLB not just before releasing the lock
for the source location (to avoid any concurrent accesses to the entry),
but also before we release the destination page table lock (to avoid the
TLB being flushed after somebody else has already done something to that
page).
This also makes the whole "need_flush" logic unnecessary, since we now
always end up flushing the TLB for every valid entry.
Change-Id: Ida7dcda3734c75e4656346904ff17aa0073960cb
Reported-and-tested-by: Jann Horn <jannh@google.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Tested-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
PD#TV-17133
Problem:
need API to unprotect mem for codec and so on
Solution:
add api tee_unprotect_mem
Verify:
Android Q + TM2
Test: manual
Change-Id: I9dc205e209988297724c9461254c028e779ae1eb
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
PD#SWPL-16829
Problem:
need API to protect mem for gpu and so on
Solution:
add api tee_protect_mem_by_type
Verify:
Android Q + TL1
Test: manual
wq
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
Change-Id: Ibf420e1d4845c1020ae2ff91629f6e31a32a7bc3
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
PD#SWPL-18795
Problem:
need API to protect mem for tvp
Solution:
add api tee_protect_tvp_mem
Verify:
Android Q + franklin
Test: manual
Change-Id: I46daec70a843524789aa63b32ef5e43111b65c66
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
PD#SWPL-17563
Problem:
DOS should be compatible forward previous version in the same chip
Solution:
add the probe done flag
Verify:
AC200
Change-Id: Id8696147646d6ecb1077acd0907650987823dea4
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
PD#SWPL-17563
Problem:
add power domain control API for TM2 and SM1
Solution:
add power domain control API for TM2 and SM1
Verify:
T962E2
Change-Id: I2587b2b554281ee7c81d77e8978a2640e5f73be5
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-26044
Problem:
secure memory is not enabled
Solution:
add support for secure memory
Verify:
ac214
Change-Id: If93577beba551b4495cd4eaa72c46e8dee8f866f
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
Signed-off-by: chunlong.cao <chunlong.cao@amlogic.com>
PD#SWPL-25894
Problem:
GE2D Support color space convert
Solution:
add this support
Verify:
w400
Change-Id: I0d47c3bb7734fcc6246d7e01cf8b6902ff2a5c15
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-17634
Problem:
add power domain control
Solution:
add power domain control
Verify:
T962E2 AB319
Change-Id: I1c0f8eef091a57b924c0cb431eb82c290ff56d35
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-27213
Problem:
need different lcd init_level policy
Solution:
support more init_level
Verify:
x301
Change-Id: I28d39d50066494fc0aed640fe3c93986f6fd394e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-17480
Problem:
sometime there need shift a little for frac
Solution:
add clk frac shift support
Verify:
x301
Change-Id: I937cca1b07f20d95144d1b85addc2cac775d1aac
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-28030
Problem:
there is risk when trying to destroy
the context being processed.
Solution:
add mutex to avoid the risk
Verify:
SM1
Change-Id: I6b85b4eb54f3b185613f37e5f83ef54663ddb01f
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-19410
Problem:
Connect with Hisense HZ55A65 TV, It will lost resolution
Solution:
Modify the code using read edid
Verify:
verify on the board of U212
Change-Id: Iaa2692508db6bcde07578e027e23bbf52399b25c
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-22126
Problem:
powergate and mempd not optimized for g12 and tm2
Solution:
fix mempd in vpu and optimize power for dv
Verify:
ab311 and ac213
Change-Id: I204c03acbbc532793d0891631ae9dd132175a5c9
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-21381
Problem:
not support DoVi hdmi input for Source 2.4.2
Solution:
add hdmi in DoVi(Source/Sink-LED) support for Source 2.4.2
Verify:
ab311
Change-Id: Ica11b8bfdb1c108131cfdd04c688e4de392fceca
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-19839
Problem:
Dolby Vision support using EMP transfer metadata and vsif
Solution:
Add code used to EMP transfer metadata and vsif
Verify:
verify on the board of U212
Change-Id: I8720327781a913a83ccbe0511ccf3e5db46ce0e7
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-16910
Problem:
Need keeping authenticated status during suspend
Solution:
Add a workround to keep status
Disable the NULL packet
Verify:
G12/SM1/TM2
Change-Id: I2f08c086a4289de9f988425bc5ad9deb740c4db4
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-18367
Problem:
amcsc used the wrong chip_id function from dolby vision driver,
but at the time, the dv driver maybe did not probe. So got the
wrong chip id state.
Solution:
Using the common chip id function.
Verify:
Verifed by u212
Change-Id: If27e861a2c8d8a586448f33cbaa70a81cbe2370f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-20074
Problem:
When the variable hdr_priority is true, the original 'dv_cap'
will be masked, and systemcontrol can't get the value under
'HDR Priority/HDR10'.
Solution:
Add the sysfs 'dv_cap2' no matter what's the 'hdr_priority'.
Verify:
G12
Change-Id: Ia45e4016c1ce4fa17e5102509195afda95a20804
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-20095
Problem:
1.optimize the loading of demod and tuner.
Solution:
1.optimize the loading of demod and tuner.
2.DVB uniformly calls the attach interface to load demod or tuner.
3.Demod and Tuner internal structure is independent of DVB structure.
4.All demod and tuner configuration parameters are passed on attach.
Verify:
Verified by x301 and ac214.
Change-Id: If5f485cebeadb7ec54cf5b10ef1424065c13b388
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-19062
Problem:
Please add the debug info of hdmitx
Solution:
add the debug info of hdmitx
Verify:
verify on the board of U212
Change-Id: Ib6ce0ec6f9388e102b7d31b645a2d6d105058178
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
This patch is to handle a SoC builtin or or an external USB controller by
the function 'odroid_amlogic_usb3()' where returns true for SoC builtin USB
controller and false for another one.
Change-Id: I13055dc87378175205ddb019c97d57db9d2e3d98
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
PD#SWPL-17427
Problem:
when turn off dv vmode set to null, not vsync interrupt,
cause csc fail to monitor cap change
Solution:
csc add monitor for VOUT_EVENT_MODE_CHANGE
Verify:
Verify on u212
Change-Id: I072dcc75a62888abe403c574f2ecd8e796fa3e00
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-18116
Problem:
Under keeping frame case, dv toggle frame with wrong
mode, it may cause non-dv effect .
Solution:
Improve the toggle flow , pass the correct mode into
dv driver. Then using the last meta data
Verify:
Verified on u212
Change-Id: I456bb16e16810c166aba23d07a3296595032861e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-17476
Problem:
After kernel boots up, there will no edid info for vinfo
Solution:
Need update edid attach after reading once
In kernel init, hdmitx / vout / edid with attach once time
Normal replug, plugin / edid / uevent / mode setting / attach
Also, init DRM_DB[0] data.
Verify:
G12/U212
Change-Id: I188f0972c882a17efcbc568ef7d0db861b9b6c0a
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>