brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 044a032 Raw
42 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2019 Intel Corporation4 */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 19#ifdef I91520struct intel_plane *intel_sprite_plane_create(struct drm_i915_private *dev_priv,21					      enum pipe pipe, int plane);22int intel_sprite_set_colorkey_ioctl(struct drm_device *dev, void *data,23				    struct drm_file *file_priv);24int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state);25int chv_plane_check_rotation(const struct intel_plane_state *plane_state);26 27int ivb_plane_min_cdclk(const struct intel_crtc_state *crtc_state,28			const struct intel_plane_state *plane_state);29int hsw_plane_min_cdclk(const struct intel_crtc_state *crtc_state,30			const struct intel_plane_state *plane_state);31int vlv_plane_min_cdclk(const struct intel_crtc_state *crtc_state,32			const struct intel_plane_state *plane_state);33#else34static inline struct intel_plane *intel_sprite_plane_create(struct drm_i915_private *dev_priv,35							    int pipe, int plane)36{37	return NULL;38}39#endif40 41#endif /* __INTEL_SPRITE_H__ */42