Re: [Intel-gfx] [PATCH 06/13] drm/i915: Retrieve the current mode upon KMS takeover

2013-03-26 Thread Jesse Barnes
On Wed, 27 Mar 2013 00:52:47 +0100 Daniel Vetter wrote: > On Tue, Mar 26, 2013 at 04:24:48PM -0700, Jesse Barnes wrote: > > On Wed, 20 Mar 2013 14:36:25 +0200 > > Imre Deak wrote: > > > > > > + pipe = -1; > > > > > > > > if (encoder->get_hw_state(encoder, &pipe))

Re: [Intel-gfx] [PATCH 06/13] drm/i915: Retrieve the current mode upon KMS takeover

2013-03-26 Thread Daniel Vetter
On Tue, Mar 26, 2013 at 04:24:48PM -0700, Jesse Barnes wrote: > On Wed, 20 Mar 2013 14:36:25 +0200 > Imre Deak wrote: > > > > + pipe = -1; > > > > > > if (encoder->get_hw_state(encoder, &pipe)) { > > > - encoder->base.crtc = > > > - dev_

Re: [Intel-gfx] [PATCH 06/13] drm/i915: Retrieve the current mode upon KMS takeover

2013-03-26 Thread Jesse Barnes
On Wed, 20 Mar 2013 14:36:25 +0200 Imre Deak wrote: > > + pipe = -1; > > > > if (encoder->get_hw_state(encoder, &pipe)) { > > - encoder->base.crtc = > > - dev_priv->pipe_to_crtc_mapping[pipe]; > > - } else { > > +

Re: [Intel-gfx] [PATCH 06/13] drm/i915: Retrieve the current mode upon KMS takeover

2013-03-20 Thread Imre Deak
On Tue, 2013-02-19 at 13:31 -0800, Jesse Barnes wrote: > From: Chris Wilson > > Read the current hardware state to retrieve the active mode and populate > our CRTC config if that mode matches our presumptions. > > Signed-off-by: Chris Wilson > --- > drivers/gpu/drm/i915/i915_drv.h |2

[Intel-gfx] [PATCH 06/13] drm/i915: Retrieve the current mode upon KMS takeover

2013-02-19 Thread Jesse Barnes
From: Chris Wilson Read the current hardware state to retrieve the active mode and populate our CRTC config if that mode matches our presumptions. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h |2 + drivers/gpu/drm/i915/intel_crt.c | 27 +++- drivers/gpu/dr