|
@@ -117,6 +117,7 @@ static void ironlake_pfit_disable(struct intel_crtc *crtc, bool force);
|
|
|
static void ironlake_pfit_enable(struct intel_crtc *crtc);
|
|
|
static void intel_modeset_setup_hw_state(struct drm_device *dev);
|
|
|
static void intel_pre_disable_primary_noatomic(struct drm_crtc *crtc);
|
|
|
+static int ilk_max_pixel_rate(struct drm_atomic_state *state);
|
|
|
|
|
|
struct intel_limit {
|
|
|
struct {
|
|
@@ -5963,8 +5964,7 @@ static int valleyview_modeset_calc_cdclk(struct drm_atomic_state *state)
|
|
|
|
|
|
static int broxton_modeset_calc_cdclk(struct drm_atomic_state *state)
|
|
|
{
|
|
|
- struct drm_device *dev = state->dev;
|
|
|
- int max_pixclk = intel_mode_max_pixclk(dev, state);
|
|
|
+ int max_pixclk = ilk_max_pixel_rate(state);
|
|
|
struct intel_atomic_state *intel_state =
|
|
|
to_intel_atomic_state(state);
|
|
|
|