Skip to content

Commit b44f2fd

Browse files
committed
Merge tag 'drm-next-2022-08-03' of git://anongit.freedesktop.org/drm/drm
Pull drm updates from Dave Airlie: "Highlights: - New driver for logicvc - which is a display IP core. - EDID parser rework to add new extensions - fbcon scrolling improvements - i915 has some more DG2 work but not enabled by default, but should have enough features for userspace to work now. Otherwise it's lots of work all over the place. Detailed summary: New driver: - logicvc vfio: - use aperture API core: - of: Add data-lane helpers and convert drivers - connector: Remove deprecated ida_simple_get() media: - Add various RGB666 and RGB888 format constants panel: - Add HannStar HSD101PWW - Add ETML0700Y5DHA dma-buf: - add sync-file API - set dma mask for udmabuf devices fbcon: - Improve scrolling performance - Sanitize input fbdev: - device unregistering fixes - vesa: Support COMPILE_TEST - Disable firmware-device registration when first native driver loads aperture: - fix segfault during hot-unplug - export for use with other subsystems client: - use driver validated modes dp: - aux: make probing more reliable - mst: Read extended DPCD capabilities during system resume - Support waiting for HDP signal - Port-validation fixes edid: - CEA data-block iterators - struct drm_edid introduction - implement HF-EEODB extension gem: - don't use fb format non-existing planes probe-helper: - use 640x480 as displayport fallback scheduler: - don't kill jobs in interrupt context bridge: - Add support for i.MX8qxp and i.MX8qm - lots of fixes/cleanups - Add TI-DLPC3433 - fy07024di26a30d: Optional GPIO reset - ldb: Add reg and reg-name properties to bindings, Kconfig fixes - lt9611: Fix display sensing; - tc358767: DSI/DPI refactoring and DSI-to-eDP support, DSI lane handling - tc358775: Fix clock settings - ti-sn65dsi83: Allow GPIO to sleep - adv7511: I2C fixes - anx7625: Fix error handling; DPI fixes; Implement HDP timeout via callback - fsl-ldb: Drop DE flip - ti-sn65dsi86: Convert to atomic modesetting amdgpu: - use atomic fence helpers in DM - fix VRAM address calculations - export CRTC bpc via debugfs - Initial devcoredump support - Enable high priority gfx queue on asics which support it - Adjust GART size on newer APUs for S/G display - Soft reset for GFX 11 / SDMA 6 - Add gfxoff status query for vangogh - Fix timestamps for cursor only commits - Adjust GART size on newer APUs for S/G display - fix buddy memory corruption amdkfd: - MMU notifier fixes - P2P DMA support using dma-buf - Add available memory IOCTL - HMM profiler support - Simplify GPUVM validation - Unified memory for CWSR save/restore area i915: - General driver clean-up - DG2 enabling (still under force probe) - DG2 small BAR memory support - HuC loading support - DG2 workarounds - DG2/ATS-M device IDs added - Ponte Vecchio prep work and new blitter engines - add Meteorlake support - Fix sparse warnings - DMC MMIO range checks - Audio related fixes - Runtime PM fixes - PSR fixes - Media freq factor and per-gt enhancements - DSI fixes for ICL+ - Disable DMC flip queue handlers - ADL_P voltage swing updates - Use more the VBT for panel information - Fix on Type-C ports with TBT mode - Improve fastset and allow seamless M/N changes - Accept more fixed modes with VRR/DMRRS panels - Disable connector polling for a headless SKU - ADL-S display PLL w/a - Enable THP on Icelake and beyond - Fix i915_gem_object_ggtt_pin_ww regression on old platforms - Expose per tile media freq factor in sysfs - Fix dma_resv fence handling in multi-batch execbuf - Improve on suspend / resume time with VT-d enabled - export CRTC bpc settings via debugfs msm: - gpu: a619 support - gpu: Fix for unclocked GMU register access - gpu: Devcore dump enhancements - client utilization via fdinfo support - fix fence rollover issue - gem: Lockdep false-positive warning fix - gem: Switch to pfn mappings - WB support on sc7180 - dp: dropped custom bulk clock implementation - fix link retraining on resolution change - hdmi: dropped obsolete GPIO support tegra: - context isolation for host1x engines - tegra234 soc support mediatek: - add vdosys0/1 for mt8195 - add MT8195 dp_intf driver exynos: - Fix resume function issue of exynos decon driver by calling clk_disable_unprepare() properly if clk_prepare_enable() failed. nouveau: - set of misc fixes/cleanups - display cleanups gma500: - Cleanup connector I2C handling hyperv: - Unify VRAM allocation of Gen1 and Gen2 meson: - Support YUV422 output; Refcount fixes mgag200: - Support damage clipping - Support gamma handling - Protect concurrent HW access - Fixes to connector - Store model-specific limits in device-info structure - fix PCI register init panfrost: - Valhall support r128: - Fix bit-shift overflow rockchip: - Locking fixes in error path ssd130x: - Fix built-in linkage udl: - Always advertize VGA connector ast: - Support multiple outputs - fix black screen on resume sun4i: - HDMI PHY cleanups vc4: - Add support for BCM2711 vkms: - Allocate output buffer with vmalloc() mcde: - Fix ref-count leak mxsfb/lcdif: - Support i.MX8MP LCD controller stm/ltdc: - Support dynamic Z order - Support mirroring ingenic: - Fix display at maximum resolution" * tag 'drm-next-2022-08-03' of git://anongit.freedesktop.org/drm/drm: (1480 commits) drm/amd/display: Fix a compilation failure on PowerPC caused by FPU code drm/amdgpu: enable support for psp 13.0.4 block drm/amdgpu: add files for PSP 13.0.4 drm/amdgpu: add header files for MP 13.0.4 drm/amdgpu: correct RLC_RLCS_BOOTLOAD_STATUS offset and index drm/amdgpu: send msg to IMU for the front-door loading drm/amdkfd: use time_is_before_jiffies(a + b) to replace "jiffies - a > b" drm/amdgpu: fix hive reference leak when reflecting psp topology info drm/amd/pm: enable GFX ULV feature support for SMU13.0.0 drm/amd/pm: update driver if header for SMU 13.0.0 drm/amdgpu: move mes self test after drm sched re-started drm/amdgpu: drop non-necessary call trace dump drm/amdgpu: enable VCN cg and JPEG cg/pg drm/amdgpu: vcn_4_0_2 video codec query drm/amdgpu: add VCN_4_0_2 firmware support drm/amdgpu: add VCN function in NBIO v7.7 drm/amdgpu: fix a vcn4 boot poll bug in emulation mode drm/amd/amdgpu: add memory training support for PSP_V13 drm/amdkfd: remove an unnecessary amdgpu_bo_ref drm/amd/pm: Add get_gfx_off_status interface for yellow carp ...
2 parents 12b6804 + 5493ee1 commit b44f2fd

1,519 files changed

Lines changed: 562442 additions & 29454 deletions

File tree

Some content is hidden

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

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3495,6 +3495,10 @@ D: wd33c93 SCSI driver (linux-m68k)
34953495
S: San Jose, California
34963496
S: USA
34973497

3498+
N: Joonyoung Shim
3499+
E: y0922.shim@samsung.com
3500+
D: Samsung Exynos DRM drivers
3501+
34983502
N: Robert Siemer
34993503
E: Robert.Siemer@gmx.de
35003504
P: 2048/C99A4289 2F DC 17 2E 56 62 01 C8 3D F2 AC 09 F2 E5 DD EE

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,22 @@ properties:
9494
$ref: /schemas/graph.yaml#/$defs/port-base
9595
unevaluatedProperties: false
9696
description:
97-
Video port for MIPI DSI input.
97+
MIPI DSI/DPI input.
98+
99+
properties:
100+
endpoint:
101+
$ref: /schemas/media/video-interfaces.yaml#
102+
type: object
103+
additionalProperties: false
104+
105+
properties:
106+
remote-endpoint: true
107+
108+
bus-type:
109+
enum: [7]
110+
default: 1
111+
112+
data-lanes: true
98113

99114
port@1:
100115
$ref: /schemas/graph.yaml#/properties/port
@@ -143,6 +158,8 @@ examples:
143158
reg = <0>;
144159
anx7625_in: endpoint {
145160
remote-endpoint = <&mipi_dsi>;
161+
bus-type = <7>;
162+
data-lanes = <0 1 2 3>;
146163
};
147164
};
148165
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-ldb.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale i.MX8qm/qxp LVDS Display Bridge
8+
9+
maintainers:
10+
- Liu Ying <victor.liu@nxp.com>
11+
12+
description: |
13+
The Freescale i.MX8qm/qxp LVDS Display Bridge(LDB) has two channels.
14+
15+
The i.MX8qm/qxp LDB is controlled by Control and Status Registers(CSR) module.
16+
The CSR module, as a system controller, contains the LDB's configuration
17+
registers.
18+
19+
For i.MX8qxp LDB, each channel supports up to 24bpp parallel input color
20+
format and can map the input to VESA or JEIDA standards. The two channels
21+
cannot be used simultaneously, that is to say, the user should pick one of
22+
them to use. Two LDB channels from two LDB instances can work together in
23+
LDB split mode to support a dual link LVDS display. The channel indexes
24+
have to be different. Channel0 outputs odd pixels and channel1 outputs
25+
even pixels.
26+
27+
For i.MX8qm LDB, each channel additionally supports up to 30bpp parallel
28+
input color format. The two channels can be used simultaneously, either
29+
in dual mode or split mode. In dual mode, the two channels output identical
30+
data. In split mode, channel0 outputs odd pixels and channel1 outputs even
31+
pixels.
32+
33+
A side note is that i.MX8qm/qxp LDB is officially called pixel mapper in
34+
the SoC reference manuals. The pixel mapper uses logic of LDBs embedded in
35+
i.MX6qdl/sx SoCs, i.e., it is essentially based on them. To keep the naming
36+
consistency, this binding calls it LDB.
37+
38+
properties:
39+
compatible:
40+
enum:
41+
- fsl,imx8qm-ldb
42+
- fsl,imx8qxp-ldb
43+
44+
"#address-cells":
45+
const: 1
46+
47+
"#size-cells":
48+
const: 0
49+
50+
clocks:
51+
items:
52+
- description: pixel clock
53+
- description: bypass clock
54+
55+
clock-names:
56+
items:
57+
- const: pixel
58+
- const: bypass
59+
60+
power-domains:
61+
maxItems: 1
62+
63+
fsl,companion-ldb:
64+
$ref: /schemas/types.yaml#/definitions/phandle
65+
description: |
66+
A phandle which points to companion LDB which is used in LDB split mode.
67+
68+
patternProperties:
69+
"^channel@[0-1]$":
70+
type: object
71+
description: Represents a channel of LDB.
72+
73+
properties:
74+
"#address-cells":
75+
const: 1
76+
77+
"#size-cells":
78+
const: 0
79+
80+
reg:
81+
description: The channel index.
82+
enum: [ 0, 1 ]
83+
84+
phys:
85+
description: A phandle to the phy module representing the LVDS PHY.
86+
maxItems: 1
87+
88+
phy-names:
89+
const: lvds_phy
90+
91+
port@0:
92+
$ref: /schemas/graph.yaml#/properties/port
93+
description: Input port of the channel.
94+
95+
port@1:
96+
$ref: /schemas/graph.yaml#/properties/port
97+
description: Output port of the channel.
98+
99+
required:
100+
- "#address-cells"
101+
- "#size-cells"
102+
- reg
103+
- phys
104+
- phy-names
105+
106+
additionalProperties: false
107+
108+
required:
109+
- compatible
110+
- "#address-cells"
111+
- "#size-cells"
112+
- clocks
113+
- clock-names
114+
- power-domains
115+
- channel@0
116+
- channel@1
117+
118+
allOf:
119+
- if:
120+
properties:
121+
compatible:
122+
contains:
123+
const: fsl,imx8qm-ldb
124+
then:
125+
properties:
126+
fsl,companion-ldb: false
127+
128+
additionalProperties: false
129+
130+
examples:
131+
- |
132+
#include <dt-bindings/firmware/imx/rsrc.h>
133+
ldb {
134+
#address-cells = <1>;
135+
#size-cells = <0>;
136+
compatible = "fsl,imx8qxp-ldb";
137+
clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_MISC2>,
138+
<&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_BYPASS>;
139+
clock-names = "pixel", "bypass";
140+
power-domains = <&pd IMX_SC_R_LVDS_0>;
141+
142+
channel@0 {
143+
#address-cells = <1>;
144+
#size-cells = <0>;
145+
reg = <0>;
146+
phys = <&mipi_lvds_0_phy>;
147+
phy-names = "lvds_phy";
148+
149+
port@0 {
150+
reg = <0>;
151+
152+
mipi_lvds_0_ldb_ch0_mipi_lvds_0_pxl2dpi: endpoint {
153+
remote-endpoint = <&mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch0>;
154+
};
155+
};
156+
};
157+
158+
channel@1 {
159+
#address-cells = <1>;
160+
#size-cells = <0>;
161+
reg = <1>;
162+
phys = <&mipi_lvds_0_phy>;
163+
phy-names = "lvds_phy";
164+
165+
port@0 {
166+
reg = <0>;
167+
168+
mipi_lvds_0_ldb_ch1_mipi_lvds_0_pxl2dpi: endpoint {
169+
remote-endpoint = <&mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch1>;
170+
};
171+
};
172+
};
173+
};
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-combiner.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale i.MX8qm/qxp Pixel Combiner
8+
9+
maintainers:
10+
- Liu Ying <victor.liu@nxp.com>
11+
12+
description: |
13+
The Freescale i.MX8qm/qxp Pixel Combiner takes two output streams from a
14+
single display controller and manipulates the two streams to support a number
15+
of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as
16+
either one screen, two screens, or virtual screens. The pixel combiner is
17+
also responsible for generating some of the control signals for the pixel link
18+
output channel.
19+
20+
properties:
21+
compatible:
22+
enum:
23+
- fsl,imx8qm-pixel-combiner
24+
- fsl,imx8qxp-pixel-combiner
25+
26+
"#address-cells":
27+
const: 1
28+
29+
"#size-cells":
30+
const: 0
31+
32+
reg:
33+
maxItems: 1
34+
35+
clocks:
36+
maxItems: 1
37+
38+
clock-names:
39+
const: apb
40+
41+
power-domains:
42+
maxItems: 1
43+
44+
patternProperties:
45+
"^channel@[0-1]$":
46+
type: object
47+
description: Represents a display stream of pixel combiner.
48+
49+
properties:
50+
"#address-cells":
51+
const: 1
52+
53+
"#size-cells":
54+
const: 0
55+
56+
reg:
57+
description: The display stream index.
58+
enum: [ 0, 1 ]
59+
60+
port@0:
61+
$ref: /schemas/graph.yaml#/properties/port
62+
description: Input endpoint of the display stream.
63+
64+
port@1:
65+
$ref: /schemas/graph.yaml#/properties/port
66+
description: Output endpoint of the display stream.
67+
68+
required:
69+
- "#address-cells"
70+
- "#size-cells"
71+
- reg
72+
- port@0
73+
- port@1
74+
75+
additionalProperties: false
76+
77+
required:
78+
- compatible
79+
- "#address-cells"
80+
- "#size-cells"
81+
- reg
82+
- clocks
83+
- clock-names
84+
- power-domains
85+
86+
additionalProperties: false
87+
88+
examples:
89+
- |
90+
#include <dt-bindings/clock/imx8-lpcg.h>
91+
#include <dt-bindings/firmware/imx/rsrc.h>
92+
pixel-combiner@56020000 {
93+
compatible = "fsl,imx8qxp-pixel-combiner";
94+
#address-cells = <1>;
95+
#size-cells = <0>;
96+
reg = <0x56020000 0x10000>;
97+
clocks = <&dc0_pixel_combiner_lpcg IMX_LPCG_CLK_4>;
98+
clock-names = "apb";
99+
power-domains = <&pd IMX_SC_R_DC_0>;
100+
101+
channel@0 {
102+
#address-cells = <1>;
103+
#size-cells = <0>;
104+
reg = <0>;
105+
106+
port@0 {
107+
reg = <0>;
108+
109+
dc0_pixel_combiner_ch0_dc0_dpu_disp0: endpoint {
110+
remote-endpoint = <&dc0_dpu_disp0_dc0_pixel_combiner_ch0>;
111+
};
112+
};
113+
114+
port@1 {
115+
reg = <1>;
116+
117+
dc0_pixel_combiner_ch0_dc0_pixel_link0: endpoint {
118+
remote-endpoint = <&dc0_pixel_link0_dc0_pixel_combiner_ch0>;
119+
};
120+
};
121+
};
122+
123+
channel@1 {
124+
#address-cells = <1>;
125+
#size-cells = <0>;
126+
reg = <1>;
127+
128+
port@0 {
129+
reg = <0>;
130+
131+
dc0_pixel_combiner_ch1_dc0_dpu_disp1: endpoint {
132+
remote-endpoint = <&dc0_dpu_disp1_dc0_pixel_combiner_ch1>;
133+
};
134+
};
135+
136+
port@1 {
137+
reg = <1>;
138+
139+
dc0_pixel_combiner_ch1_dc0_pixel_link1: endpoint {
140+
remote-endpoint = <&dc0_pixel_link1_dc0_pixel_combiner_ch1>;
141+
};
142+
};
143+
};
144+
};

0 commit comments

Comments
 (0)