Skip to content

Commit 2d65a9f

Browse files
committed
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull drm updates from Dave Airlie: "This is the main git pull for the drm, I pretty much froze major pulls at -rc5/6 time, and haven't had much fallout, so will probably continue doing that. Lots of changes all over, big internal header cleanup to make it clear drm features are legacy things and what are things that modern KMS drivers should be using. Also big move to use the new generic fences in all the TTM drivers. core: atomic prep work, vblank rework changes, allows immediate vblank disables major header reworking and cleanups to better delinate legacy interfaces from what KMS drivers should be using. cursor planes locking fixes ttm: move to generic fences (affects all TTM drivers) ppc64 caching fixes radeon: userptr support, uvd for old asics, reset rework for fence changes better buffer placement changes, dpm feature enablement hdmi audio support fixes intel: Cherryview work, 180 degree rotation, skylake prep work, execlist command submission full ppgtt prep work cursor improvements edid caching, vdd handling improvements nouveau: fence reworking kepler memory clock work gt21x clock work fan control improvements hdmi infoframe fixes DP audio ast: ppc64 fixes caching fix rcar: rcar-du DT support ipuv3: prep work for capture support msm: LVDS support for mdp4, new panel, gpu refactoring exynos: exynos3250 SoC support, drop bad mmap interface, mipi dsi changes, and component match support" * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (640 commits) drm/mst: rework payload table allocation to conform better. drm/ast: Fix HW cursor image drm/radeon/kv: add uvd/vce info to dpm debugfs output drm/radeon/ci: add uvd/vce info to dpm debugfs output drm/radeon: export reservation_object from dmabuf to ttm drm/radeon: cope with foreign fences inside the reservation object drm/radeon: cope with foreign fences inside display drm/core: use helper to check driver features drm/radeon/cik: write gfx ucode version to ucode addr reg drm/radeon/si: print full CS when we hit a packet 0 drm/radeon: remove unecessary includes drm/radeon/combios: declare legacy_connector_convert as static drm/radeon/atombios: declare connector convert tables as static drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table drm/radeon/dpm: drop clk/voltage dependency filters for BTC drm/radeon/dpm: drop clk/voltage dependency filters for CI drm/radeon/dpm: drop clk/voltage dependency filters for SI drm/radeon/dpm: drop clk/voltage dependency filters for NI drm/radeon: disable audio when we disable hdmi (v2) drm/radeon: split audio enable between eg and r600 (v2) ...
2 parents da92da3 + dfda0df commit 2d65a9f

524 files changed

Lines changed: 24584 additions & 11105 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.

‎Documentation/DocBook/drm.tmpl‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,9 @@ char *date;</synopsis>
291291
<title>Device Registration</title>
292292
<para>
293293
A number of functions are provided to help with device registration.
294-
The functions deal with PCI, USB and platform devices, respectively.
294+
The functions deal with PCI and platform devices, respectively.
295295
</para>
296296
!Edrivers/gpu/drm/drm_pci.c
297-
!Edrivers/gpu/drm/drm_usb.c
298297
!Edrivers/gpu/drm/drm_platform.c
299298
<para>
300299
New drivers that no longer rely on the services provided by the
@@ -3386,6 +3385,13 @@ void (*disable_vblank) (struct drm_device *dev, int crtc);</synopsis>
33863385
by scheduling a timer. The delay is accessible through the vblankoffdelay
33873386
module parameter or the <varname>drm_vblank_offdelay</varname> global
33883387
variable and expressed in milliseconds. Its default value is 5000 ms.
3388+
Zero means never disable, and a negative value means disable immediately.
3389+
Drivers may override the behaviour by setting the
3390+
<structname>drm_device</structname>
3391+
<structfield>vblank_disable_immediate</structfield> flag, which when set
3392+
causes vblank interrupts to be disabled immediately regardless of the
3393+
drm_vblank_offdelay value. The flag should only be set if there's a
3394+
properly working hardware vblank counter present.
33893395
</para>
33903396
<para>
33913397
When a vertical blanking interrupt occurs drivers only need to call the
@@ -3400,6 +3406,7 @@ void (*disable_vblank) (struct drm_device *dev, int crtc);</synopsis>
34003406
<sect2>
34013407
<title>Vertical Blanking and Interrupt Handling Functions Reference</title>
34023408
!Edrivers/gpu/drm/drm_irq.c
3409+
!Finclude/drm/drmP.h drm_crtc_vblank_waitqueue
34033410
</sect2>
34043411
</sect1>
34053412
@@ -3918,6 +3925,11 @@ int num_ioctls;</synopsis>
39183925
!Pdrivers/gpu/drm/i915/i915_cmd_parser.c batch buffer command parser
39193926
!Idrivers/gpu/drm/i915/i915_cmd_parser.c
39203927
</sect2>
3928+
<sect2>
3929+
<title>Logical Rings, Logical Ring Contexts and Execlists</title>
3930+
!Pdrivers/gpu/drm/i915/intel_lrc.c Logical Rings, Logical Ring Contexts and Execlists
3931+
!Idrivers/gpu/drm/i915/intel_lrc.c
3932+
</sect2>
39213933
</sect1>
39223934
</chapter>
39233935
</part>

‎Documentation/devicetree/bindings/drm/tilcdc/panel.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Required properties:
1818
Documentation/devicetree/bindings/video/display-timing.txt for display
1919
timing binding details.
2020

21+
Optional properties:
22+
- backlight: phandle of the backlight device attached to the panel
23+
- enable-gpios: GPIO pin to enable or disable the panel
24+
2125
Recommended properties:
2226
- pinctrl-names, pinctrl-0: the pincontrol settings to configure
2327
muxing properly for pins that connect to TFP410 device
@@ -29,6 +33,9 @@ Example:
2933
compatible = "ti,tilcdc,panel";
3034
pinctrl-names = "default";
3135
pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
36+
backlight = <&backlight>;
37+
enable-gpios = <&gpio3 19 0>;
38+
3239
panel-info {
3340
ac-bias = <255>;
3441
ac-bias-intrpt = <0>;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
AU Optronics Corporation 10.1" WXGA TFT LCD panel
2+
3+
Required properties:
4+
- compatible: should be "auo,b101xtn01"
5+
6+
This binding is compatible with the simple-panel binding, which is specified
7+
in simple-panel.txt in this directory.

‎Documentation/devicetree/bindings/vendor-prefixes.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ maxim Maxim Integrated Products
9292
mediatek MediaTek Inc.
9393
micrel Micrel Inc.
9494
microchip Microchip Technology Inc.
95+
mitsubishi Mitsubishi Electric Corporation
9596
mosaixtech Mosaix Technologies, Inc.
9697
moxa Moxa
9798
mpl MPL AG
@@ -144,6 +145,7 @@ st STMicroelectronics
144145
ste ST-Ericsson
145146
stericsson ST-Ericsson
146147
synology Synology, Inc.
148+
thine THine Electronics, Inc.
147149
ti Texas Instruments
148150
tlm Trusted Logic Mobility
149151
toradex Toradex AG
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
Analog Device ADV7123 Video DAC
2+
-------------------------------
3+
4+
The ADV7123 is a digital-to-analog converter that outputs VGA signals from a
5+
parallel video input.
6+
7+
Required properties:
8+
9+
- compatible: Should be "adi,adv7123"
10+
11+
Optional properties:
12+
13+
- psave-gpios: Power save control GPIO
14+
15+
Required nodes:
16+
17+
The ADV7123 has two video ports. Their connections are modeled using the OF
18+
graph bindings specified in Documentation/devicetree/bindings/graph.txt.
19+
20+
- Video port 0 for DPI input
21+
- Video port 1 for VGA output
22+
23+
24+
Example
25+
-------
26+
27+
adv7123: encoder@0 {
28+
compatible = "adi,adv7123";
29+
30+
ports {
31+
#address-cells = <1>;
32+
#size-cells = <0>;
33+
34+
port@0 {
35+
reg = <0>;
36+
37+
adv7123_in: endpoint@0 {
38+
remote-endpoint = <&dpi_out>;
39+
};
40+
};
41+
42+
port@1 {
43+
reg = <1>;
44+
45+
adv7123_out: endpoint@0 {
46+
remote-endpoint = <&vga_connector_in>;
47+
};
48+
};
49+
};
50+
};

‎Documentation/devicetree/bindings/video/exynos_dsim.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Exynos MIPI DSI Master
22

33
Required properties:
44
- compatible: value should be one of the following
5+
"samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
56
"samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
67
"samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
78
- reg: physical base address and length of the registers set for the device
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
* Renesas R-Car Display Unit (DU)
2+
3+
Required Properties:
4+
5+
- compatible: must be one of the following.
6+
- "renesas,du-r8a7779" for R8A7779 (R-Car H1) compatible DU
7+
- "renesas,du-r8a7790" for R8A7790 (R-Car H2) compatible DU
8+
- "renesas,du-r8a7791" for R8A7791 (R-Car M2) compatible DU
9+
10+
- reg: A list of base address and length of each memory resource, one for
11+
each entry in the reg-names property.
12+
- reg-names: Name of the memory resources. The DU requires one memory
13+
resource for the DU core (named "du") and one memory resource for each
14+
LVDS encoder (named "lvds.x" with "x" being the LVDS controller numerical
15+
index).
16+
17+
- interrupt-parent: phandle of the parent interrupt controller.
18+
- interrupts: Interrupt specifiers for the DU interrupts.
19+
20+
- clocks: A list of phandles + clock-specifier pairs, one for each entry in
21+
the clock-names property.
22+
- clock-names: Name of the clocks. This property is model-dependent.
23+
- R8A7779 uses a single functional clock. The clock doesn't need to be
24+
named.
25+
- R8A7790 and R8A7791 use one functional clock per channel and one clock
26+
per LVDS encoder. The functional clocks must be named "du.x" with "x"
27+
being the channel numerical index. The LVDS clocks must be named
28+
"lvds.x" with "x" being the LVDS encoder numerical index.
29+
30+
Required nodes:
31+
32+
The connections to the DU output video ports are modeled using the OF graph
33+
bindings specified in Documentation/devicetree/bindings/graph.txt.
34+
35+
The following table lists for each supported model the port number
36+
corresponding to each DU output.
37+
38+
Port 0 Port1 Port2
39+
-----------------------------------------------------------------------------
40+
R8A7779 (H1) DPAD 0 DPAD 1 -
41+
R8A7790 (H2) DPAD LVDS 0 LVDS 1
42+
R8A7791 (M2) DPAD LVDS 0 -
43+
44+
45+
Example: R8A7790 (R-Car H2) DU
46+
47+
du: du@feb00000 {
48+
compatible = "renesas,du-r8a7790";
49+
reg = <0 0xfeb00000 0 0x70000>,
50+
<0 0xfeb90000 0 0x1c>,
51+
<0 0xfeb94000 0 0x1c>;
52+
reg-names = "du", "lvds.0", "lvds.1";
53+
interrupt-parent = <&gic>;
54+
interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
55+
<0 268 IRQ_TYPE_LEVEL_HIGH>,
56+
<0 269 IRQ_TYPE_LEVEL_HIGH>;
57+
clocks = <&mstp7_clks R8A7790_CLK_DU0>,
58+
<&mstp7_clks R8A7790_CLK_DU1>,
59+
<&mstp7_clks R8A7790_CLK_DU2>,
60+
<&mstp7_clks R8A7790_CLK_LVDS0>,
61+
<&mstp7_clks R8A7790_CLK_LVDS1>;
62+
clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
63+
64+
ports {
65+
#address-cells = <1>;
66+
#size-cells = <0>;
67+
68+
port@0 {
69+
reg = <0>;
70+
du_out_rgb: endpoint {
71+
};
72+
};
73+
port@1 {
74+
reg = <1>;
75+
du_out_lvds0: endpoint {
76+
};
77+
};
78+
port@2 {
79+
reg = <2>;
80+
du_out_lvds1: endpoint {
81+
};
82+
};
83+
};
84+
};

‎Documentation/devicetree/bindings/video/samsung-fimd.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Required properties:
99
"samsung,s3c2443-fimd"; /* for S3C24XX SoCs */
1010
"samsung,s3c6400-fimd"; /* for S3C64XX SoCs */
1111
"samsung,s5pv210-fimd"; /* for S5PV210 SoC */
12+
"samsung,exynos3250-fimd"; /* for Exynos3250/3472 SoCs */
1213
"samsung,exynos4210-fimd"; /* for Exynos4 SoCs */
1314
"samsung,exynos5250-fimd"; /* for Exynos5 SoCs */
1415

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
THine Electronics THC63LVDM83D LVDS serializer
2+
----------------------------------------------
3+
4+
The THC63LVDM83D is an LVDS serializer designed to support pixel data
5+
transmission between a host and a flat panel.
6+
7+
Required properties:
8+
9+
- compatible: Should be "thine,thc63lvdm83d"
10+
11+
Optional properties:
12+
13+
- pwdn-gpios: Power down control GPIO
14+
15+
Required nodes:
16+
17+
The THC63LVDM83D has two video ports. Their connections are modeled using the
18+
OFgraph bindings specified in Documentation/devicetree/bindings/graph.txt.
19+
20+
- Video port 0 for CMOS/TTL input
21+
- Video port 1 for LVDS output
22+
23+
24+
Example
25+
-------
26+
27+
lvds_enc: encoder@0 {
28+
compatible = "thine,thc63lvdm83d";
29+
30+
ports {
31+
#address-cells = <1>;
32+
#size-cells = <0>;
33+
34+
port@0 {
35+
reg = <0>;
36+
37+
lvds_enc_in: endpoint@0 {
38+
remote-endpoint = <&rgb_out>;
39+
};
40+
};
41+
42+
port@1 {
43+
reg = <1>;
44+
45+
lvds_enc_out: endpoint@0 {
46+
remote-endpoint = <&panel_in>;
47+
};
48+
};
49+
};
50+
};
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
VGA Connector
2+
=============
3+
4+
Required properties:
5+
6+
- compatible: "vga-connector"
7+
8+
Optional properties:
9+
10+
- label: a symbolic name for the connector corresponding to a hardware label
11+
- ddc-i2c-bus: phandle to the I2C bus that is connected to VGA DDC
12+
13+
Required nodes:
14+
15+
The VGA connector internal connections are modeled using the OF graph bindings
16+
specified in Documentation/devicetree/bindings/graph.txt.
17+
18+
The VGA connector has a single port that must be connected to a video source
19+
port.
20+
21+
22+
Example
23+
-------
24+
25+
vga0: connector@0 {
26+
compatible = "vga-connector";
27+
label = "vga";
28+
29+
ddc-i2c-bus = <&i2c3>;
30+
31+
port {
32+
vga_connector_in: endpoint {
33+
remote-endpoint = <&adv7123_out>;
34+
};
35+
};
36+
};

0 commit comments

Comments
 (0)