Skip to content

Commit b8d85bb

Browse files
committed
Merge tag 'drm-msm-next-2023-04-10' of https://gitlab.freedesktop.org/drm/msm into drm-next
main pull request for v6.4 Core Display: ============ * Bugfixes for error handling during probe * rework UBWC decoder programming * prepare_commit cleanup * bindings for SM8550 (MDSS, DPU), SM8450 (DP) * timeout calculation fixup * atomic: use drm_crtc_next_vblank_start() instead of our own custom thing to calculate the start of next vblank DP: == * interrupts cleanup DPU: === * DSPP sub-block flush on sc7280 * support AR30 in addition to XR30 format * Allow using REC_0 and REC_1 to handle wide (4k) RGB planes * Split the HW catalog into individual per-SoC files DSI: === * rework DSI instance ID detection on obscure platforms GPU: === * uapi C++ compatibility fix * a6xx: More robust gdsc reset * a3xx and a4xx devfreq support * update generated headers * various cleanups and fixes * GPU and GEM updates to avoid allocations which could trigger reclaim (shrinker) in fence signaling path * dma-fence deadline hint support and wait-boost * a640 speedbin support * a650 speedbin support Conflicts in drivers/gpu/drm/msm/adreno/adreno_gpu.c: Conflict between the 7fa5047 ("drm: Use of_property_present() for testing DT property presence") and 9f251f9 ("drm/msm/adreno: Use OPP for every GPU generation"). The latter removed the of_ function call outright, so I went with what's in the PR unchanged. From: Rob Clark <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGvwuj5tabyW910+N-B=5kFNAC7QNYoQ=0xi3roBjQvFFQ@mail.gmail.com Signed-off-by: Daniel Vetter <[email protected]>
2 parents 838ac90 + ac7e7c9 commit b8d85bb

File tree

122 files changed

+7037
-4526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+7037
-4526
lines changed

Documentation/devicetree/bindings/display/msm/dp-controller.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,21 @@ description: |
1515
1616
properties:
1717
compatible:
18-
enum:
19-
- qcom,sc7180-dp
20-
- qcom,sc7280-dp
21-
- qcom,sc7280-edp
22-
- qcom,sc8180x-dp
23-
- qcom,sc8180x-edp
24-
- qcom,sc8280xp-dp
25-
- qcom,sc8280xp-edp
26-
- qcom,sdm845-dp
27-
- qcom,sm8350-dp
18+
oneOf:
19+
- enum:
20+
- qcom,sc7180-dp
21+
- qcom,sc7280-dp
22+
- qcom,sc7280-edp
23+
- qcom,sc8180x-dp
24+
- qcom,sc8180x-edp
25+
- qcom,sc8280xp-dp
26+
- qcom,sc8280xp-edp
27+
- qcom,sdm845-dp
28+
- qcom,sm8350-dp
29+
- items:
30+
- enum:
31+
- qcom,sm8450-dp
32+
- const: qcom,sm8350-dp
2833

2934
reg:
3035
minItems: 4

Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ properties:
2525
- qcom,sc7280-dsi-ctrl
2626
- qcom,sdm660-dsi-ctrl
2727
- qcom,sdm845-dsi-ctrl
28+
- qcom,sm6115-dsi-ctrl
2829
- qcom,sm8150-dsi-ctrl
2930
- qcom,sm8250-dsi-ctrl
3031
- qcom,sm8350-dsi-ctrl
3132
- qcom,sm8450-dsi-ctrl
3233
- qcom,sm8550-dsi-ctrl
3334
- const: qcom,mdss-dsi-ctrl
34-
- items:
35-
- enum:
36-
- dsi-ctrl-6g-qcm2290
37-
- const: qcom,mdss-dsi-ctrl
35+
- enum:
36+
- qcom,dsi-ctrl-6g-qcm2290
37+
- qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible
3838
deprecated: true
3939

4040
reg:
@@ -351,6 +351,7 @@ allOf:
351351
contains:
352352
enum:
353353
- qcom,sdm845-dsi-ctrl
354+
- qcom,sm6115-dsi-ctrl
354355
then:
355356
properties:
356357
clocks:

Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ patternProperties:
4040
type: object
4141
properties:
4242
compatible:
43-
const: qcom,dsi-ctrl-6g-qcm2290
43+
oneOf:
44+
- items:
45+
- const: qcom,sm6115-dsi-ctrl
46+
- const: qcom,mdss-dsi-ctrl
47+
- description: Old binding, please don't use
48+
deprecated: true
49+
const: qcom,dsi-ctrl-6g-qcm2290
4450

4551
"^phy@[0-9a-f]+$":
4652
type: object
@@ -114,7 +120,7 @@ examples:
114120
};
115121
116122
dsi@5e94000 {
117-
compatible = "qcom,dsi-ctrl-6g-qcm2290";
123+
compatible = "qcom,sm6115-dsi-ctrl", "qcom,mdss-dsi-ctrl";
118124
reg = <0x05e94000 0x400>;
119125
reg-names = "dsi_ctrl";
120126

Documentation/devicetree/bindings/display/msm/qcom,sm8450-mdss.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ patternProperties:
5454
type: object
5555
properties:
5656
compatible:
57-
const: qcom,dsi-phy-5nm-8450
57+
const: qcom,sm8450-dsi-phy-5nm
5858

5959
required:
6060
- compatible
@@ -254,7 +254,7 @@ examples:
254254
};
255255
256256
dsi0_phy: phy@ae94400 {
257-
compatible = "qcom,dsi-phy-5nm-8450";
257+
compatible = "qcom,sm8450-dsi-phy-5nm";
258258
reg = <0x0ae94400 0x200>,
259259
<0x0ae94600 0x280>,
260260
<0x0ae94900 0x260>;
@@ -325,7 +325,7 @@ examples:
325325
};
326326
327327
dsi1_phy: phy@ae96400 {
328-
compatible = "qcom,dsi-phy-5nm-8450";
328+
compatible = "qcom,sm8450-dsi-phy-5nm";
329329
reg = <0x0ae96400 0x200>,
330330
<0x0ae96600 0x280>,
331331
<0x0ae96900 0x260>;
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/msm/qcom,sm8550-dpu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm SM8550 Display DPU
8+
9+
maintainers:
10+
- Neil Armstrong <[email protected]>
11+
12+
$ref: /schemas/display/msm/dpu-common.yaml#
13+
14+
properties:
15+
compatible:
16+
const: qcom,sm8550-dpu
17+
18+
reg:
19+
items:
20+
- description: Address offset and size for mdp register set
21+
- description: Address offset and size for vbif register set
22+
23+
reg-names:
24+
items:
25+
- const: mdp
26+
- const: vbif
27+
28+
clocks:
29+
items:
30+
- description: Display AHB
31+
- description: Display hf axi
32+
- description: Display MDSS ahb
33+
- description: Display lut
34+
- description: Display core
35+
- description: Display vsync
36+
37+
clock-names:
38+
items:
39+
- const: bus
40+
- const: nrt_bus
41+
- const: iface
42+
- const: lut
43+
- const: core
44+
- const: vsync
45+
46+
required:
47+
- compatible
48+
- reg
49+
- reg-names
50+
- clocks
51+
- clock-names
52+
53+
unevaluatedProperties: false
54+
55+
examples:
56+
- |
57+
#include <dt-bindings/clock/qcom,sm8550-dispcc.h>
58+
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
59+
#include <dt-bindings/interrupt-controller/arm-gic.h>
60+
#include <dt-bindings/power/qcom-rpmpd.h>
61+
62+
display-controller@ae01000 {
63+
compatible = "qcom,sm8550-dpu";
64+
reg = <0x0ae01000 0x8f000>,
65+
<0x0aeb0000 0x2008>;
66+
reg-names = "mdp", "vbif";
67+
68+
clocks = <&gcc GCC_DISP_AHB_CLK>,
69+
<&gcc GCC_DISP_HF_AXI_CLK>,
70+
<&dispcc DISP_CC_MDSS_AHB_CLK>,
71+
<&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
72+
<&dispcc DISP_CC_MDSS_MDP_CLK>,
73+
<&dispcc DISP_CC_MDSS_VSYNC_CLK>;
74+
clock-names = "bus",
75+
"nrt_bus",
76+
"iface",
77+
"lut",
78+
"core",
79+
"vsync";
80+
81+
assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
82+
assigned-clock-rates = <19200000>;
83+
84+
operating-points-v2 = <&mdp_opp_table>;
85+
power-domains = <&rpmhpd SM8550_MMCX>;
86+
87+
interrupt-parent = <&mdss>;
88+
interrupts = <0>;
89+
90+
ports {
91+
#address-cells = <1>;
92+
#size-cells = <0>;
93+
94+
port@0 {
95+
reg = <0>;
96+
dpu_intf1_out: endpoint {
97+
remote-endpoint = <&dsi0_in>;
98+
};
99+
};
100+
101+
port@1 {
102+
reg = <1>;
103+
dpu_intf2_out: endpoint {
104+
remote-endpoint = <&dsi1_in>;
105+
};
106+
};
107+
};
108+
109+
mdp_opp_table: opp-table {
110+
compatible = "operating-points-v2";
111+
112+
opp-200000000 {
113+
opp-hz = /bits/ 64 <200000000>;
114+
required-opps = <&rpmhpd_opp_low_svs>;
115+
};
116+
117+
opp-325000000 {
118+
opp-hz = /bits/ 64 <325000000>;
119+
required-opps = <&rpmhpd_opp_svs>;
120+
};
121+
122+
opp-375000000 {
123+
opp-hz = /bits/ 64 <375000000>;
124+
required-opps = <&rpmhpd_opp_svs_l1>;
125+
};
126+
127+
opp-514000000 {
128+
opp-hz = /bits/ 64 <514000000>;
129+
required-opps = <&rpmhpd_opp_nom>;
130+
};
131+
};
132+
};
133+
...

0 commit comments

Comments
 (0)