1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6 #ifndef __I9XX_WM_H__ 7 #define __I9XX_WM_H__ 8 9 #include <linux/types.h> 10 11 struct drm_i915_private; 12 struct intel_crtc_state; 13 struct intel_plane_state; 14 15 int ilk_wm_max_level(const struct drm_i915_private *i915); 16 bool ilk_disable_lp_wm(struct drm_i915_private *i915); 17 void ilk_wm_sanitize(struct drm_i915_private *i915); 18 bool intel_set_memory_cxsr(struct drm_i915_private *i915, bool enable); 19 void i9xx_wm_init(struct drm_i915_private *i915); 20 21 #endif /* __I9XX_WM_H__ */ 22