Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2020 Intel Corporation
0004  */
0005 
0006 #ifndef _I9XX_PLANE_H_
0007 #define _I9XX_PLANE_H_
0008 
0009 #include <linux/types.h>
0010 
0011 enum pipe;
0012 struct drm_i915_private;
0013 struct intel_crtc;
0014 struct intel_initial_plane_config;
0015 struct intel_plane;
0016 struct intel_plane_state;
0017 
0018 unsigned int i965_plane_max_stride(struct intel_plane *plane,
0019                    u32 pixel_format, u64 modifier,
0020                    unsigned int rotation);
0021 int i9xx_check_plane_surface(struct intel_plane_state *plane_state);
0022 
0023 struct intel_plane *
0024 intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);
0025 
0026 void i9xx_get_initial_plane_config(struct intel_crtc *crtc,
0027                    struct intel_initial_plane_config *plane_config);
0028 #endif