Searched refs:min_cdclk (Results 1 – 11 of 11) sorted by relevance
477 static int vlv_calc_cdclk(struct drm_i915_private *dev_priv, int min_cdclk) in vlv_calc_cdclk() argument487 if (IS_VALLEYVIEW(dev_priv) && min_cdclk > freq_320) in vlv_calc_cdclk()489 else if (min_cdclk > 266667) in vlv_calc_cdclk()491 else if (min_cdclk > 0) in vlv_calc_cdclk()716 static int bdw_calc_cdclk(int min_cdclk) in bdw_calc_cdclk() argument718 if (min_cdclk > 540000) in bdw_calc_cdclk()720 else if (min_cdclk > 450000) in bdw_calc_cdclk()722 else if (min_cdclk > 337500) in bdw_calc_cdclk()840 static int skl_calc_cdclk(int min_cdclk, int vco) in skl_calc_cdclk() argument843 if (min_cdclk > 540000) in skl_calc_cdclk()[all …]
102 cdclk_state->min_cdclk[pipe] = 0; in intel_crtc_disable_noatomic()543 int min_cdclk = 0; in intel_modeset_readout_hw_state() local577 if (plane_state->uapi.visible && plane->min_cdclk) { in intel_modeset_readout_hw_state()579 crtc_state->min_cdclk[plane->id] = in intel_modeset_readout_hw_state()582 crtc_state->min_cdclk[plane->id] = in intel_modeset_readout_hw_state()588 crtc_state->min_cdclk[plane->id]); in intel_modeset_readout_hw_state()592 min_cdclk = intel_crtc_compute_min_cdclk(crtc_state); in intel_modeset_readout_hw_state()593 if (drm_WARN_ON(&i915->drm, min_cdclk < 0)) in intel_modeset_readout_hw_state()594 min_cdclk = 0; in intel_modeset_readout_hw_state()597 cdclk_state->min_cdclk[crtc->pipe] = min_cdclk; in intel_modeset_readout_hw_state()
258 if (!plane_state->uapi.visible || !plane->min_cdclk) in intel_plane_calc_min_cdclk()264 new_crtc_state->min_cdclk[plane->id] = in intel_plane_calc_min_cdclk()265 plane->min_cdclk(new_crtc_state, plane_state); in intel_plane_calc_min_cdclk()275 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()276 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk()291 if (new_crtc_state->min_cdclk[plane->id] <= in intel_plane_calc_min_cdclk()292 cdclk_state->min_cdclk[crtc->pipe]) in intel_plane_calc_min_cdclk()298 new_crtc_state->min_cdclk[plane->id], in intel_plane_calc_min_cdclk()300 cdclk_state->min_cdclk[crtc->pipe]); in intel_plane_calc_min_cdclk()369 crtc_state->min_cdclk[plane->id] = 0; in intel_plane_set_invisible()
788 if (old_bw_state->min_cdclk[pipe] != new_bw_state->min_cdclk[pipe]) in intel_bw_state_changed()883 int min_cdclk; in intel_bw_min_cdclk() local885 min_cdclk = intel_bw_dbuf_min_cdclk(i915, bw_state); in intel_bw_min_cdclk()888 min_cdclk = max(bw_state->min_cdclk[pipe], min_cdclk); in intel_bw_min_cdclk()890 return min_cdclk; in intel_bw_min_cdclk()917 new_bw_state->min_cdclk[crtc->pipe] = in intel_bw_calc_min_cdclk()
44 int min_cdclk[I915_MAX_PIPES]; member
42 int min_cdclk[I915_MAX_PIPES]; member
838 plane->min_cdclk = vlv_plane_min_cdclk; in intel_primary_plane_create()840 plane->min_cdclk = hsw_plane_min_cdclk; in intel_primary_plane_create()842 plane->min_cdclk = ivb_plane_min_cdclk; in intel_primary_plane_create()844 plane->min_cdclk = i9xx_plane_min_cdclk; in intel_primary_plane_create()
1748 plane->min_cdclk = vlv_plane_min_cdclk; in intel_sprite_plane_create()1768 plane->min_cdclk = hsw_plane_min_cdclk; in intel_sprite_plane_create()1771 plane->min_cdclk = ivb_sprite_min_cdclk; in intel_sprite_plane_create()1785 plane->min_cdclk = g4x_sprite_min_cdclk; in intel_sprite_plane_create()
1204 int min_cdclk[I915_MAX_PLANES]; member1468 int (*min_cdclk)(const struct intel_crtc_state *crtc_state, member
2247 plane->min_cdclk = icl_plane_min_cdclk; in skl_universal_plane_create()2251 plane->min_cdclk = glk_plane_min_cdclk; in skl_universal_plane_create()2255 plane->min_cdclk = skl_plane_min_cdclk; in skl_universal_plane_create()
790 crtc_state->min_cdclk[plane->id] = 0; in intel_plane_disable_noatomic()