Re: [Intel-gfx] [PATCH] drm/i915: Hook the force-restore into the highlevel modeset

2013-06-07 Thread Chris Wilson
On Fri, Jun 07, 2013 at 09:32:33PM +0200, Daniel Vetter wrote: > On Fri, Jun 7, 2013 at 9:14 PM, Chris Wilson wrote: > > On Fri, Jun 07, 2013 at 09:10:23PM +0200, Daniel Vetter wrote: > >> On Fri, Jun 07, 2013 at 01:47:41PM +0100, Chris Wilson wrote: > >> > + if (intel_crtc_set_c

Re: [Intel-gfx] [PATCH] drm/i915: Hook the force-restore into the highlevel modeset

2013-06-07 Thread Daniel Vetter
On Fri, Jun 7, 2013 at 9:14 PM, Chris Wilson wrote: > On Fri, Jun 07, 2013 at 09:10:23PM +0200, Daniel Vetter wrote: >> On Fri, Jun 07, 2013 at 01:47:41PM +0100, Chris Wilson wrote: >> > + if (intel_crtc_set_config(&set)) >> > + __intel_set_mode(crtc, &c

Re: [Intel-gfx] [PATCH] drm/i915: Hook the force-restore into the highlevel modeset

2013-06-07 Thread Chris Wilson
On Fri, Jun 07, 2013 at 09:10:23PM +0200, Daniel Vetter wrote: > On Fri, Jun 07, 2013 at 01:47:41PM +0100, Chris Wilson wrote: > > + if (intel_crtc_set_config(&set)) > > + __intel_set_mode(crtc, &crtc->mode, > > +

Re: [Intel-gfx] [PATCH] drm/i915: Hook the force-restore into the highlevel modeset

2013-06-07 Thread Daniel Vetter
On Fri, Jun 07, 2013 at 01:47:41PM +0100, Chris Wilson wrote: > On random machines, the BIOS changes the hardware state of the display > when it detects a lid event. In return, we have to then do a forced > restore of the users requested configuration as soon as we handle the > lid event. Currently

Re: [Intel-gfx] [PATCH] drm/i915: Hook the force-restore into the highlevel modeset

2013-06-07 Thread Daniel Vetter
On Fri, Jun 7, 2013 at 2:47 PM, Chris Wilson wrote: > On random machines, the BIOS changes the hardware state of the display > when it detects a lid event. In return, we have to then do a forced > restore of the users requested configuration as soon as we handle the > lid event. Currently, this is

[Intel-gfx] [PATCH] drm/i915: Hook the force-restore into the highlevel modeset

2013-06-07 Thread Chris Wilson
On random machines, the BIOS changes the hardware state of the display when it detects a lid event. In return, we have to then do a forced restore of the users requested configuration as soon as we handle the lid event. Currently, this is done by calling the lowlevel CRTC configuration functions di