Commit Graph

649329 Commits

Author SHA1 Message Date
jintao xu
0959087c0c ppmgr: fix omx freeze when reset [1/1]
PD#SWPL-20851

Problem:
omx can not set omx pts after reset

Solution:
set omx pts after reset

Verify:
U212

Change-Id: I582e5696f14b50bb774e18ef8295af5b4f121501
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2020-12-17 17:10:41 +09:00
Zhizhong Zhang
95532d1b78 avsync: Use first_vpts to init pcr when audio in invalid [1/2]
PD#SWPL-21670

Problem:
Play from beginning will stuck

Solution:
Use first_vpts to init pcr instead of the invalid audio pts
Merge the SWPL-18995,SWPL-20085,SWPL-21122,SWPL-21117 patch

Verify:
Verified ok on patch-build

Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
Change-Id: I1bbd3a94b0c17f104eeb67c8f8ba528f2a37fdf4
2020-12-17 16:55:55 +09:00
jintao xu
860f4fc806 ppmgr: free_q len is 0 when dec reset [1/1]
PD#SWPL-20253

Problem:
free_q len is 0 when dec reset

Solution:
reset free_q after reg

Verify:
U212

Change-Id: Icfb5e36cb13198bece0710aeafae6f02d3d26f7d
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2020-12-17 16:54:48 +09:00
Zhengrong.Zhu
8267954ee9 hdmitx: null pointer in hdmitx_set_vsif_pkt when driver early suspend [1/1]
PD#SWPL-19636

Problem:
null pointer in hdmitx_set_vsif_pkt when driver early suspend

Solution:
Check the pointer, if the pointer is null then use the default val.

Verify:
verify on the board of U212

Change-Id: I106ba2b72843cf1aa4ae15bcd7b1bbbda4fa6a71
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2020-12-17 16:53:35 +09:00
Zhengrong.Zhu
3af975a114 hdmitx: Please add the debug info of hdmitx : hdmitx [1/1]
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>
2020-12-17 16:52:55 +09:00
zhenxin.pu
fcb745109a Thermal: SM1: thermal driver print error [1/2]
PD#SWPL-18939

Problem:
1.read gpupp failed
2.binding cdev gpufreq failed

Solution:
1.add gpupp parameter and change the min state of gpufreq
2.put part of sm1 thermal dts parameter in dtsi

Verify:
S905X3_AC214

Change-Id: I364fabf05d606ee82bbe8cb30b40dae5063a0b00
Signed-off-by: zhenxin.pu <zhenxin.pu@amlogic.com>
2020-12-17 16:51:41 +09:00
Luke go
d897226bb1 Merge changes Id1932552,I2ceb31b9,Ie9d2325e,Id0262986,Idd344270, ... into odroidg12-4.9.y-android
* changes:
  ODROID-COMMON: arm64/dts: move can0 node to each overlay directory
  ODROID-COMMON: arm64/dts: Extract spidev node from main dts to spi0 dtbo
  ODROID-COMMON: arm64/dts: Rename uart DTBOs to use numerical order
  ODROID-COMMON: arm64/dts: move onewire node to each overlay directory
  ODROID-C4/N2: fix to remove compile warning of 'Warning (reg_format): "reg" property in ...'
  ODROID-COMMON: arm64/dts: Move peripheral nodes from dts to each dtbos.
  ODROID-COMMON: arm64/dts: Support device tree overlay.
2020-06-11 18:04:21 +09:00
Chris
b64cf4e711 Merge "Revert "Revert "dts: add video11 and video12 for screencontrol [2/6]""" into odroidg12-4.9.y-android 2020-06-11 17:54:28 +09:00
Chris
11713f2000 Merge "dv: fix first frame garbage with dual dv [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:54:19 +09:00
Chris
e32b7e748f Merge "dv: do not use internal chip_id function by other modules [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:54:13 +09:00
Chris
92ca8a5281 Merge "hdmitx: The logo is displayed twice during the restart process [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:54:07 +09:00
Chris
f4e237a563 Merge "ion: fix deadlock in ion driver [1/2]" into odroidg12-4.9.y-android 2020-06-11 17:54:00 +09:00
Chris
bc92884ee6 Merge "ion: fix race condition in ion driver [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:53:54 +09:00
Chris
8994529afc Merge "tsync_pcr: need to set firstvpts when video start. [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:53:48 +09:00
Chris
5883f8287d Merge "avsync: Use the video start pts to init pcr [3/3]" into odroidg12-4.9.y-android 2020-06-11 17:53:41 +09:00
Chris
91304b265a Merge "usb: usb C port bad recognition rate more than 3%. [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:45:02 +09:00
Chris
58e7ec04c3 Merge "display: add force output mode feature [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:49 +09:00
Chris
d71e2d11b4 Merge "ppmgr: fix omx freeze when reset [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:43 +09:00
Chris
d5699b2ed4 Merge "hdmitx: fix mismatch between dv_cap and dv_cap2 [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:36 +09:00
Chris
3748f8b42f Merge "hdmitx: add the real sysfs 'dv_cap2' for hdr_priority [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:27 +09:00
Chris
025d8ea1f3 Merge "avsync: Use first_vpts to init pcr when audio in invalid [1/2]" into odroidg12-4.9.y-android 2020-06-11 17:44:20 +09:00
Chris
92a91dc39c Merge "hdmitx: don't ignore hotplug out event [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:13 +09:00
Chris
9640674c0c Merge "osd: osd rdma recovery table init err [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:06 +09:00
Chris
50681c0161 Merge "hdr: fix non-standard hdr video type identify [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:58 +09:00
Chris
9068f84ab4 Merge "memtrack: add EGL cached mem counting on AndroidP [3/3]" into odroidg12-4.9.y-android 2020-06-11 17:43:51 +09:00
Chris
35136bd113 Merge "dts: unable to wake up lcd after sleep, lcd io is used by other mode [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:44 +09:00
Chris
5d5533e0e3 Merge "demod: optimize the loading of demod and tuner [1/3]" into odroidg12-4.9.y-android 2020-06-11 17:43:37 +09:00
Chris
0e664bce6a Merge "ppmgr: free_q len is 0 when dec reset [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:29 +09:00
Chris
813bb8a2b3 Merge "audio: don't reset spdifout in prepare [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:23 +09:00
Chris
8213383074 Merge "di: fix subtile wrong effect [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:16 +09:00
Chris
46a8ed382c Merge "hdmitx: null pointer in hdmitx_set_vsif_pkt when driver early suspend [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:09 +09:00
Chris
61b7dd1e47 Merge "hdmitx: Please add the debug info of hdmitx : hdmitx [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:00 +09:00
Chris
71fea9315a Merge "vpp: fix the vd1 path select error with wrong condition [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:42:53 +09:00
Hyeonki Hong
96213d4bb7 ODROID-COMMON: arm64/dts: move can0 node to each overlay directory
Change-Id: Id193255239af6dbe0b8e7a80779ea5f3cfee2e6b
2020-06-04 09:19:15 +09:00
Deokgyu Yang
d2ddb79705 ODROID-COMMON: arm64/dts: Extract spidev node from main dts to spi0 dtbo
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2ceb31b971970b96e0113e528b4c174d81d35258
2020-06-04 09:19:15 +09:00
Deokgyu Yang
a0095f3751 ODROID-COMMON: arm64/dts: Rename uart DTBOs to use numerical order
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie9d2325e83d9cbb4accfc21e5bac26f86275ed24
2020-06-04 09:19:15 +09:00
Hyeonki Hong
64a1d4e9d2 ODROID-COMMON: arm64/dts: move onewire node to each overlay directory
Change-Id: Id0262986d0faceba5997e8bff9d89833aff8f5a0
2020-06-04 09:19:15 +09:00
Dongjin Kim
00d1524031 ODROID-C4/N2: fix to remove compile warning of 'Warning (reg_format): "reg" property in ...'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Idd344270f12652a45511fad02330efd7b0a0ea98
2020-06-04 09:19:15 +09:00
Luke Go
31c3e59207 ODROID-COMMON: arm64/dts: Move peripheral nodes from dts to each dtbos.
Change-Id: Ifa712ba44e9331f6e00f212ccc8fb098b51154d4
2020-06-04 09:19:15 +09:00
Luke Go
bad84ba08f ODROID-COMMON: arm64/dts: Support device tree overlay.
- Support device tree overlay to modify peripherals states. By using
  this feature, we can select the peripheral state like on/off.

-To use this feature, you should change a "overlays" value of env.ini files.

Change-Id: Ibf9e7bf676a4d470f991350508dc7b84b2ea80fa
Signed-off-by: Luke Go <sangch.go@gmail.com>
2020-06-03 15:56:25 +09:00
Hyeonki Hong
900da3cb7f ODROID-COMMON: arm64/dts: modify i2c alias bus number
Change-Id: I94d1bc2f56bac1af6c7b45ab1b9bf8cbf50407c1
(cherry picked from commit 842d3137e6)
2020-06-03 13:42:13 +09:00
Chris KIM
3d007e4026 Revert "Revert "dts: add video11 and video12 for screencontrol [2/6]""
This reverts commit 22238af31a.

Change-Id: I7f1fa91c80a5536f04a6622ee049a4b840fee09e
2020-06-01 16:02:16 +09:00
Brian Zhu
29de6b3a91 dv: fix first frame garbage with dual dv [1/1]
PD#SWPL-19310

Problem:
When playing dual layer dv streaming, first frame
may display green. BL layer is out of sync with EL
layer.

Solution:
Fix the case which will toggle one more EL vframe incorrecly.

Verify:
Verified by AC214

Change-Id: I13b4a05716e800b8d25564a82d1d34d7198bf467
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
(cherry picked from commit d3b7a081f3b744a7a24a84bbf74865445651d4b4)
2020-06-01 15:21:24 +09:00
Brian Zhu
2f0ae64d27 dv: do not use internal chip_id function by other modules [1/1]
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>
2020-06-01 15:20:46 +09:00
Zhengrong.Zhu
4eb0070cba hdmitx: The logo is displayed twice during the restart process [1/1]
PD#SWPL-20447

Problem:
The logo is displayed twice during the restart process

Solution:
Modify the codes used to update the status of HPD during the restart.

Verify:
verify on the board of U212

Change-Id: I05786b0668991eb4c161529d04b0333493475d8c
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2020-05-29 13:55:11 +09:00
binqi zhang
8ab56d3b55 ion: fix deadlock in ion driver [1/2]
PD#SWPL-17365

Problem:
There exits deadlock between ion_client_destroy
and ion_debug_heap_show.
ion_client_destroy will take debugfs_mutex and then
call debugfs_remove_recursive, which will wait for
the finish of debugfs_srcu's GP.
sys_read will enter debugfs_srcu'critical section,
then ion_debug_heap_show will try to get debugfs_mutex.
At last, deadlock occurs.

Solution:
change mutex_unlock place in ion_client_destroy,
don't let the mutex lock synchronize_srcu.

Verify:
autoreboot test on tl1

Change-Id: I7008a6bf21421ab08d84754ae52d0840e53900c9
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
2020-05-29 13:55:00 +09:00
binqi zhang
21fb83cc12 ion: fix race condition in ion driver [1/1]
PD#SWPL-17365

Problem:
There are race condition between ion_client_destroy
and ion_debug_heap_show after adding memtrack function

Solution:
move debugfs_mutex to protect the ion_debug_heap_show

Verify:
autoreboot test on tl1

Change-Id: Ife30539426a003946db464bb7349746d991c6f36
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
2020-05-29 13:54:51 +09:00
chen.chen1
b6ce15c859 tsync_pcr: need to set firstvpts when video start. [1/1]
PD#SWPL-21624

Problem:
audio hal can't get firstvpts.

Solution:
set firstvpts when video start.

Verify:
verified on S905X3-AC214

Change-Id: I22134ae58fbc89bb0748adcfc4b07718c192f8e9
Signed-off-by: Chen Chen <chen.chen1@amlogic.com>
2020-05-29 13:54:40 +09:00
Zhizhong Zhang
0433ac1c70 avsync: Use the video start pts to init pcr [3/3]
PD#SWPL-21670

Problem:
Play from beginning,it will get stuck for a while

Solution:
Use the video start pts to init pcr if audio invalid

Verify:
Verified ok on patch-build

Change-Id: I0673d811889cb6b9ae3301355f09b268725d472d
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
2020-05-29 13:54:30 +09:00
he.he
1bcba5d6ee usb: usb C port bad recognition rate more than 3%. [1/1]
PD#SWPL-21646

Problem:
usb C port bad recognition rate more than 3%.

Solution:
Using new PHY (that starting at TL1) parameters
that is different from the old PHY (g12a).

Verify:
test pass on tl1

Change-Id: I41885936645a90658318883b8556312814430633
Signed-off-by: he.he <he.he@amlogic.com>
2020-05-29 13:54:07 +09:00