diff options
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_intel_display.c')
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_display.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm/gma500/cdv_intel_display.c index 82f1ae46e0ac..fe6c6594eb19 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_display.c +++ b/drivers/gpu/drm/gma500/cdv_intel_display.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "psb_drv.h" | 26 | #include "psb_drv.h" |
27 | #include "psb_intel_drv.h" | 27 | #include "psb_intel_drv.h" |
28 | #include "psb_intel_reg.h" | 28 | #include "psb_intel_reg.h" |
29 | #include "psb_intel_display.h" | 29 | #include "gma_display.h" |
30 | #include "power.h" | 30 | #include "power.h" |
31 | #include "cdv_device.h" | 31 | #include "cdv_device.h" |
32 | 32 | ||
@@ -375,7 +375,7 @@ static const struct gma_limit_t *cdv_intel_limit(struct drm_crtc *crtc, | |||
375 | int refclk) | 375 | int refclk) |
376 | { | 376 | { |
377 | const struct gma_limit_t *limit; | 377 | const struct gma_limit_t *limit; |
378 | if (psb_intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) { | 378 | if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) { |
379 | /* | 379 | /* |
380 | * Now only single-channel LVDS is supported on CDV. If it is | 380 | * Now only single-channel LVDS is supported on CDV. If it is |
381 | * incorrect, please add the dual-channel LVDS. | 381 | * incorrect, please add the dual-channel LVDS. |
@@ -384,8 +384,8 @@ static const struct gma_limit_t *cdv_intel_limit(struct drm_crtc *crtc, | |||
384 | limit = &cdv_intel_limits[CDV_LIMIT_SINGLE_LVDS_96]; | 384 | limit = &cdv_intel_limits[CDV_LIMIT_SINGLE_LVDS_96]; |
385 | else | 385 | else |
386 | limit = &cdv_intel_limits[CDV_LIMIT_SINGLE_LVDS_100]; | 386 | limit = &cdv_intel_limits[CDV_LIMIT_SINGLE_LVDS_100]; |
387 | } else if (psb_intel_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT) || | 387 | } else if (gma_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT) || |
388 | psb_intel_pipe_has_type(crtc, INTEL_OUTPUT_EDP)) { | 388 | gma_pipe_has_type(crtc, INTEL_OUTPUT_EDP)) { |
389 | if (refclk == 27000) | 389 | if (refclk == 27000) |
390 | limit = &cdv_intel_limits[CDV_LIMIT_DP_27]; | 390 | limit = &cdv_intel_limits[CDV_LIMIT_DP_27]; |
391 | else | 391 | else |