Re: [Intel-gfx] [PATCH] drm/i915: add encoder get_config function v2

2013-05-07 Thread Daniel Vetter
On Tue, May 7, 2013 at 7:59 PM, Daniel Vetter wrote: > On Tue, May 7, 2013 at 7:44 PM, Ville Syrjälä > wrote: >>> +static void intel_sdvo_get_config(struct intel_encoder *encoder, >>> + struct intel_crtc_config *pipe_config) >>> +{ >>> + struct intel_sdvo *intel_

Re: [Intel-gfx] [PATCH] drm/i915: add encoder get_config function v2

2013-05-07 Thread Daniel Vetter
On Tue, May 7, 2013 at 7:44 PM, Ville Syrjälä wrote: >> +static void intel_sdvo_get_config(struct intel_encoder *encoder, >> + struct intel_crtc_config *pipe_config) >> +{ >> + struct intel_sdvo *intel_sdvo = to_intel_sdvo(&encoder->base); >> + struct drm_i915

Re: [Intel-gfx] [PATCH] drm/i915: add encoder get_config function v2

2013-05-07 Thread Ville Syrjälä
On Mon, May 06, 2013 at 09:56:40AM -0700, Jesse Barnes wrote: > We can use this for fetching encoder specific pipe_config state, like > mode flags, adjusted clock, etc. > > Just used for mode flags atm, so we can check the pipe config state at > mode set time. > > v2: get_config when checking hw

[Intel-gfx] [PATCH] drm/i915: add encoder get_config function v2

2013-05-06 Thread Jesse Barnes
We can use this for fetching encoder specific pipe_config state, like mode flags, adjusted clock, etc. Just used for mode flags atm, so we can check the pipe config state at mode set time. v2: get_config when checking hw state too Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_crt.