Home
last modified time | relevance | path

Searched refs:min_cdclk (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_cdclk.c479 static int vlv_calc_cdclk(struct drm_i915_private *dev_priv, int min_cdclk) in vlv_calc_cdclk() argument
489 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() argument
720 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() argument
845 if (min_cdclk > 540000) in skl_calc_cdclk()
[all …]
Dintel_modeset_setup.c178 cdclk_state->min_cdclk[pipe] = 0; in intel_crtc_disable_noatomic_complete()
812 int min_cdclk = 0; in intel_modeset_readout_hw_state() local
847 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()
Dintel_atomic_plane.c264 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()
Dintel_bw.c1029 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() local
1126 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()
Dintel_bw.h50 int min_cdclk[I915_MAX_PIPES]; member
Dintel_cdclk.h42 int min_cdclk[I915_MAX_PIPES]; member
Di9xx_plane.c840 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()
Dintel_sprite.c1567 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()
Dintel_display_types.h1270 int min_cdclk[I915_MAX_PLANES]; member
1556 int (*min_cdclk)(const struct intel_crtc_state *crtc_state, member
Dskl_universal_plane.c2268 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()
Dintel_display.c653 crtc_state->min_cdclk[plane->id] = 0; in intel_plane_disable_noatomic()