Skip to content

Commit 1c7095d

Browse files
committed
Merge airlied/drm-next into drm-misc-next
Refresh -misc-next Signed-off-by: Sean Paul <[email protected]>
2 parents 2793c1d + 78230c4 commit 1c7095d

File tree

763 files changed

+68429
-33627
lines changed

Some content is hidden

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

763 files changed

+68429
-33627
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
Renesas R-Car LVDS Encoder
2+
==========================
3+
4+
These DT bindings describe the LVDS encoder embedded in the Renesas R-Car
5+
Gen2, R-Car Gen3 and RZ/G SoCs.
6+
7+
Required properties:
8+
9+
- compatible : Shall contain one of
10+
- "renesas,r8a7743-lvds" for R8A7743 (RZ/G1M) compatible LVDS encoders
11+
- "renesas,r8a7790-lvds" for R8A7790 (R-Car H2) compatible LVDS encoders
12+
- "renesas,r8a7791-lvds" for R8A7791 (R-Car M2-W) compatible LVDS encoders
13+
- "renesas,r8a7793-lvds" for R8A7793 (R-Car M2-N) compatible LVDS encoders
14+
- "renesas,r8a7795-lvds" for R8A7795 (R-Car H3) compatible LVDS encoders
15+
- "renesas,r8a7796-lvds" for R8A7796 (R-Car M3-W) compatible LVDS encoders
16+
- "renesas,r8a77970-lvds" for R8A77970 (R-Car V3M) compatible LVDS encoders
17+
- "renesas,r8a77995-lvds" for R8A77995 (R-Car D3) compatible LVDS encoders
18+
19+
- reg: Base address and length for the memory-mapped registers
20+
- clocks: A phandle + clock-specifier pair for the functional clock
21+
- resets: A phandle + reset specifier for the module reset
22+
23+
Required nodes:
24+
25+
The LVDS encoder has two video ports. Their connections are modelled using the
26+
OF graph bindings specified in Documentation/devicetree/bindings/graph.txt.
27+
28+
- Video port 0 corresponds to the parallel RGB input
29+
- Video port 1 corresponds to the LVDS output
30+
31+
Each port shall have a single endpoint.
32+
33+
34+
Example:
35+
36+
lvds0: lvds@feb90000 {
37+
compatible = "renesas,r8a7790-lvds";
38+
reg = <0 0xfeb90000 0 0x1c>;
39+
clocks = <&cpg CPG_MOD 726>;
40+
resets = <&cpg 726>;
41+
42+
ports {
43+
#address-cells = <1>;
44+
#size-cells = <0>;
45+
46+
port@0 {
47+
reg = <0>;
48+
lvds0_in: endpoint {
49+
remote-endpoint = <&du_out_lvds0>;
50+
};
51+
};
52+
port@1 {
53+
reg = <1>;
54+
lvds0_out: endpoint {
55+
};
56+
};
57+
};
58+
};

Documentation/devicetree/bindings/display/connector/dvi-connector.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Optional properties:
1010
- analog: the connector has DVI analog pins
1111
- digital: the connector has DVI digital pins
1212
- dual-link: the connector has pins for DVI dual-link
13+
- hpd-gpios: HPD GPIO number
1314

1415
Required nodes:
1516
- Video port for DVI input

Documentation/devicetree/bindings/display/msm/dsi.txt

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ Required properties:
77
- reg: Physical base address and length of the registers of controller
88
- reg-names: The names of register regions. The following regions are required:
99
* "dsi_ctrl"
10-
- qcom,dsi-host-index: The ID of DSI controller hardware instance. This should
11-
be 0 or 1, since we have 2 DSI controllers at most for now.
1210
- interrupts: The interrupt signal from the DSI block.
1311
- power-domains: Should be <&mmcc MDSS_GDSC>.
1412
- clocks: Phandles to device clocks.
@@ -22,6 +20,8 @@ Required properties:
2220
* "core"
2321
For DSIv2, we need an additional clock:
2422
* "src"
23+
For DSI6G v2.0 onwards, we need also need the clock:
24+
* "byte_intf"
2525
- assigned-clocks: Parents of "byte" and "pixel" for the given platform.
2626
- assigned-clock-parents: The Byte clock and Pixel clock PLL outputs provided
2727
by a DSI PHY block. See [1] for details on clock bindings.
@@ -88,21 +88,35 @@ Required properties:
8888
* "qcom,dsi-phy-28nm-lp"
8989
* "qcom,dsi-phy-20nm"
9090
* "qcom,dsi-phy-28nm-8960"
91-
- reg: Physical base address and length of the registers of PLL, PHY and PHY
92-
regulator
91+
* "qcom,dsi-phy-14nm"
92+
* "qcom,dsi-phy-10nm"
93+
- reg: Physical base address and length of the registers of PLL, PHY. Some
94+
revisions require the PHY regulator base address, whereas others require the
95+
PHY lane base address. See below for each PHY revision.
9396
- reg-names: The names of register regions. The following regions are required:
97+
For DSI 28nm HPM/LP/8960 PHYs and 20nm PHY:
9498
* "dsi_pll"
9599
* "dsi_phy"
96100
* "dsi_phy_regulator"
101+
For DSI 14nm and 10nm PHYs:
102+
* "dsi_pll"
103+
* "dsi_phy"
104+
* "dsi_phy_lane"
97105
- clock-cells: Must be 1. The DSI PHY block acts as a clock provider, creating
98106
2 clocks: A byte clock (index 0), and a pixel clock (index 1).
99-
- qcom,dsi-phy-index: The ID of DSI PHY hardware instance. This should
100-
be 0 or 1, since we have 2 DSI PHYs at most for now.
101107
- power-domains: Should be <&mmcc MDSS_GDSC>.
102108
- clocks: Phandles to device clocks. See [1] for details on clock bindings.
103109
- clock-names: the following clocks are required:
104110
* "iface"
111+
For 28nm HPM/LP, 28nm 8960 PHYs:
112+
- vddio-supply: phandle to vdd-io regulator device node
113+
For 20nm PHY:
105114
- vddio-supply: phandle to vdd-io regulator device node
115+
- vcca-supply: phandle to vcca regulator device node
116+
For 14nm PHY:
117+
- vcca-supply: phandle to vcca regulator device node
118+
For 10nm PHY:
119+
- vdds-supply: phandle to vdds regulator device node
106120

107121
Optional properties:
108122
- qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY

Documentation/devicetree/bindings/display/renesas,du.txt

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@ Required Properties:
1313
- "renesas,du-r8a7794" for R8A7794 (R-Car E2) compatible DU
1414
- "renesas,du-r8a7795" for R8A7795 (R-Car H3) compatible DU
1515
- "renesas,du-r8a7796" for R8A7796 (R-Car M3-W) compatible DU
16+
- "renesas,du-r8a77970" for R8A77970 (R-Car V3M) compatible DU
17+
- "renesas,du-r8a77995" for R8A77995 (R-Car D3) compatible DU
1618

17-
- reg: A list of base address and length of each memory resource, one for
18-
each entry in the reg-names property.
19-
- reg-names: Name of the memory resources. The DU requires one memory
20-
resource for the DU core (named "du") and one memory resource for each
21-
LVDS encoder (named "lvds.x" with "x" being the LVDS controller numerical
22-
index).
19+
- reg: the memory-mapped I/O registers base address and length
2320

2421
- interrupt-parent: phandle of the parent interrupt controller.
2522
- interrupts: Interrupt specifiers for the DU interrupts.
@@ -29,14 +26,13 @@ Required Properties:
2926
- clock-names: Name of the clocks. This property is model-dependent.
3027
- R8A7779 uses a single functional clock. The clock doesn't need to be
3128
named.
32-
- All other DU instances use one functional clock per channel and one
33-
clock per LVDS encoder (if available). The functional clocks must be
34-
named "du.x" with "x" being the channel numerical index. The LVDS clocks
35-
must be named "lvds.x" with "x" being the LVDS encoder numerical index.
36-
- In addition to the functional and encoder clocks, all DU versions also
37-
support externally supplied pixel clocks. Those clocks are optional.
38-
When supplied they must be named "dclkin.x" with "x" being the input
39-
clock numerical index.
29+
- All other DU instances use one functional clock per channel The
30+
functional clocks must be named "du.x" with "x" being the channel
31+
numerical index.
32+
- In addition to the functional clocks, all DU versions also support
33+
externally supplied pixel clocks. Those clocks are optional. When
34+
supplied they must be named "dclkin.x" with "x" being the input clock
35+
numerical index.
4036

4137
- vsps: A list of phandle and channel index tuples to the VSPs that handle
4238
the memory interfaces for the DU channels. The phandle identifies the VSP
@@ -63,25 +59,24 @@ corresponding to each DU output.
6359
R8A7794 (R-Car E2) DPAD 0 DPAD 1 - -
6460
R8A7795 (R-Car H3) DPAD 0 HDMI 0 HDMI 1 LVDS 0
6561
R8A7796 (R-Car M3-W) DPAD 0 HDMI 0 LVDS 0 -
62+
R8A77970 (R-Car V3M) DPAD 0 LVDS 0 - -
63+
R8A77995 (R-Car D3) DPAD 0 LVDS 0 LVDS 1 -
6664

6765

6866
Example: R8A7795 (R-Car H3) ES2.0 DU
6967

7068
du: display@feb00000 {
7169
compatible = "renesas,du-r8a7795";
72-
reg = <0 0xfeb00000 0 0x80000>,
73-
<0 0xfeb90000 0 0x14>;
74-
reg-names = "du", "lvds.0";
70+
reg = <0 0xfeb00000 0 0x80000>;
7571
interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
7672
<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
7773
<GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
7874
<GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
7975
clocks = <&cpg CPG_MOD 724>,
8076
<&cpg CPG_MOD 723>,
8177
<&cpg CPG_MOD 722>,
82-
<&cpg CPG_MOD 721>,
83-
<&cpg CPG_MOD 727>;
84-
clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0";
78+
<&cpg CPG_MOD 721>;
79+
clock-names = "du.0", "du.1", "du.2", "du.3";
8580
vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd0 1>;
8681

8782
ports {

Documentation/devicetree/overlay-notes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ Overlay in-kernel API
8787

8888
The API is quite easy to use.
8989

90-
1. Call of_overlay_apply() to create and apply an overlay changeset. The return
91-
value is an error or a cookie identifying this overlay.
90+
1. Call of_overlay_fdt_apply() to create and apply an overlay changeset. The
91+
return value is an error or a cookie identifying this overlay.
9292

9393
2. Call of_overlay_remove() to remove and cleanup the overlay changeset
9494
previously created via the call to of_overlay_apply(). Removal of an overlay

Documentation/gpu/todo.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,5 +450,12 @@ See drivers/gpu/drm/amd/display/TODO for tasks.
450450

451451
Contact: Harry Wentland, Alex Deucher
452452

453+
i915
454+
----
455+
456+
- Our early/late pm callbacks could be removed in favour of using
457+
device_link_add to model the dependency between i915 and snd_had. See
458+
https://dri.freedesktop.org/docs/drm/driver-api/device_link.html
459+
453460
Outside DRM
454461
===========

MAINTAINERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
766766
F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
767767
F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
768768
F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
769+
F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
770+
F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
769771
F: drivers/gpu/drm/amd/amdkfd/
770772
F: drivers/gpu/drm/amd/include/cik_structs.h
771773
F: drivers/gpu/drm/amd/include/kgd_kfd_interface.h
@@ -4744,6 +4746,7 @@ F: drivers/gpu/drm/rcar-du/
47444746
F: drivers/gpu/drm/shmobile/
47454747
F: include/linux/platform_data/shmob_drm.h
47464748
F: Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
4749+
F: Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt
47474750
F: Documentation/devicetree/bindings/display/renesas,du.txt
47484751

47494752
DRM DRIVERS FOR ROCKCHIP

arch/x86/kernel/devicetree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static void __init dtb_apic_setup(void)
259259
dtb_ioapic_setup();
260260
}
261261

262-
#ifdef CONFIG_OF_FLATTREE
262+
#ifdef CONFIG_OF_EARLY_FLATTREE
263263
static void __init x86_flattree_get_config(void)
264264
{
265265
u32 size, map_len;

drivers/dma-buf/dma-fence.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ void dma_fence_release(struct kref *kref)
171171

172172
trace_dma_fence_destroy(fence);
173173

174+
/* Failed to signal before release, could be a refcounting issue */
174175
WARN_ON(!list_empty(&fence->cb_list));
175176

176177
if (fence->ops->release)

drivers/gpu/drm/amd/amdgpu/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ FULL_AMD_DISPLAY_PATH = $(FULL_AMD_PATH)/$(DISPLAY_FOLDER_NAME)
3030
ccflags-y := -I$(FULL_AMD_PATH)/include/asic_reg \
3131
-I$(FULL_AMD_PATH)/include \
3232
-I$(FULL_AMD_PATH)/amdgpu \
33-
-I$(FULL_AMD_PATH)/scheduler \
3433
-I$(FULL_AMD_PATH)/powerplay/inc \
3534
-I$(FULL_AMD_PATH)/acp/include \
3635
-I$(FULL_AMD_DISPLAY_PATH) \
@@ -63,7 +62,7 @@ amdgpu-$(CONFIG_DRM_AMDGPU_CIK)+= cik.o cik_ih.o kv_smc.o kv_dpm.o \
6362
amdgpu-$(CONFIG_DRM_AMDGPU_SI)+= si.o gmc_v6_0.o gfx_v6_0.o si_ih.o si_dma.o dce_v6_0.o si_dpm.o si_smc.o
6463

6564
amdgpu-y += \
66-
vi.o mxgpu_vi.o nbio_v6_1.o soc15.o mxgpu_ai.o nbio_v7_0.o vega10_reg_init.o
65+
vi.o mxgpu_vi.o nbio_v6_1.o soc15.o emu_soc.o mxgpu_ai.o nbio_v7_0.o vega10_reg_init.o
6766

6867
# add GMC block
6968
amdgpu-y += \
@@ -88,8 +87,7 @@ amdgpu-y += \
8887

8988
# add SMC block
9089
amdgpu-y += \
91-
amdgpu_dpm.o \
92-
amdgpu_powerplay.o
90+
amdgpu_dpm.o
9391

9492
# add DCE block
9593
amdgpu-y += \
@@ -130,6 +128,8 @@ amdgpu-y += \
130128
# add amdkfd interfaces
131129
amdgpu-y += \
132130
amdgpu_amdkfd.o \
131+
amdgpu_amdkfd_fence.o \
132+
amdgpu_amdkfd_gpuvm.o \
133133
amdgpu_amdkfd_gfx_v8.o
134134

135135
# add cgs

0 commit comments

Comments
 (0)