1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2020 Intel Corporation 4 */ 5 6 #ifndef _I9XX_PLANE_H_ 7 #define _I9XX_PLANE_H_ 8 9 #include <linux/types.h> 10 11 enum pipe; 12 struct drm_i915_private; 13 struct intel_crtc; 14 struct intel_initial_plane_config; 15 struct intel_plane; 16 struct intel_plane_state; 17 18 unsigned int i965_plane_max_stride(struct intel_plane *plane, 19 u32 pixel_format, u64 modifier, 20 unsigned int rotation); 21 int i9xx_check_plane_surface(struct intel_plane_state *plane_state); 22 23 struct intel_plane * 24 intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe); 25 26 void i9xx_get_initial_plane_config(struct intel_crtc *crtc, 27 struct intel_initial_plane_config *plane_config); 28 #endif 29