aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2015-01-15 07:55:21 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-27 03:50:48 -0500
commit5cec258b4f185a5011165099a49757516f90de2b (patch)
treef557d2161ec0c200b046ac636ea2b94aec1d2e0a /drivers/gpu/drm/i915/intel_sdvo.c
parent96178eeb37298a9452f0c4b04f47fafedc7bab47 (diff)
drm/i915: Rename struct intel_crtc_config to intel_crtc_state
The objective is to make this structure usable with the atomic helpers, so let's start with the rename. Patch generated with coccinelle: @@ @@ -struct intel_crtc_config { +struct intel_crtc_state { ... } @@ @@ -struct intel_crtc_config +struct intel_crtc_state v2: Completely generate the patch with cocci. (Ander) Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 4e3d362931e9..cced048b6307 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -1085,7 +1085,7 @@ intel_sdvo_get_preferred_input_mode(struct intel_sdvo *intel_sdvo,
1085 return true; 1085 return true;
1086} 1086}
1087 1087
1088static void i9xx_adjust_sdvo_tv_clock(struct intel_crtc_config *pipe_config) 1088static void i9xx_adjust_sdvo_tv_clock(struct intel_crtc_state *pipe_config)
1089{ 1089{
1090 unsigned dotclock = pipe_config->port_clock; 1090 unsigned dotclock = pipe_config->port_clock;
1091 struct dpll *clock = &pipe_config->dpll; 1091 struct dpll *clock = &pipe_config->dpll;
@@ -1112,7 +1112,7 @@ static void i9xx_adjust_sdvo_tv_clock(struct intel_crtc_config *pipe_config)
1112} 1112}
1113 1113
1114static bool intel_sdvo_compute_config(struct intel_encoder *encoder, 1114static bool intel_sdvo_compute_config(struct intel_encoder *encoder,
1115 struct intel_crtc_config *pipe_config) 1115 struct intel_crtc_state *pipe_config)
1116{ 1116{
1117 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); 1117 struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
1118 struct drm_display_mode *adjusted_mode = &pipe_config->adjusted_mode; 1118 struct drm_display_mode *adjusted_mode = &pipe_config->adjusted_mode;
@@ -1338,7 +1338,7 @@ static bool intel_sdvo_get_hw_state(struct intel_encoder *encoder,
1338} 1338}
1339 1339
1340static void intel_sdvo_get_config(struct intel_encoder *encoder, 1340static void intel_sdvo_get_config(struct intel_encoder *encoder,
1341 struct intel_crtc_config *pipe_config) 1341 struct intel_crtc_state *pipe_config)
1342{ 1342{
1343 struct drm_device *dev = encoder->base.dev; 1343 struct drm_device *dev = encoder->base.dev;
1344 struct drm_i915_private *dev_priv = dev->dev_private; 1344 struct drm_i915_private *dev_priv = dev->dev_private;