Skip to content

Commit 7c1a940

Browse files
committed
Merge tag 'drm-msm-next-2025-05-16' of https://gitlab.freedesktop.org/drm/msm into drm-next
Updates for v6.16 CI: - uprev mesa GPU: - ACD (Adaptive Clock Distribution) support for X1-85. This is required enable the higher frequencies. - Drop fictional `address_space_size`. For some older devices, the address space size is limited to 4GB to avoid potential 64b rollover math problems in the fw. For these, an `ADRENO_QUIRK_4GB_VA` quirk is added. For everyone else we get the address space size from the SMMU `ias` (input address sizes), which is usually 48b. - Improve robustness when GMU HFI responses time out - Fix crash when throttling GPU immediately during boot - Fix for rgb565_predicator on Adreno 7c3 - Remove `MODULE_FIRMWARE()`s for GPU, the GPU can load the firmware after probe and having partial set of fw (ie. sqe+gmu but not zap) causes problems MDSS: - Added SAR2130P support to MDSS driver DPU: - Changed to use single CTL path for flushing on DPU 5.x+ - Improved SSPP allocation code to allow sharing of SSPP between planes - Enabled SmartDMA on SM8150, SC8180X, SC8280XP, SM8550 - Added SAR2130P support - Disabled DSC support on MSM8937, MSM8917, MSM8953, SDM660 - Misc fixes DP: - Switch to use new helpers for DP Audio / HDMI codec handling - Fixed LTTPR handling DSI: - Added support for SA8775P - Added SAR2130P support MDP4: - Fixed LCDC / LVDS controller on HDMI: - Switched to use new helpers for ACR data - Fixed old standing issue of HPD not working in some cases Signed-off-by: Dave Airlie <[email protected]> From: Rob Clark <[email protected]> Link: https://lore.kernel.org/r/CAF6AEGv2Go+nseaEwRgeZbecet-h+Pf2oBKw1CobCF01xu2XVg@mail.gmail.com
2 parents 72dc7c0 + fc5c669 commit 7c1a940

File tree

100 files changed

+2219
-1009
lines changed

Some content is hidden

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

100 files changed

+2219
-1009
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ properties:
3131
- qcom,sm8650-dp
3232
- items:
3333
- enum:
34+
- qcom,sar2130p-dp
3435
- qcom,sm6350-dp
3536
- qcom,sm8150-dp
3637
- qcom,sm8250-dp

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ properties:
2323
- qcom,msm8996-dsi-ctrl
2424
- qcom,msm8998-dsi-ctrl
2525
- qcom,qcm2290-dsi-ctrl
26+
- qcom,sa8775p-dsi-ctrl
27+
- qcom,sar2130p-dsi-ctrl
2628
- qcom,sc7180-dsi-ctrl
2729
- qcom,sc7280-dsi-ctrl
2830
- qcom,sdm660-dsi-ctrl
@@ -314,6 +316,8 @@ allOf:
314316
contains:
315317
enum:
316318
- qcom,msm8998-dsi-ctrl
319+
- qcom,sa8775p-dsi-ctrl
320+
- qcom,sar2130p-dsi-ctrl
317321
- qcom,sc7180-dsi-ctrl
318322
- qcom,sc7280-dsi-ctrl
319323
- qcom,sdm845-dsi-ctrl

Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ properties:
1717
enum:
1818
- qcom,dsi-phy-7nm
1919
- qcom,dsi-phy-7nm-8150
20+
- qcom,sa8775p-dsi-phy-5nm
21+
- qcom,sar2130p-dsi-phy-5nm
2022
- qcom,sc7280-dsi-phy-7nm
2123
- qcom,sm6375-dsi-phy-7nm
2224
- qcom,sm8350-dsi-phy-5nm

Documentation/devicetree/bindings/display/msm/hdmi.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,6 @@ properties:
6666
maxItems: 1
6767
description: hpd pin
6868

69-
qcom,hdmi-tx-mux-en-gpios:
70-
maxItems: 1
71-
deprecated: true
72-
description: HDMI mux enable pin
73-
74-
qcom,hdmi-tx-mux-sel-gpios:
75-
maxItems: 1
76-
deprecated: true
77-
description: HDMI mux select pin
78-
79-
qcom,hdmi-tx-mux-lpm-gpios:
80-
maxItems: 1
81-
deprecated: true
82-
description: HDMI mux lpm pin
83-
8469
'#sound-dai-cells':
8570
const: 1
8671

@@ -89,12 +74,12 @@ properties:
8974
$ref: /schemas/graph.yaml#/properties/ports
9075
properties:
9176
port@0:
92-
$ref: /schemas/graph.yaml#/$defs/port-base
77+
$ref: /schemas/graph.yaml#/properties/port
9378
description: |
9479
Input endpoints of the controller.
9580
9681
port@1:
97-
$ref: /schemas/graph.yaml#/$defs/port-base
82+
$ref: /schemas/graph.yaml#/properties/port
9883
description: |
9984
Output endpoints of the controller.
10085

Documentation/devicetree/bindings/display/msm/mdp4.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,23 @@ properties:
1818

1919
clocks:
2020
minItems: 6
21-
maxItems: 6
21+
maxItems: 8
2222

2323
clock-names:
24+
minItems: 6
2425
items:
2526
- const: core_clk
2627
- const: iface_clk
2728
- const: bus_clk
2829
- const: lut_clk
2930
- const: hdmi_clk
3031
- const: tv_clk
32+
- const: lcdc_clk
33+
- const: pxo
34+
description: XO used to drive the internal LVDS PLL
35+
36+
'#clock-cells':
37+
const: 0
3138

3239
reg:
3340
maxItems: 1

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ properties:
8484
items:
8585
- description: MDSS_CORE reset
8686

87+
interconnects:
88+
minItems: 1
89+
items:
90+
- description: Interconnect path from mdp0 (or a single mdp) port to the data bus
91+
- description: Interconnect path from CPU to the reg bus
92+
93+
interconnect-names:
94+
minItems: 1
95+
items:
96+
- const: mdp0-mem
97+
- const: cpu-cfg
98+
8799
required:
88100
- compatible
89101
- reg

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

Lines changed: 180 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,23 @@ patternProperties:
5252
items:
5353
- const: qcom,sa8775p-dp
5454

55+
"^dsi@[0-9a-f]+$":
56+
type: object
57+
additionalProperties: true
58+
properties:
59+
compatible:
60+
contains:
61+
const: qcom,sa8775p-dsi-ctrl
62+
5563
"^phy@[0-9a-f]+$":
5664
type: object
5765
additionalProperties: true
5866
properties:
5967
compatible:
60-
const: qcom,sa8775p-edp-phy
68+
contains:
69+
enum:
70+
- qcom,sa8775p-dsi-phy-5nm
71+
- qcom,sa8775p-edp-phy
6172

6273
required:
6374
- compatible
@@ -139,6 +150,20 @@ examples:
139150
remote-endpoint = <&mdss0_dp0_in>;
140151
};
141152
};
153+
154+
port@1 {
155+
reg = <1>;
156+
dpu_intf1_out: endpoint {
157+
remote-endpoint = <&mdss0_dsi0_in>;
158+
};
159+
};
160+
161+
port@2 {
162+
reg = <2>;
163+
dpu_intf2_out: endpoint {
164+
remote-endpoint = <&mdss0_dsi1_in>;
165+
};
166+
};
142167
};
143168
144169
mdss0_mdp_opp_table: opp-table {
@@ -186,6 +211,160 @@ examples:
186211
vdda-pll-supply = <&vreg_l4a>;
187212
};
188213
214+
dsi@ae94000 {
215+
compatible = "qcom,sa8775p-dsi-ctrl", "qcom,mdss-dsi-ctrl";
216+
reg = <0x0ae94000 0x400>;
217+
reg-names = "dsi_ctrl";
218+
219+
interrupt-parent = <&mdss>;
220+
interrupts = <4>;
221+
222+
clocks = <&dispc_byte_clk>,
223+
<&dispcc_intf_clk>,
224+
<&dispcc_pclk>,
225+
<&dispcc_esc_clk>,
226+
<&dispcc_ahb_clk>,
227+
<&gcc_bus_clk>;
228+
clock-names = "byte",
229+
"byte_intf",
230+
"pixel",
231+
"core",
232+
"iface",
233+
"bus";
234+
assigned-clocks = <&dispcc_byte_clk>,
235+
<&dispcc_pclk>;
236+
assigned-clock-parents = <&mdss0_dsi0_phy 0>, <&mdss0_dsi0_phy 1>;
237+
phys = <&mdss0_dsi0_phy>;
238+
239+
operating-points-v2 = <&dsi0_opp_table>;
240+
power-domains = <&rpmhpd SA8775P_MMCX>;
241+
242+
#address-cells = <1>;
243+
#size-cells = <0>;
244+
245+
ports {
246+
#address-cells = <1>;
247+
#size-cells = <0>;
248+
249+
port@0 {
250+
reg = <0>;
251+
mdss0_dsi0_in: endpoint {
252+
remote-endpoint = <&dpu_intf1_out>;
253+
};
254+
};
255+
256+
port@1 {
257+
reg = <1>;
258+
mdss0_dsi0_out: endpoint { };
259+
};
260+
};
261+
262+
dsi0_opp_table: opp-table {
263+
compatible = "operating-points-v2";
264+
265+
opp-358000000 {
266+
opp-hz = /bits/ 64 <358000000>;
267+
required-opps = <&rpmhpd_opp_svs_l1>;
268+
};
269+
};
270+
};
271+
272+
mdss0_dsi0_phy: phy@ae94400 {
273+
compatible = "qcom,sa8775p-dsi-phy-5nm";
274+
reg = <0x0ae94400 0x200>,
275+
<0x0ae94600 0x280>,
276+
<0x0ae94900 0x27c>;
277+
reg-names = "dsi_phy",
278+
"dsi_phy_lane",
279+
"dsi_pll";
280+
281+
#clock-cells = <1>;
282+
#phy-cells = <0>;
283+
284+
clocks = <&dispcc_iface_clk>,
285+
<&rpmhcc_ref_clk>;
286+
clock-names = "iface", "ref";
287+
288+
vdds-supply = <&vreg_dsi_supply>;
289+
};
290+
291+
dsi@ae96000 {
292+
compatible = "qcom,sa8775p-dsi-ctrl", "qcom,mdss-dsi-ctrl";
293+
reg = <0x0ae96000 0x400>;
294+
reg-names = "dsi_ctrl";
295+
296+
interrupt-parent = <&mdss>;
297+
interrupts = <4>;
298+
299+
clocks = <&dispc_byte_clk>,
300+
<&dispcc_intf_clk>,
301+
<&dispcc_pclk>,
302+
<&dispcc_esc_clk>,
303+
<&dispcc_ahb_clk>,
304+
<&gcc_bus_clk>;
305+
clock-names = "byte",
306+
"byte_intf",
307+
"pixel",
308+
"core",
309+
"iface",
310+
"bus";
311+
assigned-clocks = <&dispcc_byte_clk>,
312+
<&dispcc_pclk>;
313+
assigned-clock-parents = <&mdss0_dsi1_phy 0>, <&mdss0_dsi1_phy 1>;
314+
phys = <&mdss0_dsi1_phy>;
315+
316+
operating-points-v2 = <&dsi1_opp_table>;
317+
power-domains = <&rpmhpd SA8775P_MMCX>;
318+
319+
#address-cells = <1>;
320+
#size-cells = <0>;
321+
322+
ports {
323+
#address-cells = <1>;
324+
#size-cells = <0>;
325+
326+
port@0 {
327+
reg = <0>;
328+
mdss0_dsi1_in: endpoint {
329+
remote-endpoint = <&dpu_intf2_out>;
330+
};
331+
};
332+
333+
port@1 {
334+
reg = <1>;
335+
mdss0_dsi1_out: endpoint { };
336+
};
337+
};
338+
339+
dsi1_opp_table: opp-table {
340+
compatible = "operating-points-v2";
341+
342+
opp-358000000 {
343+
opp-hz = /bits/ 64 <358000000>;
344+
required-opps = <&rpmhpd_opp_svs_l1>;
345+
};
346+
};
347+
};
348+
349+
mdss0_dsi1_phy: phy@ae96400 {
350+
compatible = "qcom,sa8775p-dsi-phy-5nm";
351+
reg = <0x0ae96400 0x200>,
352+
<0x0ae96600 0x280>,
353+
<0x0ae96900 0x27c>;
354+
reg-names = "dsi_phy",
355+
"dsi_phy_lane",
356+
"dsi_pll";
357+
358+
#clock-cells = <1>;
359+
#phy-cells = <0>;
360+
361+
clocks = <&dispcc_iface_clk>,
362+
<&rpmhcc_ref_clk>;
363+
clock-names = "iface", "ref";
364+
365+
vdds-supply = <&vreg_dsi_supply>;
366+
};
367+
189368
displayport-controller@af54000 {
190369
compatible = "qcom,sa8775p-dp";
191370

0 commit comments

Comments
 (0)