forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org…
…/~airlied/linux Pull drm updates from Dave Airlie: "This is the main drm pull request for v4.11. Nothing too major, the tinydrm and mmu-less support should make writing smaller drivers easier for some of the simpler platforms, and there are a bunch of documentation updates. Intel grew displayport MST audio support which is hopefully useful to people, and FBC is on by default for GEN9+ (so people know where to look for regressions). AMDGPU has a lot of fixes that would like new firmware files installed for some GPUs. Other than that it's pretty scattered all over. I may have a follow up pull request as I know BenH has a bunch of AST rework and fixes and I'd like to get those in once they've been tested by AST, and I've got at least one pull request I'm just trying to get the author to fix up. Core: - drm_mm reworked - Connector list locking and iterators - Documentation updates - Format handling rework - MMU-less support for fbdev helpers - drm_crtc_from_index helper - Core CRC API - Remove drm_framebuffer_unregister_private - Debugfs cleanup - EDID/Infoframe fixes - Release callback - Tinydrm support (smaller drivers for simple hw) panel: - Add support for some new simple panels i915: - FBC by default for gen9+ - Shared dpll cleanups and docs - GEN8 powerdomain cleanup - DMC support on GLK - DP MST audio support - HuC loading support - GVT init ordering fixes - GVT IOMMU workaround fix amdgpu/radeon: - Power/clockgating improvements - Preliminary SR-IOV support - TTM buffer priority and eviction fixes - SI DPM quirks removed due to firmware fixes - Powerplay improvements - VCE/UVD powergating fixes - Cleanup SI GFX code to match CI/VI - Support for > 2 displays on 3/5 crtc asics - SI headless fixes nouveau: - Rework securre boot code in prep for GP10x secure boot - Channel recovery improvements - Initial power budget code - MMU rework preperation vmwgfx: - Bunch of fixes and cleanups exynos: - Runtime PM support for MIC driver - Cleanups to use atomic helpers - UHD Support for TM2/TM2E boards - Trigger mode fix for Rinato board etnaviv: - Shader performance fix - Command stream validator fixes - Command buffer suballocator rockchip: - CDN DisplayPort support - IOMMU support for arm64 platform imx-drm: - Fix i.MX5 TV encoder probing - Remove lower fb size limits msm: - Support for HW cursor on MDP5 devices - DSI encoder cleanup - GPU DT bindings cleanup sti: - stih410 cleanups - Create fbdev at binding - HQVDP fixes - Remove stih416 chip functionality - DVI/HDMI mode selection fixes - FPS statistic reporting omapdrm: - IRQ code cleanup dwi-hdmi bridge: - Cleanups and fixes adv-bridge: - Updates for nexus sii8520 bridge: - Add interlace mode support - Rework HDMI and lots of fixes qxl: - probing/teardown cleanups ZTE drm: - HDMI audio via SPDIF interface - Video Layer overlay plane support - Add TV encoder output device atmel-hlcdc: - Rework fbdev creation logic tegra: - OF node fix fsl-dcu: - Minor fixes mali-dp: - Assorted fixes sunxi: - Minor fix" [ This was the "fixed" pull, that still had build warnings due to people not even having build tested the result. I'm not a happy camper I've fixed the things I noticed up in this merge. - Linus ] * tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlied/linux: (1177 commits) lib/Kconfig: make PRIME_NUMBERS not user selectable drm/tinydrm: helpers: Properly fix backlight dependency drm/tinydrm: mipi-dbi: Fix field width specifier warning drm/tinydrm: mipi-dbi: Silence: ‘cmd’ may be used uninitialized drm/sti: fix build warnings in sti_drv.c and sti_vtg.c files drm/amd/powerplay: fix PSI feature on Polars12 drm/amdgpu: refuse to reserve io mem for split VRAM buffers drm/ttm: fix use-after-free races in vm fault handling drm/tinydrm: Add support for Multi-Inno MI0283QT display dt-bindings: Add Multi-Inno MI0283QT binding dt-bindings: display/panel: Add common rotation property of: Add vendor prefix for Multi-Inno drm/tinydrm: Add MIPI DBI support drm/tinydrm: Add helper functions drm: Add DRM support for tiny LCD displays drm/amd/amdgpu: post card if there is real hw resetting performed drm/nouveau/tmr: provide backtrace when a timeout is hit drm/nouveau/pci/g92: Fix rearm drm/nouveau/drm/therm/fan: add a fallback if no fan control is specified in the vbios drm/nouveau/hwmon: expose power_max and power_crit ..
- Loading branch information
Showing
923 changed files
with
46,348 additions
and
22,490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 33 additions & 52 deletions
85
Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,33 @@ | ||
DesignWare HDMI bridge bindings | ||
|
||
Required properties: | ||
- compatible: platform specific such as: | ||
* "snps,dw-hdmi-tx" | ||
* "fsl,imx6q-hdmi" | ||
* "fsl,imx6dl-hdmi" | ||
* "rockchip,rk3288-dw-hdmi" | ||
- reg: Physical base address and length of the controller's registers. | ||
- interrupts: The HDMI interrupt number | ||
- clocks, clock-names : must have the phandles to the HDMI iahb and isfr clocks, | ||
as described in Documentation/devicetree/bindings/clock/clock-bindings.txt, | ||
the clocks are soc specific, the clock-names should be "iahb", "isfr" | ||
-port@[X]: SoC specific port nodes with endpoint definitions as defined | ||
in Documentation/devicetree/bindings/media/video-interfaces.txt, | ||
please refer to the SoC specific binding document: | ||
* Documentation/devicetree/bindings/display/imx/hdmi.txt | ||
* Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | ||
|
||
Optional properties | ||
- reg-io-width: the width of the reg:1,4, default set to 1 if not present | ||
- ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing, | ||
if the property is omitted, a functionally reduced I2C bus | ||
controller on DW HDMI is probed | ||
- clocks, clock-names: phandle to the HDMI CEC clock, name should be "cec" | ||
|
||
Example: | ||
hdmi: hdmi@0120000 { | ||
compatible = "fsl,imx6q-hdmi"; | ||
reg = <0x00120000 0x9000>; | ||
interrupts = <0 115 0x04>; | ||
gpr = <&gpr>; | ||
clocks = <&clks 123>, <&clks 124>; | ||
clock-names = "iahb", "isfr"; | ||
ddc-i2c-bus = <&i2c2>; | ||
|
||
port@0 { | ||
reg = <0>; | ||
|
||
hdmi_mux_0: endpoint { | ||
remote-endpoint = <&ipu1_di0_hdmi>; | ||
}; | ||
}; | ||
|
||
port@1 { | ||
reg = <1>; | ||
|
||
hdmi_mux_1: endpoint { | ||
remote-endpoint = <&ipu1_di1_hdmi>; | ||
}; | ||
}; | ||
}; | ||
Synopsys DesignWare HDMI TX Encoder | ||
=================================== | ||
|
||
This document defines device tree properties for the Synopsys DesignWare HDMI | ||
TX Encoder (DWC HDMI TX). It doesn't constitue a device tree binding | ||
specification by itself but is meant to be referenced by platform-specific | ||
device tree bindings. | ||
|
||
When referenced from platform device tree bindings the properties defined in | ||
this document are defined as follows. The platform device tree bindings are | ||
responsible for defining whether each property is required or optional. | ||
|
||
- reg: Memory mapped base address and length of the DWC HDMI TX registers. | ||
|
||
- reg-io-width: Width of the registers specified by the reg property. The | ||
value is expressed in bytes and must be equal to 1 or 4 if specified. The | ||
register width defaults to 1 if the property is not present. | ||
|
||
- interrupts: Reference to the DWC HDMI TX interrupt. | ||
|
||
- clocks: References to all the clocks specified in the clock-names property | ||
as specified in Documentation/devicetree/bindings/clock/clock-bindings.txt. | ||
|
||
- clock-names: The DWC HDMI TX uses the following clocks. | ||
|
||
- "iahb" is the bus clock for either AHB and APB (mandatory). | ||
- "isfr" is the internal register configuration clock (mandatory). | ||
- "cec" is the HDMI CEC controller main clock (optional). | ||
|
||
- ports: The connectivity of the DWC HDMI TX with the rest of the system is | ||
expressed in using ports as specified in the device graph bindings defined | ||
in Documentation/devicetree/bindings/graph.txt. The numbering of the ports | ||
is platform-specific. |
46 changes: 46 additions & 0 deletions
46
Documentation/devicetree/bindings/display/bridge/ti,ths8135.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
THS8135 Video DAC | ||
----------------- | ||
|
||
This is the binding for Texas Instruments THS8135 Video DAC bridge. | ||
|
||
Required properties: | ||
|
||
- compatible: Must be "ti,ths8135" | ||
|
||
Required nodes: | ||
|
||
This device has two video ports. Their connections are modelled using the OF | ||
graph bindings specified in Documentation/devicetree/bindings/graph.txt. | ||
|
||
- Video port 0 for RGB input | ||
- Video port 1 for VGA output | ||
|
||
Example | ||
------- | ||
|
||
vga-bridge { | ||
compatible = "ti,ths8135"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@0 { | ||
reg = <0>; | ||
|
||
vga_bridge_in: endpoint { | ||
remote-endpoint = <&lcdc_out_vga>; | ||
}; | ||
}; | ||
|
||
port@1 { | ||
reg = <1>; | ||
|
||
vga_bridge_out: endpoint { | ||
remote-endpoint = <&vga_con_in>; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,38 @@ | ||
Qualcomm adreno/snapdragon GPU | ||
|
||
Required properties: | ||
- compatible: "qcom,adreno-3xx" | ||
- compatible: "qcom,adreno-XYZ.W", "qcom,adreno" | ||
for example: "qcom,adreno-306.0", "qcom,adreno" | ||
Note that you need to list the less specific "qcom,adreno" (since this | ||
is what the device is matched on), in addition to the more specific | ||
with the chip-id. | ||
- reg: Physical base address and length of the controller's registers. | ||
- interrupts: The interrupt signal from the gpu. | ||
- clocks: device clocks | ||
See ../clocks/clock-bindings.txt for details. | ||
- clock-names: the following clocks are required: | ||
* "core_clk" | ||
* "iface_clk" | ||
* "mem_iface_clk" | ||
- qcom,chipid: gpu chip-id. Note this may become optional for future | ||
devices if we can reliably read the chipid from hw | ||
- qcom,gpu-pwrlevels: list of operating points | ||
- compatible: "qcom,gpu-pwrlevels" | ||
- for each qcom,gpu-pwrlevel: | ||
- qcom,gpu-freq: requested gpu clock speed | ||
- NOTE: downstream android driver defines additional parameters to | ||
configure memory bandwidth scaling per OPP. | ||
* "core" | ||
* "iface" | ||
* "mem_iface" | ||
|
||
Example: | ||
|
||
/ { | ||
... | ||
|
||
gpu: qcom,kgsl-3d0@4300000 { | ||
compatible = "qcom,adreno-3xx"; | ||
compatible = "qcom,adreno-320.2", "qcom,adreno"; | ||
reg = <0x04300000 0x20000>; | ||
reg-names = "kgsl_3d0_reg_memory"; | ||
interrupts = <GIC_SPI 80 0>; | ||
interrupt-names = "kgsl_3d0_irq"; | ||
clock-names = | ||
"core_clk", | ||
"iface_clk", | ||
"mem_iface_clk"; | ||
"core", | ||
"iface", | ||
"mem_iface"; | ||
clocks = | ||
<&mmcc GFX3D_CLK>, | ||
<&mmcc GFX3D_AHB_CLK>, | ||
<&mmcc MMSS_IMEM_AHB_CLK>; | ||
qcom,chipid = <0x03020100>; | ||
qcom,gpu-pwrlevels { | ||
compatible = "qcom,gpu-pwrlevels"; | ||
qcom,gpu-pwrlevel@0 { | ||
qcom,gpu-freq = <450000000>; | ||
}; | ||
qcom,gpu-pwrlevel@1 { | ||
qcom,gpu-freq = <27000000>; | ||
}; | ||
}; | ||
}; | ||
}; |
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Multi-Inno MI0283QT display panel | ||
|
||
Required properties: | ||
- compatible: "multi-inno,mi0283qt". | ||
|
||
The node for this driver must be a child node of a SPI controller, hence | ||
all mandatory properties described in ../spi/spi-bus.txt must be specified. | ||
|
||
Optional properties: | ||
- dc-gpios: D/C pin. The presence/absence of this GPIO determines | ||
the panel interface mode (IM[3:0] pins): | ||
- present: IM=x110 4-wire 8-bit data serial interface | ||
- absent: IM=x101 3-wire 9-bit data serial interface | ||
- reset-gpios: Reset pin | ||
- power-supply: A regulator node for the supply voltage. | ||
- backlight: phandle of the backlight device attached to the panel | ||
- rotation: panel rotation in degrees counter clockwise (0,90,180,270) | ||
|
||
Example: | ||
mi0283qt@0{ | ||
compatible = "multi-inno,mi0283qt"; | ||
reg = <0>; | ||
spi-max-frequency = <32000000>; | ||
rotation = <90>; | ||
dc-gpios = <&gpio 25 0>; | ||
backlight = <&backlight>; | ||
}; |
7 changes: 7 additions & 0 deletions
7
Documentation/devicetree/bindings/display/panel/boe,nv101wxmn51.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BOE OPTOELECTRONICS TECHNOLOGY 10.1" WXGA TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "boe,nv101wxmn51" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
7 changes: 7 additions & 0 deletions
7
Documentation/devicetree/bindings/display/panel/netron-dy,e231732.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Netron-DY E231732 7.0" WSVGA TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "netron-dy,e231732" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Common display properties | ||
------------------------- | ||
|
||
- rotation: Display rotation in degrees counter clockwise (0,90,180,270) |
7 changes: 7 additions & 0 deletions
7
Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "tianma,tm070jdhg30" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
Oops, something went wrong.