forked from torvalds/linux
-
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.10' of git://people.freedesktop.org/~airlied/linux
Pull drm updates from Dave Airlie: "This is the main pull request for drm for 4.10 kernel. New drivers: - ZTE VOU display driver (zxdrm) - Amlogic Meson Graphic Controller GXBB/GXL/GXM SoCs (meson) - MXSFB support (mxsfb) Core: - Format handling has been reworked - Better atomic state debugging - drm_mm leak debugging - Atomic explicit fencing support - fbdev helper ops - Documentation updates - MST fbcon fixes Bridge: - Silicon Image SiI8620 driver Panel: - Add support for new simple panels i915: - GVT Device model - Better HDMI2.0 support on skylake - More watermark fixes - GPU idling rework for suspend/resume - DP Audio workarounds - Scheduler prep-work - Opregion CADL handling - GPU scheduler and priority boosting amdgfx/radeon: - Support for virtual devices - New VM manager for non-contig VRAM buffers - UVD powergating - SI register header cleanup - Cursor fixes - Powermanagement fixes nouveau: - Powermangement reworks for better voltage/clock changes - Atomic modesetting support - Displayport Multistream (MST) support. - GP102/104 hang and cursor fixes - GP106 support hisilicon: - hibmc support (BMC chip for aarch64 servers) armada: - add tracing support for overlay change - refactor plane support - de-midlayer the driver omapdrm: - Timing code cleanups rcar-du: - R8A7792/R8A7796 support - Misc fixes. sunxi: - A31 SoC display engine support imx-drm: - YUV format support - Cleanup plane atomic update mali-dp: - Misc fixes dw-hdmi: - Add support for HDMI i2c master controller tegra: - IOMMU support fixes - Error handling fixes tda998x: - Fix connector registration - Improved robustness - Fix infoframe/audio compliance virtio: - fix busid issues - allocate more vbufs qxl: - misc fixes and cleanups. vc4: - Fragment shader threading - ETC1 support - VEC (tv-out) support msm: - A5XX GPU support - Lots of atomic changes tilcdc: - Misc fixes and cleanups. etnaviv: - Fix dma-buf export path - DRAW_INSTANCED support - fix driver on i.MX6SX exynos: - HDMI refactoring fsl-dcu: - fbdev changes" * tag 'drm-for-v4.10' of git://people.freedesktop.org/~airlied/linux: (1343 commits) drm/nouveau/kms/nv50: fix atomic regression on original G80 drm/nouveau/bl: Do not register interface if Apple GMUX detected drm/nouveau/bl: Assign different names to interfaces drm/nouveau/bios/dp: fix handling of LevelEntryTableIndex on DP table 4.2 drm/nouveau/ltc: protect clearing of comptags with mutex drm/nouveau/gr/gf100-: handle GPC/TPC/MPC trap drm/nouveau/core: recognise GP106 chipset drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas drm/nouveau/gr/gf100-: FECS intr handling is not relevant on proprietary ucode drm/nouveau/gr/gf100-: properly ack all FECS error interrupts drm/nouveau/fifo/gf100-: recover from host mmu faults drm: Add fake controlD* symlinks for backwards compat drm/vc4: Don't use drm_put_dev drm/vc4: Document VEC DT binding drm/vc4: Add support for the VEC (Video Encoder) IP drm: Add TV connector states to drm_connector_state drm: Turn DRM_MODE_SUBCONNECTOR_xx definitions into an enum drm/vc4: Fix ->clock_select setting for the VEC encoder drm/amdgpu/dce6: Set MASTER_UPDATE_MODE to 0 in resume_mc_access as well drm/amdgpu: use pin rather than pin_restricted in a few cases ...
- Loading branch information
Showing
1,010 changed files
with
129,418 additions
and
27,360 deletions.
There are no files selected for viewing
112 changes: 112 additions & 0 deletions
112
Documentation/devicetree/bindings/display/amlogic,meson-vpu.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,112 @@ | ||
Amlogic Meson Display Controller | ||
================================ | ||
|
||
The Amlogic Meson Display controller is composed of several components | ||
that are going to be documented below: | ||
|
||
DMC|---------------VPU (Video Processing Unit)----------------|------HHI------| | ||
| vd1 _______ _____________ _________________ | | | ||
D |-------| |----| | | | | HDMI PLL | | ||
D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK | | ||
R |-------| |----| Processing | | | | | | ||
| osd2 | | | |---| Enci ----------|----|-----VDAC------| | ||
R |-------| CSC |----| Scalers | | Encp ----------|----|----HDMI-TX----| | ||
A | osd1 | | | Blenders | | Encl ----------|----|---------------| | ||
M |-------|______|----|____________| |________________| | | | ||
___|__________________________________________________________|_______________| | ||
|
||
|
||
VIU: Video Input Unit | ||
--------------------- | ||
|
||
The Video Input Unit is in charge of the pixel scanout from the DDR memory. | ||
It fetches the frames addresses, stride and parameters from the "Canvas" memory. | ||
This part is also in charge of the CSC (Colorspace Conversion). | ||
It can handle 2 OSD Planes and 2 Video Planes. | ||
|
||
VPP: Video Post Processing | ||
-------------------------- | ||
|
||
The Video Post Processing is in charge of the scaling and blending of the | ||
various planes into a single pixel stream. | ||
There is a special "pre-blending" used by the video planes with a dedicated | ||
scaler and a "post-blending" to merge with the OSD Planes. | ||
The OSD planes also have a dedicated scaler for one of the OSD. | ||
|
||
VENC: Video Encoders | ||
-------------------- | ||
|
||
The VENC is composed of the multiple pixel encoders : | ||
- ENCI : Interlace Video encoder for CVBS and Interlace HDMI | ||
- ENCP : Progressive Video Encoder for HDMI | ||
- ENCL : LCD LVDS Encoder | ||
The VENC Unit gets a Pixel Clocks (VCLK) from a dedicated HDMI PLL and clock | ||
tree and provides the scanout clock to the VPP and VIU. | ||
The ENCI is connected to a single VDAC for Composite Output. | ||
The ENCI and ENCP are connected to an on-chip HDMI Transceiver. | ||
|
||
Device Tree Bindings: | ||
--------------------- | ||
|
||
VPU: Video Processing Unit | ||
-------------------------- | ||
|
||
Required properties: | ||
- compatible: value should be different for each SoC family as : | ||
- GXBB (S905) : "amlogic,meson-gxbb-vpu" | ||
- GXL (S905X, S905D) : "amlogic,meson-gxl-vpu" | ||
- GXM (S912) : "amlogic,meson-gxm-vpu" | ||
followed by the common "amlogic,meson-gx-vpu" | ||
- reg: base address and size of he following memory-mapped regions : | ||
- vpu | ||
- hhi | ||
- dmc | ||
- reg-names: should contain the names of the previous memory regions | ||
- interrupts: should contain the VENC Vsync interrupt number | ||
|
||
Required nodes: | ||
|
||
The connections to the VPU output video ports are modeled using the OF graph | ||
bindings specified in Documentation/devicetree/bindings/graph.txt. | ||
|
||
The following table lists for each supported model the port number | ||
corresponding to each VPU output. | ||
|
||
Port 0 Port 1 | ||
----------------------------------------- | ||
S905 (GXBB) CVBS VDAC HDMI-TX | ||
S905X (GXL) CVBS VDAC HDMI-TX | ||
S905D (GXL) CVBS VDAC HDMI-TX | ||
S912 (GXM) CVBS VDAC HDMI-TX | ||
|
||
Example: | ||
|
||
tv-connector { | ||
compatible = "composite-video-connector"; | ||
|
||
port { | ||
tv_connector_in: endpoint { | ||
remote-endpoint = <&cvbs_vdac_out>; | ||
}; | ||
}; | ||
}; | ||
|
||
vpu: vpu@d0100000 { | ||
compatible = "amlogic,meson-gxbb-vpu"; | ||
reg = <0x0 0xd0100000 0x0 0x100000>, | ||
<0x0 0xc883c000 0x0 0x1000>, | ||
<0x0 0xc8838000 0x0 0x1000>; | ||
reg-names = "vpu", "hhi", "dmc"; | ||
interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
/* CVBS VDAC output port */ | ||
port@0 { | ||
reg = <0>; | ||
|
||
cvbs_vdac_out: endpoint { | ||
remote-endpoint = <&tv_connector_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
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
7 changes: 7 additions & 0 deletions
7
Documentation/devicetree/bindings/display/panel/auo,g133han01.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 @@ | ||
AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "auo,g133han01" | ||
|
||
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/auo,g185han01.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 @@ | ||
AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "auo,g185han01" | ||
|
||
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/auo,t215hvn01.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 @@ | ||
AU Optronics Corporation 21.5" FHD (1920x1080) color TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "auo,t215hvn01" | ||
|
||
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/chunghwa,claa070wp03xg.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 @@ | ||
Chunghwa Picture Tubes Ltd. 7" WXGA TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "chunghwa,claa070wp03xg" | ||
|
||
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
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 @@ | ||
New Vision Display 7.0" 800 RGB x 480 TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "nvd,9128" | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. |
36 changes: 36 additions & 0 deletions
36
Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.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,36 @@ | ||
Sharp 15" LQ150X1LG11 XGA TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "sharp,lq150x1lg11" | ||
- power-supply: regulator to provide the VCC supply voltage (3.3 volts) | ||
|
||
Optional properties: | ||
- backlight: phandle of the backlight device | ||
- rlud-gpios: a single GPIO for the RL/UD (rotate 180 degrees) pin. | ||
- sellvds-gpios: a single GPIO for the SELLVDS pin. | ||
|
||
If rlud-gpios and/or sellvds-gpios are not specified, the RL/UD and/or SELLVDS | ||
pins are assumed to be handled appropriately by the hardware. | ||
|
||
Example: | ||
|
||
backlight: backlight { | ||
compatible = "pwm-backlight"; | ||
pwms = <&pwm 0 100000>; /* VBR */ | ||
|
||
brightness-levels = <0 20 40 60 80 100>; | ||
default-brightness-level = <2>; | ||
|
||
power-supply = <&vdd_12v_reg>; /* VDD */ | ||
enable-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; /* XSTABY */ | ||
}; | ||
|
||
panel { | ||
compatible = "sharp,lq150x1lg11"; | ||
|
||
power-supply = <&vcc_3v3_reg>; /* VCC */ | ||
|
||
backlight = <&backlight>; | ||
rlud-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; /* RL/UD */ | ||
sellvds-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; /* SELLVDS */ | ||
}; |
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
Oops, something went wrong.