Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Merge Initial Changes into rad-hmp from android-q-eas #14

Merged
merged 62 commits into from
Dec 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
21bf21d
fpc1020: Set fingerprintd priority to max when screen is off
kerneltoast Jul 27, 2016
0b3da81
Added fsync on/off support.
franciscofranco Nov 22, 2012
42538b7
block: Add ZEN v2 scheduler
andip71 Sep 5, 2016
97ccc2a
block: Introduce Anxiety I/O Scheduler
tytydraco Sep 12, 2018
9a87990
block: anxiety: Add logic for sync block requests
tytydraco May 21, 2019
2f77bcd
block: anxiety: Increase write starvation limit
tytydraco May 18, 2019
e1f1f07
block: Add Maple I/O Scheduler
frap129 Jun 30, 2017
a5243e1
block: maple: Improve coding style
nathanchance Dec 22, 2017
e733108
block: tweak maple
ktommy91 Aug 12, 2018
671e713
block: maple-iosched: Use octal permissions
Dec 23, 2017
30238b1
block: maple-iosched: Convert to use fb_notifier
flar2 Mar 19, 2018
cc75d97
Add SIO and FIOPS i/o schedulers
flar2 Nov 9, 2013
4f3cd75
FIOPS: update for linux 3.18
flar2 May 22, 2016
6f4f1eb
SIO: update for linux 3.18
flar2 May 22, 2016
fecfb0b
block: modify fiops
ktommy91 Jul 25, 2018
c5c9245
boeffla_wl_blocker: add generic wakelock blocker driver v1.0.0
andip71 Aug 28, 2017
7f84372
boeffla_wl_blocker: update to wakelock blocker driver v1.0.1
andip71 Aug 29, 2017
f7bf1c8
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0
andip71 Aug 31, 2017
90fd45b
boeffla_wl_blocker: Increase length_list & add more defaults
Pzqqt Nov 19, 2018
8f9046c
wl_blocker: add more wakelocks to the default block list
franciscofranco Jan 2, 2018
bdb6613
power: block two more wakelocks just in case
franciscofranco Apr 16, 2018
eba7113
whyred: defconfig: enable boeffla wakelock blocker driver
radcolor Dec 1, 2019
55e32bf
mdss mdp: kcal for mdss_mdp_v1_7
tbalden Jul 16, 2016
09d0429
msm: mdss: KCAL: disable igc update
flar2 Sep 13, 2016
e672a06
Whyred: defconfig: enable kcal
radcolor Nov 8, 2019
aa97ade
scripts: remove localversion "+" from kernel version strings
shekhawat2 Jul 21, 2018
c34f7cc
ANDROID: pstore: Use vmalloc for large allocations due to ramoops size
Oct 3, 2017
0c6a3ac
kernel: Use the stock xiaomi config for /proc/config.gz
kerneltoast Aug 12, 2018
fe600dc
proc: Remove verifiedbootstate flag from /proc/cmdline
kerneltoast Oct 21, 2016
bf2adc9
proc: Remove additional SafetyNet flags from /proc/cmdline
kerneltoast May 22, 2017
21c891b
sound: sdm660_cdc: add sound control
shekhawat2 Jul 1, 2018
78bc446
sound: sdm660_cdc: prevent reset and correct the limits
MihranThalhath Jul 28, 2018
db5ade7
whyred: defconfig: enable sound control
radcolor Dec 10, 2019
43b5fd6
drivers: disable CRC check, and make it sw toggable
Mar 12, 2018
0113fbd
msm_adreno_tz: add adrenoboost parameter
flar2 Jul 30, 2016
779dfd7
adrenoboost: finetuning algorithm - scale it a bit down
tbalden Jul 30, 2016
cff53bf
adrenoboost: disable by default
flar2 Sep 11, 2016
fe9a5eb
drivers:GPU: Set GPU idle timeout to 64 ms
kerneltoast Mar 1, 2019
19835d3
msm: kgsl: Wake GPU upon receiving an ioctl rather than upon touch input
kerneltoast Aug 12, 2018
9313918
msm: kgsl: Only wake GPU upon ioctl receipt when it isn't awake
kerneltoast Apr 17, 2019
f62dc18
msm: kgsl: Disable unused GPU OPP
Dec 1, 2017
e9d3f7d
msm: kgsl: Remove POPP
kerneltoast Aug 12, 2018
4529eb1
asoc:sdm660_cdc:sound control: add microphone gain
ktommy91 Aug 3, 2018
02b0aa5
Optimized Console FrameBuffer for upto 70% increase in Performance
hglm Nov 15, 2017
b958c09
gpu: msm: Do not compile Adreno 3xx / 4xx drivers
tytydraco Mar 21, 2019
a8aebe1
ARM: dts: sdm660-gpu: Disable GPU wake up on touch event
MOVZX Oct 23, 2018
83137b4
dts:sdm660: fix initial gpu freq
ericfrs Mar 13, 2019
f20845b
whyred-perf_defconfig: enable ntfs support
ericfrs Jun 11, 2019
0d7315e
whyred-perf_defconfig: drop sdm630
ericfrs May 23, 2019
70a408f
dts: sdm660: remove dm verity
radcolor Dec 10, 2019
2a82b2b
ARM: dts: msm: add the missing sRGB on/off commands for some panels
ktommy91 May 16, 2019
b416ff1
tianma: td4310: add missing srgb and ce on/off commands
radcolor Dec 10, 2019
452bc5b
whyred/tulip: update GPU ID to use Adreno 512
adekmaulana Nov 10, 2018
ebdbb79
staging: android: ashmem: Get rid of the big mutex lock
kerneltoast Jun 11, 2019
7ebd832
power: qpnp-fg: Don't hold wakelocks
tytydraco May 6, 2019
6b6a421
qcacld: disable qcom_rx_wakelock
arter97 Mar 6, 2019
1d1aead
dts: qcom: whyred/tulip/wayne: fix boot on oreo fw
ericfrs May 23, 2019
fc6a068
qpnp-haptic: make its strength adjustable via VibratorHW
xingrz Jul 12, 2017
4acb3ec
mdss_fb: add backlight dimmer option
flar2 Jun 27, 2016
6090fff
mdss_fb: add lcd backlight min limit
andip71 Aug 16, 2017
6b527ad
sound: sdm660_cdc: Correct the limits
MihranThalhath Jul 28, 2018
976b6f0
drivers: misc: implement usb fast charge mode
engstk Jul 31, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 54 additions & 3 deletions arch/arm/boot/dts/qcom/dsi-panel-huaxing-nt36672-1080p-video.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,61 @@
];
qcom,mdss-dsi-ce-off-command = [
];
qcom,mdss-dsi-srgb-on-command = [
];
qcom,mdss-dsi-srgb-on-command = [
15 01 00 00 00 00 02 FF 22
15 00 00 00 00 00 02 FB 01

15 00 00 00 00 00 02 17 00
15 00 00 00 00 00 02 2D 00
15 00 00 00 00 00 02 53 01
15 00 00 00 00 00 02 54 00
15 00 00 00 00 00 02 55 88
15 00 00 00 00 00 02 56 77
15 00 00 00 00 00 02 58 34
15 00 00 00 00 00 02 59 32
15 00 00 00 00 00 02 5A 30
15 00 00 00 00 00 02 5B 2F
15 00 00 00 00 00 02 5C 2D
15 00 00 00 00 00 02 5D 2C
15 00 00 00 00 00 02 5E 2A
15 00 00 00 00 00 02 5F 27
15 00 00 00 00 00 02 60 2A
15 00 00 00 00 00 02 61 28
15 00 00 00 00 00 02 62 2C
15 00 00 00 00 00 02 63 2F
15 00 00 00 00 00 02 64 31
15 00 00 00 00 00 02 65 33
15 00 00 00 00 00 02 66 35
15 00 00 00 00 00 02 67 37
15 00 00 00 00 00 02 68 39
15 00 00 00 00 00 02 69 37
15 00 00 00 00 00 02 6A 34
15 00 00 00 00 00 02 6B 32
15 00 00 00 00 00 02 6C 32
15 00 00 00 00 00 02 6D 32
15 00 00 00 00 00 02 6E 32
15 00 00 00 00 00 02 6F 32
15 00 00 00 00 00 02 70 00
15 00 00 00 00 00 02 71 00
15 00 00 00 00 00 02 72 00
15 01 00 00 00 00 02 73 07
15 00 00 00 00 00 02 83 01
15 00 00 00 00 00 02 84 29
15 00 00 00 00 00 02 85 50
15 00 00 00 00 00 02 86 1C
15 00 00 00 00 00 02 87 40
15 00 00 00 00 00 02 A2 20
15 00 00 00 00 00 02 B3 00
15 00 00 00 00 00 02 B7 00
15 00 00 00 00 00 02 B8 00

15 01 00 00 00 00 02 FF 10
15 01 00 00 00 00 02 55 80
];
qcom,mdss-dsi-srgb-off-command = [
];
15 01 00 00 00 00 02 FF 10
15 01 00 00 00 00 02 55 00
];
qcom,mdss-dsi-cabc-on-command = [
15 01 00 00 00 00 02 FF 23
15 00 00 00 00 00 02 FB 01
Expand Down
332 changes: 332 additions & 0 deletions arch/arm/boot/dts/qcom/dsi-panel-jdi-nt36672-1080p-video.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,332 @@
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
* Copyright (C) 2019 XiaoMi, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

&mdss_mdp {
dsi_nt36672_jdi_fhd_video: qcom,mdss_dsi_nt36672_jdi_fhd_video {
qcom,mdss-dsi-panel-name = "jdi nt36672 fhd video mode dsi panel";
qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
qcom,mdss-dsi-panel-type = "dsi_video_mode";
qcom,mdss-dsi-panel-framerate = <60>;
qcom,mdss-dsi-virtual-channel-id = <0>;
qcom,mdss-dsi-stream = <0>;
qcom,mdss-dsi-panel-width = <1080>;
qcom,mdss-dsi-panel-height = <2160>;
qcom,mdss-pan-physical-width-dimension = <68>;
qcom,mdss-pan-physical-height-dimension = <136>;
qcom,mdss-dsi-h-front-porch = <96>;
qcom,mdss-dsi-h-back-porch = <56>;
qcom,mdss-dsi-h-pulse-width = <4>;
qcom,mdss-dsi-h-sync-skew = <0>;
qcom,mdss-dsi-v-back-porch = <33>;
qcom,mdss-dsi-v-front-porch = <4>;
qcom,mdss-dsi-v-pulse-width = <2>;
qcom,mdss-dsi-h-left-border = <0>;
qcom,mdss-dsi-h-right-border = <0>;
qcom,mdss-dsi-v-top-border = <0>;
qcom,mdss-dsi-v-bottom-border = <0>;
qcom,mdss-dsi-bpp = <24>;
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-h-sync-pulse = <0>;
qcom,mdss-dsi-traffic-mode = "burst_mode";
qcom,mdss-dsi-bllp-eof-power-mode;
qcom,mdss-dsi-bllp-power-mode;
qcom,mdss-dsi-lane-0-state;
qcom,mdss-dsi-lane-1-state;
qcom,mdss-dsi-lane-2-state;
qcom,mdss-dsi-lane-3-state;
qcom,mdss-dsi-panel-timings = [e6 38 26 00 68 6e 2a
3c 44 03 04 00];
qcom,mdss-dsi-t-clk-post = <0x0d>;
qcom,mdss-dsi-t-clk-pre = <0x32>;
qcom,mdss-dsi-bl-min-level = <1>;
qcom,mdss-dsi-bl-max-level = <4095>;
qcom,mdss-brightness-max-level = <4095>;
qcom,mdss-dsi-dma-trigger = "trigger_sw";
qcom,mdss-dsi-mdp-trigger = "none";
qcom,mdss-dsi-on-command = [
15 01 00 00 00 00 02 ff 20
15 01 00 00 00 00 02 fb 01
15 01 00 00 00 00 02 30 10
15 01 00 00 00 00 02 31 50
15 01 00 00 00 00 02 32 2f
15 01 00 00 00 00 02 ff 10
05 01 00 00 46 00 02 11 00
15 01 00 00 00 00 02 51 ff
39 01 00 00 00 00 03 68 03 04
15 01 00 00 00 00 02 53 2c
15 01 00 00 00 00 02 55 00
05 01 00 00 14 00 02 29 00
];
qcom,mdss-dsi-off-command = [
05 01 00 00 14 00 02 28 00
05 01 00 00 78 00 02 10 00
];
qcom,mdss-dsi-ce-on-command = [
];
qcom,mdss-dsi-ce-off-command = [
];
qcom,mdss-dsi-srgb-on-command = [
15 01 00 00 00 00 02 FF 22

15 00 00 00 00 00 02 00 40
15 00 00 00 00 00 02 01 54
15 00 00 00 00 00 02 02 5A
15 00 00 00 00 00 02 03 60
15 00 00 00 00 00 02 04 66
15 00 00 00 00 00 02 05 6A
15 00 00 00 00 00 02 06 6C
15 00 00 00 00 00 02 07 6C
15 00 00 00 00 00 02 08 68
15 00 00 00 00 00 02 09 62
15 00 00 00 00 00 02 0A 5B
15 00 00 00 00 00 02 0B 53
15 00 00 00 00 00 02 0C 4D
15 00 00 00 00 00 02 0D 48
15 00 00 00 00 00 02 0E 44
15 00 00 00 00 00 02 0F 41
15 00 00 00 00 00 02 10 40
15 00 00 00 00 00 02 11 50
15 00 00 00 00 00 02 12 60
15 00 00 00 00 00 02 13 70
15 00 00 00 00 00 02 14 58
15 00 00 00 00 00 02 15 68
15 00 00 00 00 00 02 16 78
15 00 00 00 00 00 02 17 00
15 00 00 00 00 00 02 18 40
15 00 00 00 00 00 02 19 40
15 00 00 00 00 00 02 1A 40
15 00 00 00 00 00 02 1B 40
15 00 00 00 00 00 02 1C 40
15 00 00 00 00 00 02 1D 40
15 00 00 00 00 00 02 1E 40
15 00 00 00 00 00 02 1F 40
15 00 00 00 00 00 02 20 40
15 00 00 00 00 00 02 21 45
15 00 00 00 00 00 02 22 49
15 00 00 00 00 00 02 23 4C
15 00 00 00 00 00 02 24 4B
15 00 00 00 00 00 02 25 48
15 00 00 00 00 00 02 26 44
15 00 00 00 00 00 02 27 41
15 00 00 00 00 00 02 28 40
15 00 00 00 00 00 02 2D 00
15 00 00 00 00 00 02 2F 40
15 00 00 00 00 00 02 30 40
15 00 00 00 00 00 02 31 40
15 00 00 00 00 00 02 32 40
15 00 00 00 00 00 02 33 40
15 00 00 00 00 00 02 34 40
15 00 00 00 00 00 02 35 40
15 00 00 00 00 00 02 36 40
15 00 00 00 00 00 02 37 40
15 00 00 00 00 00 02 38 40
15 00 00 00 00 00 02 39 40
15 00 00 00 00 00 02 3A 40
15 00 00 00 00 00 02 3B 40
15 00 00 00 00 00 02 3D 40
15 00 00 00 00 00 02 3F 40
15 00 00 00 00 00 02 40 40
15 00 00 00 00 00 02 41 40
15 00 00 00 00 00 02 42 40
15 00 00 00 00 00 02 43 40
15 00 00 00 00 00 02 44 40
15 00 00 00 00 00 02 45 40
15 00 00 00 00 00 02 46 40
15 00 00 00 00 00 02 47 40
15 00 00 00 00 00 02 48 40
15 00 00 00 00 00 02 49 40
15 00 00 00 00 00 02 4A 40
15 00 00 00 00 00 02 4B 40
15 00 00 00 00 00 02 4C 40
15 00 00 00 00 00 02 4D 40
15 00 00 00 00 00 02 4E 40
15 00 00 00 00 00 02 4F 40
15 00 00 00 00 00 02 50 40
15 00 00 00 00 00 02 51 40
15 00 00 00 00 00 02 52 40
15 00 00 00 00 00 02 53 01
15 00 00 00 00 00 02 54 00
15 00 00 00 00 00 02 55 88
15 00 00 00 00 00 02 56 77
15 00 00 00 00 00 02 58 32
15 00 00 00 00 00 02 59 32
15 00 00 00 00 00 02 5A 32
15 00 00 00 00 00 02 5B 31
15 00 00 00 00 00 02 5C 30
15 00 00 00 00 00 02 5D 30
15 00 00 00 00 00 02 5E 2D
15 00 00 00 00 00 02 5F 2B
15 00 00 00 00 00 02 60 29
15 00 00 00 00 00 02 61 2B
15 00 00 00 00 00 02 62 2D
15 00 00 00 00 00 02 63 30
15 00 00 00 00 00 02 64 32
15 00 00 00 00 00 02 65 33
15 00 00 00 00 00 02 66 34
15 00 00 00 00 00 02 67 34
15 00 00 00 00 00 02 68 34
15 00 00 00 00 00 02 69 34
15 00 00 00 00 00 02 6A 33
15 00 00 00 00 00 02 6B 32
15 00 00 00 00 00 02 6C 32
15 00 00 00 00 00 02 6D 32
15 00 00 00 00 00 02 6E 32
15 00 00 00 00 00 02 6F 32
15 00 00 00 00 00 02 70 00
15 00 00 00 00 00 02 71 00
15 00 00 00 00 00 02 72 00
15 00 00 00 00 00 02 73 07
15 00 00 00 00 00 02 74 06
15 00 00 00 00 00 02 75 0C
15 00 00 00 00 00 02 76 03
15 00 00 00 00 00 02 77 09
15 00 00 00 00 00 02 78 0F
15 00 00 00 00 00 02 79 68
15 00 00 00 00 00 02 7A 88
15 00 00 00 00 00 02 83 00
15 00 00 00 00 00 02 A2 20
15 00 00 00 00 00 02 B3 00
15 00 00 00 00 00 02 B7 00
15 00 00 00 00 00 02 B8 00
15 00 00 00 00 00 02 FB 01

15 01 00 00 00 00 02 FF 10
15 01 00 00 00 00 02 55 80
];
qcom,mdss-dsi-srgb-off-command = [
15 01 00 00 00 00 02 FF 10
15 01 00 00 00 00 02 55 00
];
qcom,mdss-dsi-cabc-on-command = [
15 01 00 00 00 00 02 FF 23
15 00 00 00 00 00 02 07 20
15 00 00 00 00 00 02 08 05
15 00 00 00 00 00 02 09 00
15 00 00 00 00 00 02 10 95
15 00 00 00 00 00 02 30 FF
15 00 00 00 00 00 02 31 FF
15 00 00 00 00 00 02 32 FF
15 00 00 00 00 00 02 33 FF
15 00 00 00 00 00 02 34 FF
15 01 00 00 00 00 02 35 FF
15 00 00 00 00 00 02 36 FF
15 00 00 00 00 00 02 37 FF
15 00 00 00 00 00 02 38 FF
15 00 00 00 00 00 02 39 FF
15 00 00 00 00 00 02 3A FF
15 00 00 00 00 00 02 3B F9
15 00 00 00 00 00 02 3D D9
15 00 00 00 00 00 02 3F B9
15 00 00 00 00 00 02 40 AB
15 00 00 00 00 00 02 41 98
15 01 00 00 00 00 02 FF 10
15 01 00 00 00 00 02 55 01
];
qcom,mdss-dsi-cabc-off-command = [
15 01 00 00 00 00 02 FF 10
15 01 00 00 00 00 02 55 00
];
qcom,mdss-dsi-gamma0-command = [
];
qcom,mdss-dsi-gamma1-command = [
];
qcom,mdss-dsi-gamma2-command = [
];
qcom,mdss-dsi-gamma3-command = [
];
qcom,mdss-dsi-gamma4-command = [
];
qcom,mdss-dsi-gamma5-command = [
];
qcom,mdss-dsi-gamma6-command = [
];
qcom,mdss-dsi-gamma7-command = [
];
qcom,mdss-dsi-gamma8-command = [
];
qcom,mdss-dsi-gamma9-command = [
];
qcom,mdss-dsi-gamma10-command = [
];
qcom,mdss-dsi-gamma11-command = [
];
qcom,mdss-dsi-gamma12-command = [
];
qcom,mdss-dsi-gamma13-command = [
];
qcom,mdss-dsi-gamma14-command = [
];
qcom,mdss-dsi-gamma15-command = [
];
qcom,mdss-dsi-gamma16-command = [
];
qcom,mdss-dsi-gamma17-command = [
];
qcom,mdss-dsi-gamma18-command = [
];
qcom,mdss-dsi-gamma19-command = [
];
qcom,mdss-dsi-gamma20-command = [
];
qcom,mdss-dsi-gamma21-command = [
];
qcom,mdss-dsi-gamma22-command = [
];
qcom,mdss-dsi-gamma23-command = [
];
qcom,mdss-dsi-gamma24-command = [
];
qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
qcom,mdss-dsi-ce-on-command-state = "dsi_hs_mode";
qcom,mdss-dsi-ce-off-command-state = "dsi_hs_mode";
qcom,mdss-dsi-srgb-on-command-state = "dsi_hs_mode";
qcom,mdss-dsi-srgb-off-command-state = "dsi_hs_mode";
qcom,mdss-dsi-cabc-on-command-state = "dsi_hs_mode";
qcom,mdss-dsi-cabc-off-command-state = "dsi_hs_mode";
qcom,mdss-dsi-gamma-command-state = "dsi_hs_mode";
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
qcom,mdss-dsi-reset-sequence = <1 1>, <0 5>, <1 15>;
qcom,mdss-dsi-tx-eot-append;
qcom,mdss-dsi-post-init-delay = <1>;

qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-command = [06 01 00 01 05 00 01 0A];
qcom,mdss-dsi-panel-status-command-state = "dsi_hs_mode";
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-read-length = <1>;
qcom,mdss-dsi-panel-status-value = <0x9c>;
qcom,mdss-dsi-panel-max-error-count = <3>;

qcom,mdss-dsi-pan-enable-dynamic-bitclk;
qcom,mdss-dsi-dynamic-bitclk_freq = <798240576 801594528 804948480
808302432 811656384>;
qcom,ulps-enabled;
qcom,mdss-dsi-panel-hdr-enabled;
qcom,mdss-dsi-panel-hdr-color-primaries = <14500 15500 32000
17000 15500 30000 8000 3000>;
qcom,mdss-dsi-panel-peak-brightness = <4200000>;
qcom,mdss-dsi-panel-blackness-level = <3230>;
qcom,partial-update-enabled = "single_roi";
qcom,panel-roi-alignment = <540 270 270 270 1080 270>;
qcom,mdss-dsi-te-pin-select = <1>;
qcom,mdss-dsi-te-dcs-command = <1>;
qcom,mdss-dsi-te-check-enable;
qcom,mdss-dsi-te-using-te-pin;
qcom,mdss-tear-check-sync-init-val = <2160>;
qcom,mdss-tear-check-start-pos = <2160>;
qcom,mdss-tear-check-rd-ptr-trigger-intr = <2161>;

};
};
Loading