Skip to content

Commit

Permalink
Merge tag 'drm-msm-next-2023-10-17' of https://gitlab.freedesktop.org…
Browse files Browse the repository at this point in the history
…/drm/msm into drm-next

Updates for v6.7

DP:
- use existing helpers for DPCD handling instead of open-coded functions
- set the subconnector type according to the plugged cable / dongle
  skip validity check for DP CTS EDID checksum

DPU:
- continued migration of feature flags to use core revision checks
- reworked interrupts code to use '0' as NO_IRQ, removed raw IRQ indices
  from log / trace output

gpu:
- a7xx support (a730, a740)
- fixes and additional speedbins for a635, a643

core:
- decouple msm_drv from kms to more cleanly support headless devices (like
  imx5+a2xx)

From: Rob Clark <robdclark@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGvzkBL2_OgyOeP_b6rVEjrNdfm8jcKzaB04HqHyT5jYwA@mail.gmail.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Oct 23, 2023
2 parents 7cd62ea + b08d26d commit 3f5ba63
Show file tree
Hide file tree
Showing 99 changed files with 2,365 additions and 1,403 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ properties:

port@1:
$ref: /schemas/graph.yaml#/$defs/port-base
unevaluatedProperties: false
description: Output endpoint of the controller
properties:
endpoint:
Expand Down
47 changes: 46 additions & 1 deletion Documentation/devicetree/bindings/display/msm/gmu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ properties:
compatible:
oneOf:
- items:
- pattern: '^qcom,adreno-gmu-6[0-9][0-9]\.[0-9]$'
- pattern: '^qcom,adreno-gmu-[67][0-9][0-9]\.[0-9]$'
- const: qcom,adreno-gmu
- const: qcom,adreno-gmu-wrapper

Expand Down Expand Up @@ -64,6 +64,10 @@ properties:
iommus:
maxItems: 1

qcom,qmp:
$ref: /schemas/types.yaml#/definitions/phandle
description: Reference to the AOSS side-channel message RAM

operating-points-v2: true

opp-table:
Expand Down Expand Up @@ -213,6 +217,47 @@ allOf:
- const: axi
- const: memnoc

- if:
properties:
compatible:
contains:
enum:
- qcom,adreno-gmu-730.1
- qcom,adreno-gmu-740.1
then:
properties:
reg:
items:
- description: Core GMU registers
- description: Resource controller registers
- description: GMU PDC registers
reg-names:
items:
- const: gmu
- const: rscc
- const: gmu_pdc
clocks:
items:
- description: GPU AHB clock
- description: GMU clock
- description: GPU CX clock
- description: GPU AXI clock
- description: GPU MEMNOC clock
- description: GMU HUB clock
- description: GPUSS DEMET clock
clock-names:
items:
- const: ahb
- const: gmu
- const: cxo
- const: axi
- const: memnoc
- const: hub
- const: demet

required:
- qcom,qmp

- if:
properties:
compatible:
Expand Down
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/display/msm/gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ properties:
The driver is parsing the compat string for Adreno to
figure out the gpu-id and patch level.
items:
- pattern: '^qcom,adreno-[3-6][0-9][0-9]\.[0-9]$'
- pattern: '^qcom,adreno-[3-7][0-9][0-9]\.[0-9]$'
- const: qcom,adreno
- description: |
The driver is parsing the compat string for Imageon to
Expand Down Expand Up @@ -203,7 +203,7 @@ allOf:
properties:
compatible:
contains:
pattern: '^qcom,adreno-6[0-9][0-9]\.[0-9]$'
pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]$'

then: # Starting with A6xx, the clocks are usually defined in the GMU node
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,msm8998-dpu

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -52,6 +56,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-phy-10nm-8998
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,24 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,qcm2290-dpu

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-ctrl-6g-qcm2290

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-phy-14nm-2290
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,24 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sc7180-dpu

"^displayport-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sc7180-dp

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -64,6 +70,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-phy-10nm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,24 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sc7280-dpu

"^displayport-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sc7280-dp

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -64,12 +70,16 @@ patternProperties:

"^edp@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sc7280-edp

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sc8280xp-dpu

"^displayport-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,24 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sdm845-dpu

"^displayport-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sdm845-dp

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -62,6 +68,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-phy-10nm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sm6115-dpu

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
oneOf:
Expand All @@ -50,6 +54,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-phy-14nm-2290
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sm6125-dpu

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -57,6 +61,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sm6125-dsi-phy-14nm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sm6350-dpu

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -57,6 +61,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,dsi-phy-10nm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sm6375-dpu

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
items:
Expand All @@ -57,6 +61,8 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true

properties:
compatible:
const: qcom,sm6375-dsi-phy-7nm
Expand Down
Loading

0 comments on commit 3f5ba63

Please sign in to comment.