2020-12-21 13:09:57 +02:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2020 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _I9XX_PLANE_H_
|
|
|
|
#define _I9XX_PLANE_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
enum pipe;
|
|
|
|
struct drm_i915_private;
|
2021-02-05 16:48:41 +02:00
|
|
|
struct intel_crtc;
|
|
|
|
struct intel_initial_plane_config;
|
2020-12-21 13:09:57 +02:00
|
|
|
struct intel_plane;
|
|
|
|
struct intel_plane_state;
|
|
|
|
|
2021-01-11 18:37:02 +02:00
|
|
|
unsigned int i965_plane_max_stride(struct intel_plane *plane,
|
2020-12-21 13:09:57 +02:00
|
|
|
u32 pixel_format, u64 modifier,
|
|
|
|
unsigned int rotation);
|
|
|
|
int i9xx_check_plane_surface(struct intel_plane_state *plane_state);
|
|
|
|
|
|
|
|
struct intel_plane *
|
|
|
|
intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);
|
|
|
|
|
2021-02-05 16:48:41 +02:00
|
|
|
void i9xx_get_initial_plane_config(struct intel_crtc *crtc,
|
|
|
|
struct intel_initial_plane_config *plane_config);
|
2020-12-21 13:09:57 +02:00
|
|
|
#endif
|