GitHub/LineageOS/G12/android_kernel_amlogic_linux-4.9.git
3 years agoMerge "ion: add fb heap for hw-fb [1/1]" into android-tv-deadpool-4.9-android12
Hongguang Chen [Tue, 6 Jul 2021 23:55:36 +0000 (23:55 +0000)]
Merge "ion: add fb heap for hw-fb [1/1]" into android-tv-deadpool-4.9-android12

3 years agoMerge "cts: fix CtsDownloadManagerApi28 1 fail [1/2]" into android-tv-deadpool-4...
Hongguang Chen [Tue, 6 Jul 2021 23:55:19 +0000 (23:55 +0000)]
Merge "cts: fix CtsDownloadManagerApi28 1 fail [1/2]" into android-tv-deadpool-4.9-android12

3 years agoMerge "picdec: skip putting vframe if current buffer is being in used [1/1]" into...
Hongguang Chen [Tue, 6 Jul 2021 23:55:09 +0000 (23:55 +0000)]
Merge "picdec: skip putting vframe if current buffer is being in used [1/1]" into android-tv-deadpool-4.9-android12

3 years agoMerge "cec: fix complie issue [1/1]" into android-tv-deadpool-4.9-android12
Hongguang Chen [Tue, 6 Jul 2021 23:54:48 +0000 (23:54 +0000)]
Merge "cec: fix complie issue [1/1]" into android-tv-deadpool-4.9-android12

3 years agoMerge "sc2: AUCPU secure fw loading [3/4]" into android-tv-deadpool-4.9-android12
Hongguang Chen [Tue, 6 Jul 2021 23:54:28 +0000 (23:54 +0000)]
Merge "sc2: AUCPU secure fw loading [3/4]" into android-tv-deadpool-4.9-android12

3 years agoMerge "STR: fix suspend abort cause system resume by powerkey event [1/1]" into andro...
Hongguang Chen [Tue, 6 Jul 2021 23:54:06 +0000 (23:54 +0000)]
Merge "STR: fix suspend abort cause system resume by powerkey event [1/1]" into android-tv-deadpool-4.9-android12

3 years agoMerge "demux: pts secure mem protect fail [1/1]" into android-tv-deadpool-4.9-android12
Hongguang Chen [Tue, 6 Jul 2021 23:53:55 +0000 (23:53 +0000)]
Merge "demux: pts secure mem protect fail [1/1]" into android-tv-deadpool-4.9-android12

3 years agocec: fix complie issue [1/1]
hang cheng [Mon, 7 Jun 2021 11:20:36 +0000 (19:20 +0800)]
cec: fix complie issue [1/1]

PD#SWPL-52256

Problem:
CONFIG_AMLOGIC_HDMITX macro is not defined on
TV platform, cause complie issue

Solution:
fix complie issue

Verify:
am301

Change-Id: Ib9bcfe3d613f8affe2469adcce4383b315eee3fc
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
3 years agovideo_composer: add in the uvm type to check whether has vframe. [1/1]
jintao xu [Mon, 21 Jun 2021 06:43:18 +0000 (14:43 +0800)]
video_composer: add in the uvm type to check whether has vframe. [1/1]

PD#SWPL-52333

Problem:
hdmitx audio setting function is called on TV
platform and cause crash

Solution:
if hdmitx driver is not enabled, export function
just return

Verify:
pb

Signed-off-by: jintao xu <jintao.xu@amlogic.com>
Change-Id: Ic87135d8621a2a37e74c2ac8ddc6d7096e3d75d1

3 years agoion: add fb heap for hw-fb [1/1]
Dezhi Kong [Fri, 19 Mar 2021 08:23:10 +0000 (16:23 +0800)]
ion: add fb heap for hw-fb [1/1]

PD#SWPL-45003

Problem:
hw-fb may alloc fail from cma heap,
which will result in display messed up

Solution:
add a separate ion fb heap only used for HW_FB

Verify:
sm1-newton-ac214
g12a-franklin-u212

Change-Id: I154fe5c61ad1c92cfc652234a093090284c4d2f3
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
3 years agoMerge "codec_mm: Modify a warning print for tvp free [1/1]" into android-tv-deadpool...
Hongguang Chen [Tue, 6 Jul 2021 23:20:37 +0000 (23:20 +0000)]
Merge "codec_mm: Modify a warning print for tvp free [1/1]" into android-tv-deadpool-4.9-android12

3 years agocts: fix CtsDownloadManagerApi28 1 fail [1/2]
Yonghui Yu [Fri, 18 Jun 2021 14:03:06 +0000 (22:03 +0800)]
cts: fix CtsDownloadManagerApi28 1 fail [1/2]

PD#SWPL-51104

Problem:
CtsDownloadManagerApi28 fail because of ioctrl
failure on EXT4_IOC_FSGETXATTR and EXT4_IOC_FSSETXATTR.

Solution:
Add those two IOC to the compat_ioctrl.

Verify:
adt3

Signed-off-by: Yonghui Yu <yonghui.yu@amlogic.com>
Change-Id: I2ed64202819b15d6b8aa75b6aefd255a3580cbd1

3 years agoMerge "nand: fix some parameter modification [1/1]" into android-tv-deadpool-4.9...
Hongguang Chen [Tue, 6 Jul 2021 23:20:02 +0000 (23:20 +0000)]
Merge "nand: fix some parameter modification [1/1]" into android-tv-deadpool-4.9-android12

3 years agopicdec: skip putting vframe if current buffer is being in used [1/1]
Cao Jian [Wed, 16 Jun 2021 05:51:44 +0000 (13:51 +0800)]
picdec: skip putting vframe if current buffer is being in used [1/1]

PD#SWPL-52807

Problem:
GIF pictures flicker after quickly switching pictures

Solution:
skip putting vframe if current buffer is being in used

Verify:
on t5

Change-Id: Id1366ead409967a6055d5de5413f16774407c778
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
3 years agoMerge "hdmirx: add hdmi plug & cec rx msg uevent [1/1]" into android-tv-deadpool...
Hongguang Chen [Tue, 6 Jul 2021 23:19:47 +0000 (23:19 +0000)]
Merge "hdmirx: add hdmi plug & cec rx msg uevent [1/1]" into android-tv-deadpool-4.9-android12

3 years agosc2: AUCPU secure fw loading [3/4]
Lawrence Mok [Wed, 3 Mar 2021 01:17:17 +0000 (17:17 -0800)]
sc2: AUCPU secure fw loading [3/4]

PD#SWPL-49064

Problem:
Need to support signed and encrypted AUCPU firmware.

Solution:
Add bl31 smc command to load signed/encrypted fw

Verify:
Load signed/encrypted AUCPU fw:
  Sign/encrypt aucpu_fw.bin
  mkdir /lib/firmware
  cp -v aucpu_fw.bin.dblk /lib/firmware/aucpu_fw.bin
  insmod aml_aucpu.ko print_level=0

Change-Id: Ib63e4332e5a21f27787365a2df59c0a69ccd1537
Signed-off-by: Lawrence Mok <lawrence.mok@amlogic.com>
3 years agoSTR: fix suspend abort cause system resume by powerkey event [1/1]
Qiufang Dai [Mon, 7 Jun 2021 12:58:00 +0000 (20:58 +0800)]
STR: fix suspend abort cause system resume by powerkey event [1/1]

PD#SWPL-52156

Problem:
When suspend abort happens, device driver resume call back call
get_resume_method() which always feedback the last resume method.
It cause a wrong powerkey event report by driver resume call back.

Solution:
Clr resume method in suspend prepare notify.
Provide a stationary get_resume_reason() api.

Verify:
SC2_AH212

Change-Id: I4f6577201125af6ce93dfc36b24b4c80fd812e46
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
3 years agodemux: pts secure mem protect fail [1/1]
Chuangcheng Peng [Wed, 9 Jun 2021 08:06:43 +0000 (16:06 +0800)]
demux: pts secure mem protect fail [1/1]

PD#SWPL-52439

Problem:
 can't get video data

Solution:
 pts secure mem protect fail, it need 64K alignm.
 pointer don't use cache.

Verify:
 verified at AH219

Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
Change-Id: I52ddb975eb1d455ca38108fbcabb3895bb646b1c

3 years agocodec_mm: Modify a warning print for tvp free [1/1]
shipeng.sun [Mon, 7 Jun 2021 02:05:26 +0000 (10:05 +0800)]
codec_mm: Modify a warning print for tvp free [1/1]

PD#SWPL-52149

Problem:
Modify a warning print for tvp free

Solution:
1. Modify a warning print when tvp pool free later.

Verify:
local

Change-Id: I958ff7e8c4db5a0900e7d23eda337490567e044e
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
3 years agoDV: FEL display black in adaptive mode [1/1]
yao liu [Wed, 2 Jun 2021 10:30:15 +0000 (18:30 +0800)]
DV: FEL display black in adaptive mode [1/1]

PD#SWPL-51701

Problem:
FEL is treat as SDR video, but still send
dv vsif pkt

Solution:
not send hdmi visf pkt ahead for FEL

Verify:
sc2

Signed-off-by: yao liu <yao.liu@amlogic.com>
Change-Id: I708af63d0e818083a6f1e8365bd19c5e8a065b22

3 years agohdmirx: add hdmi plug & cec rx msg uevent [1/1]
hang cheng [Sat, 8 May 2021 10:16:59 +0000 (18:16 +0800)]
hdmirx: add hdmi plug & cec rx msg uevent [1/1]

PD#SWPL-47310

Problem:
1.need hdmi plug uevent to check connection status
2.need cec rx msg uevent instead of poll
3.hdmitx hdcp result for uevent is wrong

Solution:
1.add hdmitx/rx hotplug & cec rx msg uevent
2.correct hdcp result for drm uevent

Verify:
ab311

Change-Id: I60bc0e869770965df676ff22801ee1ff7981916b
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
3 years agonand: fix some parameter modification [1/1]
Liang Yang [Thu, 3 Jun 2021 09:36:02 +0000 (17:36 +0800)]
nand: fix some parameter modification [1/1]

PD#SWPL-50970

Problem:
nand base interface is changed after sync

Solution:
fix the interface which is changed.

Verify:
none

Change-Id: I97946d2e5b400ade809ffe1b935c469aad7c38f2
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
3 years agoadt3-S kernel/common source code [1/1]
Liang Ji [Tue, 15 Jun 2021 02:23:51 +0000 (10:23 +0800)]
adt3-S kernel/common source code [1/1]

internal tot CL:
BACKPORT: HID: playstation: Add device ids to hid_have_special_driver list.

SWPL-52212

On 4.9 and 4.14 kernel we need to put the hid device ids to
hid_have_special_driver list, to instruct kernel to use special driver
rather than hid-generic.
Fixed the incorrect kernel device type on 4.9 kernel and 4.14 kernel.

Bug: 185139160

Signed-off-by: Chris Ye <lzye@google.com>
Change-Id(Iced67cda47bc83f34a46c2de03b2906e788e56d2)

Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I3aaeb4c6153ab8f7516ea1f290a9e27da80b3765

5 years agoInitial empty repository
Thomas Joseph Avila [Wed, 30 Jan 2019 15:49:33 +0000 (07:49 -0800)]
Initial empty repository