1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6#ifndef __INTEL_SPRITE_H__ 7#define __INTEL_SPRITE_H__ 8 9#include <linux/types.h> 10 11struct drm_device; 12struct drm_display_mode; 13struct drm_file; 14struct drm_i915_private; 15struct intel_crtc_state; 16struct intel_plane_state; 17enum pipe; 18 19struct intel_plane *intel_sprite_plane_create(struct drm_i915_private *dev_priv, 20 enum pipe pipe, int plane); 21int intel_sprite_set_colorkey_ioctl(struct drm_device *dev, void *data, 22 struct drm_file *file_priv); 23int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state); 24int chv_plane_check_rotation(const struct intel_plane_state *plane_state); 25 26int ivb_plane_min_cdclk(const struct intel_crtc_state *crtc_state, 27 const struct intel_plane_state *plane_state); 28int hsw_plane_min_cdclk(const struct intel_crtc_state *crtc_state, 29 const struct intel_plane_state *plane_state); 30int vlv_plane_min_cdclk(const struct intel_crtc_state *crtc_state, 31 const struct intel_plane_state *plane_state); 32 33#endif /* __INTEL_SPRITE_H__ */ 34