Searched refs:min_cdclk (Results 1 – 11 of 11) sorted by relevance
479 static int vlv_calc_cdclk(struct drm_i915_private *dev_priv, int min_cdclk) in vlv_calc_cdclk() argument489 if (IS_VALLEYVIEW(dev_priv) && min_cdclk > freq_320) in vlv_calc_cdclk()491 else if (min_cdclk > 266667) in vlv_calc_cdclk()493 else if (min_cdclk > 0) in vlv_calc_cdclk()718 static int bdw_calc_cdclk(int min_cdclk) in bdw_calc_cdclk() argument720 if (min_cdclk > 540000) in bdw_calc_cdclk()722 else if (min_cdclk > 450000) in bdw_calc_cdclk()724 else if (min_cdclk > 337500) in bdw_calc_cdclk()842 static int skl_calc_cdclk(int min_cdclk, int vco) in skl_calc_cdclk() argument845 if (min_cdclk > 540000) in skl_calc_cdclk()[all …]
178 cdclk_state->min_cdclk[pipe] = 0; in intel_crtc_disable_noatomic_complete()812 int min_cdclk = 0; in intel_modeset_readout_hw_state() local847 if (plane_state->uapi.visible && plane->min_cdclk) { in intel_modeset_readout_hw_state()849 crtc_state->min_cdclk[plane->id] = in intel_modeset_readout_hw_state()852 crtc_state->min_cdclk[plane->id] = in intel_modeset_readout_hw_state()858 crtc_state->min_cdclk[plane->id]); in intel_modeset_readout_hw_state()862 min_cdclk = intel_crtc_compute_min_cdclk(crtc_state); in intel_modeset_readout_hw_state()863 if (drm_WARN_ON(&i915->drm, min_cdclk < 0)) in intel_modeset_readout_hw_state()864 min_cdclk = 0; in intel_modeset_readout_hw_state()867 cdclk_state->min_cdclk[crtc->pipe] = min_cdclk; in intel_modeset_readout_hw_state()
264 if (!plane_state->uapi.visible || !plane->min_cdclk) in intel_plane_calc_min_cdclk()270 new_crtc_state->min_cdclk[plane->id] = in intel_plane_calc_min_cdclk()271 plane->min_cdclk(new_crtc_state, plane_state); in intel_plane_calc_min_cdclk()281 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()282 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk()297 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()298 cdclk_state->min_cdclk[crtc->pipe]) in intel_plane_calc_min_cdclk()304 new_crtc_state->min_cdclk[plane->id], in intel_plane_calc_min_cdclk()306 cdclk_state->min_cdclk[crtc->pipe]); in intel_plane_calc_min_cdclk()376 crtc_state->min_cdclk[plane->id] = 0; in intel_plane_set_invisible()
1029 if (old_bw_state->min_cdclk[pipe] != new_bw_state->min_cdclk[pipe]) in intel_bw_state_changed()1124 int min_cdclk; in intel_bw_min_cdclk() local1126 min_cdclk = intel_bw_dbuf_min_cdclk(i915, bw_state); in intel_bw_min_cdclk()1129 min_cdclk = max(bw_state->min_cdclk[pipe], min_cdclk); in intel_bw_min_cdclk()1131 return min_cdclk; in intel_bw_min_cdclk()1158 new_bw_state->min_cdclk[crtc->pipe] = in intel_bw_calc_min_cdclk()
50 int min_cdclk[I915_MAX_PIPES]; member
42 int min_cdclk[I915_MAX_PIPES]; member
840 plane->min_cdclk = vlv_plane_min_cdclk; in intel_primary_plane_create()842 plane->min_cdclk = hsw_plane_min_cdclk; in intel_primary_plane_create()844 plane->min_cdclk = ivb_plane_min_cdclk; in intel_primary_plane_create()846 plane->min_cdclk = i9xx_plane_min_cdclk; in intel_primary_plane_create()
1567 plane->min_cdclk = vlv_plane_min_cdclk; in intel_sprite_plane_create()1587 plane->min_cdclk = hsw_plane_min_cdclk; in intel_sprite_plane_create()1590 plane->min_cdclk = ivb_sprite_min_cdclk; in intel_sprite_plane_create()1604 plane->min_cdclk = g4x_sprite_min_cdclk; in intel_sprite_plane_create()
1270 int min_cdclk[I915_MAX_PLANES]; member1556 int (*min_cdclk)(const struct intel_crtc_state *crtc_state, member
2268 plane->min_cdclk = icl_plane_min_cdclk; in skl_universal_plane_create()2272 plane->min_cdclk = glk_plane_min_cdclk; in skl_universal_plane_create()2276 plane->min_cdclk = skl_plane_min_cdclk; in skl_universal_plane_create()
653 crtc_state->min_cdclk[plane->id] = 0; in intel_plane_disable_noatomic()