Skip to content

Commit b14ffae

Browse files
committed
Merge tag 'drm-next-2022-03-24' of git://anongit.freedesktop.org/drm/drm
Pull drm updates from Dave Airlie: "Lots of work all over, Intel improving DG2 support, amdkfd CRIU support, msm new hw support, and faster fbdev support. dma-buf: - rename dma-buf-map to iosys-map core: - move buddy allocator to core - add pci/platform init macros - improve EDID parser deep color handling - EDID timing type 7 support - add GPD Win Max quirk - add yes/no helpers to string_helpers - flatten syncobj chains - add nomodeset support to lots of drivers - improve fb-helper clipping support - add default property value interface fbdev: - improve fbdev ops speed ttm: - add a backpointer from ttm bo->ttm resource dp: - move displayport headers - add a dp helper module bridge: - anx7625 atomic support, HDCP support panel: - split out panel-lvds and lvds bindings - find panels in OF subnodes privacy: - add chromeos privacy screen support fb: - hot unplug fw fb on forced removal simpledrm: - request region instead of marking ioresource busy - add panel oreintation property udmabuf: - fix oops with 0 pages amdgpu: - power management code cleanup - Enable freesync video mode by default - RAS code cleanup - Improve VRAM access for debug using SDMA - SR-IOV rework special register access and fixes - profiling power state request ioctl - expose IP discovery via sysfs - Cyan skillfish updates - GC 10.3.7, SDMA 5.2.7, DCN 3.1.6 updates - expose benchmark tests via debugfs - add module param to disable XGMI for testing - GPU reset debugfs register dumping support amdkfd: - CRIU support - SDMA queue fixes radeon: - UVD suspend fix - iMac backlight fix i915: - minimal parallel submission for execlists - DG2-G12 subplatform added - DG2 programming workarounds - DG2 accelerated migration support - flat CCS and CCS engine support for XeHP - initial small BAR support - drop fake LMEM support - ADL-N PCH support - bigjoiner updates - introduce VMA resources and async unbinding - register definitions cleanups - multi-FBC refactoring - DG1 OPROM over SPI support - ADL-N platform enabling - opregion mailbox #5 support - DP MST ESI improvements - drm device based logging - async flip optimisation for DG2 - CPU arch abstraction fixes - improve GuC ADS init to work on aarch64 - tweak TTM LRU priority hint - GuC 69.0.3 support - remove short term execbuf pins nouveau: - higher DP/eDP bitrates - backlight fixes msm: - dpu + dp support for sc8180x - dp support for sm8350 - dpu + dsi support for qcm2290 - 10nm dsi phy tuning support - bridge support for dp encoder - gpu support for additional 7c3 SKUs ingenic: - HDMI support for JZ4780 - aux channel EDID support ast: - AST2600 support - add wide screen support - create DP/DVI connectors omapdrm: - fix implicit dma_buf fencing vc4: - add CSC + full range support - better display firmware handoff panfrost: - add initial dual-core GPU support stm: - new revision support - fb handover support mediatek: - transfer display binding document to yaml format. - add mt8195 display device binding. - allow commands to be sent during video mode. - add wait_for_event for crtc disable by cmdq. tegra: - YUV format support rcar-du: - LVDS support for M3-W+ (R8A77961) exynos: - BGR pixel format for FIMD device" * tag 'drm-next-2022-03-24' of git://anongit.freedesktop.org/drm/drm: (1529 commits) drm/i915/display: Do not re-enable PSR after it was marked as not reliable drm/i915/display: Fix HPD short pulse handling for eDP drm/amdgpu: Use drm_mode_copy() drm/radeon: Use drm_mode_copy() drm/amdgpu: Use ternary operator in `vcn_v1_0_start()` drm/amdgpu: Remove pointless on stack mode copies drm/amd/pm: fix indenting in __smu_cmn_reg_print_error() drm/amdgpu/dc: fix typos in comments drm/amdgpu: fix typos in comments drm/amd/pm: fix typos in comments drm/amdgpu: Add stolen reserved memory for MI25 SRIOV. drm/amdgpu: Merge get_reserved_allocation to get_vbios_allocations. drm/amdkfd: evict svm bo worker handle error drm/amdgpu/vcn: fix vcn ring test failure in igt reload test drm/amdgpu: only allow secure submission on rings which support that drm/amdgpu: fixed the warnings reported by kernel test robot drm/amd/display: 3.2.177 drm/amd/display: [FW Promotion] Release 0.0.108.0 drm/amd/display: Add save/restore PANEL_PWRSEQ_REF_DIV2 drm/amd/display: Wait for hubp read line for Pollock ...
2 parents 52deda9 + c6e90a1 commit b14ffae

File tree

1,466 files changed

+487504
-33843
lines changed

Some content is hidden

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

1,466 files changed

+487504
-33843
lines changed

Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ properties:
8383
type: boolean
8484
description: let the driver enable audio HDMI codec function or not.
8585

86+
aux-bus:
87+
$ref: /schemas/display/dp-aux-bus.yaml#
88+
8689
ports:
8790
$ref: /schemas/graph.yaml#/properties/ports
8891

@@ -150,5 +153,19 @@ examples:
150153
};
151154
};
152155
};
156+
157+
aux-bus {
158+
panel {
159+
compatible = "innolux,n125hce-gn1";
160+
power-supply = <&pp3300_disp_x>;
161+
backlight = <&backlight_lcd0>;
162+
163+
port {
164+
panel_in: endpoint {
165+
remote-endpoint = <&anx7625_out>;
166+
};
167+
};
168+
};
169+
};
153170
};
154171
};
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/bridge/ingenic,jz4780-hdmi.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Bindings for Ingenic JZ4780 HDMI Transmitter
8+
9+
maintainers:
10+
- H. Nikolaus Schaller <[email protected]>
11+
12+
description: |
13+
The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare HDMI 1.4
14+
TX controller IP with accompanying PHY IP.
15+
16+
allOf:
17+
- $ref: synopsys,dw-hdmi.yaml#
18+
19+
properties:
20+
compatible:
21+
const: ingenic,jz4780-dw-hdmi
22+
23+
reg-io-width:
24+
const: 4
25+
26+
clocks:
27+
maxItems: 2
28+
29+
ports:
30+
$ref: /schemas/graph.yaml#/properties/ports
31+
32+
properties:
33+
port@0:
34+
$ref: /schemas/graph.yaml#/properties/port
35+
description: Input from LCD controller output.
36+
37+
port@1:
38+
$ref: /schemas/graph.yaml#/properties/port
39+
description: Link to the HDMI connector.
40+
41+
required:
42+
- compatible
43+
- clocks
44+
- clock-names
45+
- ports
46+
- reg-io-width
47+
48+
unevaluatedProperties: false
49+
50+
examples:
51+
- |
52+
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
53+
54+
hdmi: hdmi@10180000 {
55+
compatible = "ingenic,jz4780-dw-hdmi";
56+
reg = <0x10180000 0x8000>;
57+
reg-io-width = <4>;
58+
ddc-i2c-bus = <&i2c4>;
59+
interrupt-parent = <&intc>;
60+
interrupts = <3>;
61+
clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>;
62+
clock-names = "iahb", "isfr";
63+
64+
ports {
65+
#address-cells = <1>;
66+
#size-cells = <0>;
67+
hdmi_in: port@0 {
68+
reg = <0>;
69+
dw_hdmi_in: endpoint {
70+
remote-endpoint = <&jz4780_lcd_out>;
71+
};
72+
};
73+
hdmi_out: port@1 {
74+
reg = <1>;
75+
dw_hdmi_out: endpoint {
76+
remote-endpoint = <&hdmi_con>;
77+
};
78+
};
79+
};
80+
};
81+
82+
...

Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ properties:
3939
- const: lvds-encoder # Generic LVDS encoder compatible fallback
4040
- items:
4141
- enum:
42+
- ti,ds90cf364a # For the DS90CF364A FPD-Link LVDS Receiver
4243
- ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver
4344
- const: lvds-decoder # Generic LVDS decoders compatible fallback
4445
- enum:
@@ -67,7 +68,7 @@ properties:
6768
- vesa-24
6869
description: |
6970
The color signals mapping order. See details in
70-
Documentation/devicetree/bindings/display/panel/lvds.yaml
71+
Documentation/devicetree/bindings/display/lvds.yaml
7172
7273
port@1:
7374
$ref: /schemas/graph.yaml#/properties/port

Documentation/devicetree/bindings/display/bridge/renesas,lvds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ properties:
2828
- renesas,r8a7793-lvds # for R-Car M2-N compatible LVDS encoders
2929
- renesas,r8a7795-lvds # for R-Car H3 compatible LVDS encoders
3030
- renesas,r8a7796-lvds # for R-Car M3-W compatible LVDS encoders
31+
- renesas,r8a77961-lvds # for R-Car M3-W+ compatible LVDS encoders
3132
- renesas,r8a77965-lvds # for R-Car M3-N compatible LVDS encoders
3233
- renesas,r8a77970-lvds # for R-Car V3M compatible LVDS encoders
3334
- renesas,r8a77980-lvds # for R-Car V3H compatible LVDS encoders

Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ properties:
3232
maxItems: 1
3333
description: GPIO specifier for bridge_en pin (active high).
3434

35+
vcc-supply:
36+
description: A 1.8V power supply (see regulator/regulator.yaml).
37+
3538
ports:
3639
$ref: /schemas/graph.yaml#/properties/ports
3740

@@ -91,7 +94,6 @@ properties:
9194
required:
9295
- compatible
9396
- reg
94-
- enable-gpios
9597
- ports
9698

9799
allOf:
@@ -133,6 +135,7 @@ examples:
133135
reg = <0x2d>;
134136
135137
enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
138+
vcc-supply = <&reg_sn65dsi83_1v8>;
136139
137140
ports {
138141
#address-cells = <1>;

Documentation/devicetree/bindings/display/panel/lvds.yaml renamed to Documentation/devicetree/bindings/display/lvds.yaml

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: GPL-2.0
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/display/panel/lvds.yaml#
4+
$id: http://devicetree.org/schemas/display/lvds.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: LVDS Display Panel
7+
title: LVDS Display Common Properties
88

99
maintainers:
1010
- Laurent Pinchart <[email protected]>
@@ -13,8 +13,8 @@ maintainers:
1313
description: |+
1414
LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
1515
incompatible data link layers have been used over time to transmit image data
16-
to LVDS panels. This bindings supports display panels compatible with the
17-
following specifications.
16+
to LVDS devices. This bindings supports devices compatible with the following
17+
specifications.
1818
1919
[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
2020
1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
@@ -26,18 +26,7 @@ description: |+
2626
Device compatible with those specifications have been marketed under the
2727
FPD-Link and FlatLink brands.
2828
29-
allOf:
30-
- $ref: panel-common.yaml#
31-
3229
properties:
33-
compatible:
34-
contains:
35-
const: panel-lvds
36-
description:
37-
Shall contain "panel-lvds" in addition to a mandatory panel-specific
38-
compatible string defined in individual panel bindings. The "panel-lvds"
39-
value shall never be used on its own.
40-
4130
data-mapping:
4231
enum:
4332
- jeida-18
@@ -96,22 +85,6 @@ properties:
9685
If set, reverse the bit order described in the data mappings below on all
9786
data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6.
9887

99-
port: true
100-
ports: true
101-
102-
required:
103-
- compatible
104-
- data-mapping
105-
- width-mm
106-
- height-mm
107-
- panel-timing
108-
109-
oneOf:
110-
- required:
111-
- port
112-
- required:
113-
- ports
114-
11588
additionalProperties: true
11689

11790
...
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/mediatek/mediatek,aal.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mediatek display adaptive ambient light processor
8+
9+
maintainers:
10+
- Chun-Kuang Hu <[email protected]>
11+
- Philipp Zabel <[email protected]>
12+
13+
description: |
14+
Mediatek display adaptive ambient light processor, namely AAL,
15+
is responsible for backlight power saving and sunlight visibility improving.
16+
AAL device node must be siblings to the central MMSYS_CONFIG node.
17+
For a description of the MMSYS_CONFIG binding, see
18+
Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
19+
for details.
20+
21+
properties:
22+
compatible:
23+
oneOf:
24+
- items:
25+
- const: mediatek,mt8173-disp-aal
26+
- items:
27+
- enum:
28+
- mediatek,mt2712-disp-aal
29+
- mediatek,mt8183-disp-aal
30+
- mediatek,mt8192-disp-aal
31+
- mediatek,mt8195-disp-aal
32+
- enum:
33+
- mediatek,mt8173-disp-aal
34+
35+
reg:
36+
maxItems: 1
37+
38+
interrupts:
39+
maxItems: 1
40+
41+
power-domains:
42+
description: A phandle and PM domain specifier as defined by bindings of
43+
the power controller specified by phandle. See
44+
Documentation/devicetree/bindings/power/power-domain.yaml for details.
45+
46+
clocks:
47+
items:
48+
- description: AAL Clock
49+
50+
mediatek,gce-client-reg:
51+
description: The register of client driver can be configured by gce with
52+
4 arguments defined in this property, such as phandle of gce, subsys id,
53+
register offset and size. Each GCE subsys id is mapping to a client
54+
defined in the header include/dt-bindings/gce/<chip>-gce.h.
55+
$ref: /schemas/types.yaml#/definitions/phandle-array
56+
maxItems: 1
57+
58+
required:
59+
- compatible
60+
- reg
61+
- interrupts
62+
- power-domains
63+
- clocks
64+
65+
additionalProperties: false
66+
67+
examples:
68+
- |
69+
70+
aal@14015000 {
71+
compatible = "mediatek,mt8173-disp-aal";
72+
reg = <0 0x14015000 0 0x1000>;
73+
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_LOW>;
74+
power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
75+
clocks = <&mmsys CLK_MM_DISP_AAL>;
76+
mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x5000 0x1000>;
77+
};
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/mediatek/mediatek,ccorr.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mediatek display color correction
8+
9+
maintainers:
10+
- Chun-Kuang Hu <[email protected]>
11+
- Philipp Zabel <[email protected]>
12+
13+
description: |
14+
Mediatek display color correction, namely CCORR, reproduces correct color
15+
on panels with different color gamut.
16+
CCORR device node must be siblings to the central MMSYS_CONFIG node.
17+
For a description of the MMSYS_CONFIG binding, see
18+
Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
19+
for details.
20+
21+
properties:
22+
compatible:
23+
oneOf:
24+
- items:
25+
- const: mediatek,mt8183-disp-ccorr
26+
- items:
27+
- const: mediatek,mt8192-disp-ccorr
28+
- items:
29+
- enum:
30+
- mediatek,mt8195-disp-ccorr
31+
- enum:
32+
- mediatek,mt8192-disp-ccorr
33+
34+
reg:
35+
maxItems: 1
36+
37+
interrupts:
38+
maxItems: 1
39+
40+
power-domains:
41+
description: A phandle and PM domain specifier as defined by bindings of
42+
the power controller specified by phandle. See
43+
Documentation/devicetree/bindings/power/power-domain.yaml for details.
44+
45+
clocks:
46+
items:
47+
- description: CCORR Clock
48+
49+
mediatek,gce-client-reg:
50+
description: The register of client driver can be configured by gce with
51+
4 arguments defined in this property, such as phandle of gce, subsys id,
52+
register offset and size. Each GCE subsys id is mapping to a client
53+
defined in the header include/dt-bindings/gce/<chip>-gce.h.
54+
$ref: /schemas/types.yaml#/definitions/phandle-array
55+
maxItems: 1
56+
57+
required:
58+
- compatible
59+
- reg
60+
- interrupts
61+
- power-domains
62+
- clocks
63+
64+
additionalProperties: false
65+
66+
examples:
67+
- |
68+
69+
ccorr0: ccorr@1400f000 {
70+
compatible = "mediatek,mt8183-disp-ccorr";
71+
reg = <0 0x1400f000 0 0x1000>;
72+
interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_LOW>;
73+
power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
74+
clocks = <&mmsys CLK_MM_DISP_CCORR0>;
75+
mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xf000 0x1000>;
76+
};

0 commit comments

Comments
 (0)