[RFC] drm + i915 DP MST code preview

2014-05-08 Thread Dave Airlie
On 8 May 2014 17:24, Chris Wilson wrote: > On Thu, May 08, 2014 at 11:56:02AM +1000, Dave Airlie wrote: >> I've pushed a branch of -modesetting to >> >> http://cgit.freedesktop.org/~airlied/xf86-video-modesetting/log/?h=dp-mst > > In parse_path_blob(): > char conn_id[5]; > > len = conn - (blob_dat

[RFC] drm + i915 DP MST code preview

2014-05-08 Thread Dave Airlie
I've pushed a branch of -modesetting to http://cgit.freedesktop.org/~airlied/xf86-video-modesetting/log/?h=dp-mst that in theory supports this then, it uses the same option name the nvidia driver does, and seems to work as well as we can expect. I'll probably port that code to intel, ati and no

[RFC] drm + i915 DP MST code preview

2014-05-08 Thread Dave Airlie
On 7 May 2014 18:07, Daniel Vetter wrote: > On Wed, May 07, 2014 at 12:16:37AM -0700, Aaron Plattner wrote: >> On 05/03/2014 02:00 AM, Chris Wilson wrote: >> >On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: >> >>On 2 May 2014 18:52, Chris Wilson wrote: >> >>>On Fri, May 02, 2014 at 0

[RFC] drm + i915 DP MST code preview

2014-05-08 Thread Chris Wilson
On Thu, May 08, 2014 at 11:56:02AM +1000, Dave Airlie wrote: > I've pushed a branch of -modesetting to > > http://cgit.freedesktop.org/~airlied/xf86-video-modesetting/log/?h=dp-mst In parse_path_blob(): char conn_id[5]; len = conn - (blob_data + 4); if (len + 1> 5) return -1; memcpy(conn_id, bl

[RFC] drm + i915 DP MST code preview

2014-05-07 Thread Dave Airlie
On 7 May 2014 17:16, Aaron Plattner wrote: > On 05/03/2014 02:00 AM, Chris Wilson wrote: >> >> On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: >>> >>> On 2 May 2014 18:52, Chris Wilson wrote: On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: >>> >>> the GUID is o

[RFC] drm + i915 DP MST code preview

2014-05-07 Thread Daniel Vetter
On Wed, May 07, 2014 at 12:16:37AM -0700, Aaron Plattner wrote: > On 05/03/2014 02:00 AM, Chris Wilson wrote: > >On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: > >>On 2 May 2014 18:52, Chris Wilson wrote: > >>>On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: > >>the GUID

[RFC] drm + i915 DP MST code preview

2014-05-07 Thread Aaron Plattner
On 05/07/2014 01:07 AM, Daniel Vetter wrote: > On Wed, May 07, 2014 at 12:16:37AM -0700, Aaron Plattner wrote: >> On 05/03/2014 02:00 AM, Chris Wilson wrote: >>> On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: On 2 May 2014 18:52, Chris Wilson wrote: > On Fri, May 02, 2014 at

[RFC] drm + i915 DP MST code preview

2014-05-07 Thread Aaron Plattner
On 05/07/2014 02:00 AM, Dave Airlie wrote: > On 7 May 2014 17:16, Aaron Plattner wrote: >> On 05/03/2014 02:00 AM, Chris Wilson wrote: >>> >>> On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: On 2 May 2014 18:52, Chris Wilson wrote: > > On Fri, May 02, 2014 at 02:39:

[RFC] drm + i915 DP MST code preview

2014-05-07 Thread Aaron Plattner
On 05/03/2014 02:00 AM, Chris Wilson wrote: > On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: >> On 2 May 2014 18:52, Chris Wilson wrote: >>> On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: >> the GUID is only on DP 1.2 devices, so you don't get one for ever >> port, also

[RFC] drm + i915 DP MST code preview

2014-05-03 Thread Chris Wilson
On Sat, May 03, 2014 at 07:08:02AM +1000, Dave Airlie wrote: > On 2 May 2014 18:52, Chris Wilson wrote: > > On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: > >> Hi, > >> > >> Branch: > >> http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support > >> > >> Okay I've gotte

[RFC] drm + i915 DP MST code preview

2014-05-03 Thread Dave Airlie
On 2 May 2014 18:52, Chris Wilson wrote: > On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: >> Hi, >> >> Branch: >> http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support >> >> Okay I've gotten this to light up some monitors using -modesetting so it >> must be ready fo

[RFC] drm + i915 DP MST code preview

2014-05-02 Thread Dave Airlie
TODO: fix fbcon I forgot to mention no fbcon yet :-) Dave. On 2 May 2014 14:39, Dave Airlie wrote: > Hi, > > Branch: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support > > Okay I've gotten this to light up some monitors using -modesetting so it > must be ready for an initial

[RFC] drm + i915 DP MST code preview

2014-05-02 Thread Dave Airlie
Hi, Branch: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support Okay I've gotten this to light up some monitors using -modesetting so it must be ready for an initial posting, Tested on Haswell so far with Lenovo Ultradock and with Ancell MST Hub devices, (checked it can detect

[RFC] drm + i915 DP MST code preview

2014-05-02 Thread Chris Wilson
On Fri, May 02, 2014 at 02:39:37PM +1000, Dave Airlie wrote: > Hi, > > Branch: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support > > Okay I've gotten this to light up some monitors using -modesetting so it > must be ready for an initial posting, I see that connectors are add