[Intel-gfx] [PATCH] drm/mst: use kref_get_unless_zero for looking up mst branch device

2014-11-09 Thread Dave Airlie
From: Dave Airlie The backtrace below shows that while we tear down a branch device, when we remove the connector, we can attempt to disable MST on the port we are tearing down, since the port is going away, there it has a refcount of 0 already, so the validated ref lookup is trying to kref_get a

Re: [Intel-gfx] [PATCH 4/6] drm/connector: store tile information from displayid (v2)

2014-11-09 Thread Dave Airlie
> + bool is_edid_extension) > +{ > + /* if this is an EDID extension the first byte will be 0x70 */ > + int idx = 0; > + struct displayid_hdr *base; > + struct displayid_block *block; > + u8 csum = 0; > + int i; > + > + if (is_

[Intel-gfx] [PATCH 2/6] drm: add tile_group support. (v3)

2014-11-09 Thread Dave Airlie
From: Dave Airlie A tile group is an identifier shared by a single monitor, DisplayID topology has 8 bytes we can use for this, just use those for now until something else comes up in the future. We assign these to an idr and use the idr to tell userspace what connectors are in the same tile grou

[Intel-gfx] [PATCH 6/6] drm/fb: add support for tiled monitor configurations.

2014-11-09 Thread Dave Airlie
From: Dave Airlie This adds fbdev/con support for tiled monitors, so that we only set a mode on the correct half of the monitor, or span the two halves if needed. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_fb_helper.c| 122 +++-- drivers/gpu/drm/i915

[Intel-gfx] [PATCH 3/6] drm/mst: cached EDID for logical ports (v2)

2014-11-09 Thread Dave Airlie
From: Dave Airlie Logical ports are never going to have EDID changes, they are used for the internal ports on MST monitors. We cache the EDIDs from these to save time at MST probe. v2: drop misplace tile property line, meant for other patch. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm

[Intel-gfx] [PATCH 1/6] drm/displayid: add displayid defines and edid extension (v2)

2014-11-09 Thread Dave Airlie
From: Dave Airlie These are just taken from the DisplayID v1.3 spec, and the DDC spec. v2: use __packed (Jani) Signed-off-by: Dave Airlie --- include/drm/drm_displayid.h | 76 + include/drm/drm_edid.h | 2 ++ 2 files changed, 78 insertions(+)

[Intel-gfx] tile group second round

2014-11-09 Thread Dave Airlie
These are a repost of the tile group patches, with some r-b's added, and few things fixed. One line in patch 3 moved to its correct home in patch 5 so things make more sense. Dave. ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists

[Intel-gfx] [PATCH 4/6] drm/connector: store tile information from displayid (v2)

2014-11-09 Thread Dave Airlie
From: Dave Airlie This creates a tile group from DisplayID block, and stores the pieces of parsed info from the DisplayID block into the connector. v2: add missing signoff, add new connector bits to docs. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 5 ++ drivers/gpu/drm/drm_

[Intel-gfx] [PATCH 5/6] drm/tile: expose the tile property to userspace (v3)

2014-11-09 Thread Dave Airlie
From: Dave Airlie This takes the tiling info from the connector and exposes it to userspace, as a blob object in a connector property. The contents of the blob is ABI. v2: add property + function documentation. v3: move property setup from previous patch. add boilerplate + fix long line (Danie

Re: [Intel-gfx] [PATCH 3/6] drm/mst: cached EDID for logical ports

2014-11-09 Thread Dave Airlie
On 22 October 2014 19:06, Daniel Vetter wrote: > On Wed, Oct 22, 2014 at 12:32:04PM +1000, Dave Airlie wrote: >> From: Dave Airlie >> >> Logical ports are never going to have EDID changes, >> they are used for the internal ports on MST monitors. >> >> We cache the EDIDs from these to save time at

Re: [Intel-gfx] Trying to enable ZaphodHeads, "no screens found"

2014-11-09 Thread Nate Bargmann
* On 2014 09 Nov 14:03 -0600, Chris Wilson wrote: > You do need to use SNA to enable ZaphodHeads support, and to be sure > grab xserver-xorg-video-intel from experimental. Thanks, Chris. That works a charm! and gets me exactly where I want to go with my Xorg setup. - Nate -- "The optimist pro

Re: [Intel-gfx] Trying to enable ZaphodHeads, "no screens found"

2014-11-09 Thread Chris Wilson
On Sun, Nov 09, 2014 at 12:43:07PM -0600, Nate Bargmann wrote: > I hope this isn't an FAQ. > > I am trying to configure a newly acquired Lenovo ThinkCentre M73 which > has the onboard Intel HD4600 video controller with DisplayPort and VGA > outputs. Each output works independently and in combinat

[Intel-gfx] Trying to enable ZaphodHeads, "no screens found"

2014-11-09 Thread Nate Bargmann
I hope this isn't an FAQ. I am trying to configure a newly acquired Lenovo ThinkCentre M73 which has the onboard Intel HD4600 video controller with DisplayPort and VGA outputs. Each output works independently and in combination as an extended desktop via RandR. However, on the box this one will

[Intel-gfx] [PULL] topic/atomic-helpers

2014-11-09 Thread Daniel Vetter
Hi Dave, So here's my atomic series, finally all debugged&reviewed. Sean Paul has done a full detailed pass over it all, and a lot of other people have commented and provided feedback on some parts. Rob Clark also converted msm over the w/e and seems happy. The only small thing is that Rob wants t