Skip to content

Commit 682b7c1

Browse files
committed
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull drm updates from Dave Airlie: "This is the main drm merge window pull request, changes all over the place, mostly normal levels of churn. Highlights: Core drm: More cleanups, fix race on connector/encoder naming, docs updates, object locking rework in prep for atomic modeset i915: mipi DSI support, valleyview power fixes, cursor size fixes, execlist refactoring, vblank improvements, userptr support, OOM handling improvements radeon: GPUVM tuning and large page size support, gart fixes, deep color HDMI support, HDMI audio cleanups nouveau: - displayport rework should fix lots of issues - initial gk20a support - gk110b support - gk208 fixes exynos: probe order fixes, HDMI changes, IPP consolidation msm: debugfs updates, misc fixes ast: ast2400 support, sync with UMS driver tegra: cleanups, hdmi + hw cursor for Tegra 124. panel: fixes existing panels add some new ones. ipuv3: moved from staging to drivers/gpu" * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (761 commits) drm/nouveau/disp/dp: fix tmds passthrough on dp connector drm/nouveau/dp: probe dpcd to determine connectedness drm/nv50-: trigger update after all connectors disabled drm/nv50-: prepare for attaching a SOR to multiple heads drm/gf119-/disp: fix debug output on update failure drm/nouveau/disp/dp: make use of postcursor when its available drm/g94-/disp/dp: take max pullup value across all lanes drm/nouveau/bios/dp: parse lane postcursor data drm/nouveau/dp: fix support for dpms drm/nouveau: register a drm_dp_aux channel for each dp connector drm/g94-/disp: add method to power-off dp lanes drm/nouveau/disp/dp: maintain link in response to hpd signal drm/g94-/disp: bash and wait for something after changing lane power regs drm/nouveau/disp/dp: split link config/power into two steps drm/nv50/disp: train PIOR-attached DP from second supervisor drm/nouveau/disp/dp: make use of existing output data for link training drm/gf119/disp: start removing direct vbios parsing from supervisor drm/nv50/disp: start removing direct vbios parsing from supervisor drm/nouveau/disp/dp: maintain receiver caps in response to hpd signal drm/nouveau/disp/dp: create subclass for dp outputs ...
2 parents 16b9057 + bc1dfff commit 682b7c1

447 files changed

Lines changed: 24815 additions & 9570 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: 1008 additions & 19 deletions
Large diffs are not rendered by default.

‎Documentation/EDID/1024x768.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define DPI 72
3737
#define VFREQ 60 /* Hz */
3838
#define TIMING_NAME "Linux XGA"
39-
#define ESTABLISHED_TIMINGS_BITS 0x08 /* Bit 3 -> 1024x768 @60 Hz */
39+
#define ESTABLISHED_TIMING2_BITS 0x08 /* Bit 3 -> 1024x768 @60 Hz */
4040
#define HSYNC_POL 0
4141
#define VSYNC_POL 0
4242
#define CRC 0x55

‎Documentation/EDID/1280x1024.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define DPI 72
3737
#define VFREQ 60 /* Hz */
3838
#define TIMING_NAME "Linux SXGA"
39-
#define ESTABLISHED_TIMINGS_BITS 0x00 /* none */
39+
/* No ESTABLISHED_TIMINGx_BITS */
4040
#define HSYNC_POL 1
4141
#define VSYNC_POL 1
4242
#define CRC 0xa0

‎Documentation/EDID/1600x1200.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define DPI 72
3737
#define VFREQ 60 /* Hz */
3838
#define TIMING_NAME "Linux UXGA"
39-
#define ESTABLISHED_TIMINGS_BITS 0x00 /* none */
39+
/* No ESTABLISHED_TIMINGx_BITS */
4040
#define HSYNC_POL 1
4141
#define VSYNC_POL 1
4242
#define CRC 0x9d

‎Documentation/EDID/1680x1050.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define DPI 96
3737
#define VFREQ 60 /* Hz */
3838
#define TIMING_NAME "Linux WSXGA"
39-
#define ESTABLISHED_TIMINGS_BITS 0x00 /* none */
39+
/* No ESTABLISHED_TIMINGx_BITS */
4040
#define HSYNC_POL 1
4141
#define VSYNC_POL 1
4242
#define CRC 0x26

‎Documentation/EDID/1920x1080.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define DPI 96
3737
#define VFREQ 60 /* Hz */
3838
#define TIMING_NAME "Linux FHD"
39-
#define ESTABLISHED_TIMINGS_BITS 0x00 /* none */
39+
/* No ESTABLISHED_TIMINGx_BITS */
4040
#define HSYNC_POL 1
4141
#define VSYNC_POL 1
4242
#define CRC 0x05

‎Documentation/EDID/800x600.S‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
800x600.S: EDID data set for standard 800x600 60 Hz monitor
3+
4+
Copyright (C) 2011 Carsten Emde <C.Emde@osadl.org>
5+
Copyright (C) 2014 Linaro Limited
6+
7+
This program is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU General Public License
9+
as published by the Free Software Foundation; either version 2
10+
of the License, or (at your option) any later version.
11+
12+
This program is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
*/
17+
18+
/* EDID */
19+
#define VERSION 1
20+
#define REVISION 3
21+
22+
/* Display */
23+
#define CLOCK 40000 /* kHz */
24+
#define XPIX 800
25+
#define YPIX 600
26+
#define XY_RATIO XY_RATIO_4_3
27+
#define XBLANK 256
28+
#define YBLANK 28
29+
#define XOFFSET 40
30+
#define XPULSE 128
31+
#define YOFFSET (63+1)
32+
#define YPULSE (63+4)
33+
#define DPI 72
34+
#define VFREQ 60 /* Hz */
35+
#define TIMING_NAME "Linux SVGA"
36+
#define ESTABLISHED_TIMING1_BITS 0x01 /* Bit 0: 800x600 @ 60Hz */
37+
#define HSYNC_POL 1
38+
#define VSYNC_POL 1
39+
#define CRC 0xc2
40+
41+
#include "edid.S"

‎Documentation/EDID/HOWTO.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_DRM_LOAD_EDID_FIRMWARE was introduced. It allows to provide an
1818
individually prepared or corrected EDID data set in the /lib/firmware
1919
directory from where it is loaded via the firmware interface. The code
2020
(see drivers/gpu/drm/drm_edid_load.c) contains built-in data sets for
21-
commonly used screen resolutions (1024x768, 1280x1024, 1600x1200,
21+
commonly used screen resolutions (800x600, 1024x768, 1280x1024, 1600x1200,
2222
1680x1050, 1920x1080) as binary blobs, but the kernel source tree does
2323
not contain code to create these data. In order to elucidate the origin
2424
of the built-in binary EDID blobs and to facilitate the creation of

‎Documentation/EDID/edid.S‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
#define XY_RATIO_5_4 0b10
3434
#define XY_RATIO_16_9 0b11
3535

36+
/* Provide defaults for the timing bits */
37+
#ifndef ESTABLISHED_TIMING1_BITS
38+
#define ESTABLISHED_TIMING1_BITS 0x00
39+
#endif
40+
#ifndef ESTABLISHED_TIMING2_BITS
41+
#define ESTABLISHED_TIMING2_BITS 0x00
42+
#endif
43+
#ifndef ESTABLISHED_TIMING3_BITS
44+
#define ESTABLISHED_TIMING3_BITS 0x00
45+
#endif
46+
3647
#define mfgname2id(v1,v2,v3) \
3748
((((v1-'@')&0x1f)<<10)+(((v2-'@')&0x1f)<<5)+((v3-'@')&0x1f))
3849
#define swap16(v1) ((v1>>8)+((v1&0xff)<<8))
@@ -139,7 +150,7 @@ white_x_y_msb: .byte 0x50,0x54
139150
Bit 2 640x480 @ 75 Hz
140151
Bit 1 800x600 @ 56 Hz
141152
Bit 0 800x600 @ 60 Hz */
142-
estbl_timing1: .byte 0x00
153+
estbl_timing1: .byte ESTABLISHED_TIMING1_BITS
143154

144155
/* Bit 7 800x600 @ 72 Hz
145156
Bit 6 800x600 @ 75 Hz
@@ -149,11 +160,11 @@ estbl_timing1: .byte 0x00
149160
Bit 2 1024x768 @ 72 Hz
150161
Bit 1 1024x768 @ 75 Hz
151162
Bit 0 1280x1024 @ 75 Hz */
152-
estbl_timing2: .byte ESTABLISHED_TIMINGS_BITS
163+
estbl_timing2: .byte ESTABLISHED_TIMING2_BITS
153164

154165
/* Bit 7 1152x870 @ 75 Hz (Apple Macintosh II)
155166
Bits 6-0 Other manufacturer-specific display mod */
156-
estbl_timing3: .byte 0x00
167+
estbl_timing3: .byte ESTABLISHED_TIMING3_BITS
157168

158169
/* Standard timing */
159170
/* X resolution, less 31, divided by 8 (256-2288 pixels) */

‎Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ of the following host1x client modules:
136136
- compatible: "nvidia,tegra<chip>-hdmi"
137137
- reg: Physical base address and length of the controller's registers.
138138
- interrupts: The interrupt outputs from the controller.
139+
- hdmi-supply: supply for the +5V HDMI connector pin
139140
- vdd-supply: regulator for supply voltage
140141
- pll-supply: regulator for PLL
141142
- clocks: Must contain an entry for each entry in clock-names.
@@ -180,6 +181,7 @@ of the following host1x client modules:
180181
See ../reset/reset.txt for details.
181182
- reset-names: Must include the following entries:
182183
- dsi
184+
- avdd-dsi-supply: phandle of a supply that powers the DSI controller
183185
- nvidia,mipi-calibrate: Should contain a phandle and a specifier specifying
184186
which pads are used by this DSI output and need to be calibrated. See also
185187
../mipi/nvidia,tegra114-mipi.txt.

0 commit comments

Comments
 (0)