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_plane;
14 struct intel_plane_state;
15 
16 unsigned int i965_plane_max_stride(struct intel_plane *plane,
17 				   u32 pixel_format, u64 modifier,
18 				   unsigned int rotation);
19 int i9xx_check_plane_surface(struct intel_plane_state *plane_state);
20 
21 struct intel_plane *
22 intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);
23 
24 #endif
25