diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-07-21 19:31:23 -0400 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-07-23 19:47:33 -0400 |
commit | 6306865daf0283d1b13adea8be8d1ad4dd0ea1c3 (patch) | |
tree | 891ac48786f85357a052ede877b92b8156e6ee97 /drivers/gpu/drm/gma500/cdv_intel_lvds.c | |
parent | c5c81f4e1bc9c8ee1c3637de51ee180efbbf629c (diff) |
drm/gma500: Rename psb_intel_crtc to gma_crtc
The psb_intel_crtc is generic and should be named appropriately
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_intel_lvds.c')
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_lvds.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c b/drivers/gpu/drm/gma500/cdv_intel_lvds.c index e461dce1d088..53f1d8f5e9cd 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_lvds.c +++ b/drivers/gpu/drm/gma500/cdv_intel_lvds.c | |||
@@ -356,8 +356,7 @@ static void cdv_intel_lvds_mode_set(struct drm_encoder *encoder, | |||
356 | { | 356 | { |
357 | struct drm_device *dev = encoder->dev; | 357 | struct drm_device *dev = encoder->dev; |
358 | struct drm_psb_private *dev_priv = dev->dev_private; | 358 | struct drm_psb_private *dev_priv = dev->dev_private; |
359 | struct psb_intel_crtc *psb_intel_crtc = to_psb_intel_crtc( | 359 | struct gma_crtc *gma_crtc = to_gma_crtc(encoder->crtc); |
360 | encoder->crtc); | ||
361 | u32 pfit_control; | 360 | u32 pfit_control; |
362 | 361 | ||
363 | /* | 362 | /* |
@@ -379,7 +378,7 @@ static void cdv_intel_lvds_mode_set(struct drm_encoder *encoder, | |||
379 | else | 378 | else |
380 | pfit_control = 0; | 379 | pfit_control = 0; |
381 | 380 | ||
382 | pfit_control |= psb_intel_crtc->pipe << PFIT_PIPE_SHIFT; | 381 | pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; |
383 | 382 | ||
384 | if (dev_priv->lvds_dither) | 383 | if (dev_priv->lvds_dither) |
385 | pfit_control |= PANEL_8TO6_DITHER_ENABLE; | 384 | pfit_control |= PANEL_8TO6_DITHER_ENABLE; |
@@ -461,8 +460,7 @@ static int cdv_intel_lvds_set_property(struct drm_connector *connector, | |||
461 | struct drm_encoder *encoder = connector->encoder; | 460 | struct drm_encoder *encoder = connector->encoder; |
462 | 461 | ||
463 | if (!strcmp(property->name, "scaling mode") && encoder) { | 462 | if (!strcmp(property->name, "scaling mode") && encoder) { |
464 | struct psb_intel_crtc *crtc = | 463 | struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); |
465 | to_psb_intel_crtc(encoder->crtc); | ||
466 | uint64_t curValue; | 464 | uint64_t curValue; |
467 | 465 | ||
468 | if (!crtc) | 466 | if (!crtc) |