[PATCH] drm/i915: Fix modeset state confusion in the load detect code

2015-03-03 Thread Daniel Vetter
On Tue, Mar 03, 2015 at 09:12:47AM -0800, Linus Torvalds wrote: > On Tue, Mar 3, 2015 at 9:11 AM, Daniel Vetter wrote: > > > > Fine with me. If you haven't pushed out yet can you maybe clarify the > > commit message? > > Oh well. I already applied and tagged it, so it's what it is.. No biggie, t

[PATCH] drm/i915: Fix modeset state confusion in the load detect code

2015-03-03 Thread Daniel Vetter
On Tue, Mar 03, 2015 at 09:03:32AM -0800, Linus Torvalds wrote: > On Tue, Mar 3, 2015 at 8:31 AM, Daniel Vetter > wrote: > > > > Fix this all by applying the same duct-tape as for the legacy setcrtc > > ioctl code and set crtc->primary->crtc properly. > > Ack. Tests fine on the machine that show

[PATCH] drm/i915: Fix modeset state confusion in the load detect code

2015-03-03 Thread Daniel Vetter
This is a tricky story of the new atomic state handling and the legacy code fighting over each another. The bug at hand is an underrun of the framebuffer reference with subsequent hilarity caused by the load detect code. Which is peculiar since the the exact same code works fine as the implementati

[PATCH] drm/i915: Fix modeset state confusion in the load detect code

2015-03-03 Thread Linus Torvalds
On Tue, Mar 3, 2015 at 9:11 AM, Daniel Vetter wrote: > > Fine with me. If you haven't pushed out yet can you maybe clarify the > commit message? Oh well. I already applied and tagged it, so it's what it is.. Linus

[PATCH] drm/i915: Fix modeset state confusion in the load detect code

2015-03-03 Thread Linus Torvalds
On Tue, Mar 3, 2015 at 8:31 AM, Daniel Vetter wrote: > > Fix this all by applying the same duct-tape as for the legacy setcrtc > ioctl code and set crtc->primary->crtc properly. Ack. Tests fine on the machine that showed issues for me. I'll apply it manually directly to my tree, since I want to