Home | History | Annotate | Line # | Download | only in display
      1  1.1  riastrad /*	$NetBSD: intel_overlay.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $	*/
      2  1.1  riastrad 
      3  1.1  riastrad /* SPDX-License-Identifier: MIT */
      4  1.1  riastrad /*
      5  1.1  riastrad  * Copyright  2019 Intel Corporation
      6  1.1  riastrad  */
      7  1.1  riastrad 
      8  1.1  riastrad #ifndef __INTEL_OVERLAY_H__
      9  1.1  riastrad #define __INTEL_OVERLAY_H__
     10  1.1  riastrad 
     11  1.1  riastrad struct drm_device;
     12  1.1  riastrad struct drm_file;
     13  1.1  riastrad struct drm_i915_error_state_buf;
     14  1.1  riastrad struct drm_i915_private;
     15  1.1  riastrad struct intel_overlay;
     16  1.1  riastrad struct intel_overlay_error_state;
     17  1.1  riastrad 
     18  1.1  riastrad void intel_overlay_setup(struct drm_i915_private *dev_priv);
     19  1.1  riastrad void intel_overlay_cleanup(struct drm_i915_private *dev_priv);
     20  1.1  riastrad int intel_overlay_switch_off(struct intel_overlay *overlay);
     21  1.1  riastrad int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data,
     22  1.1  riastrad 				  struct drm_file *file_priv);
     23  1.1  riastrad int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data,
     24  1.1  riastrad 			      struct drm_file *file_priv);
     25  1.1  riastrad void intel_overlay_reset(struct drm_i915_private *dev_priv);
     26  1.1  riastrad struct intel_overlay_error_state *
     27  1.1  riastrad intel_overlay_capture_error_state(struct drm_i915_private *dev_priv);
     28  1.1  riastrad void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e,
     29  1.1  riastrad 				     struct intel_overlay_error_state *error);
     30  1.1  riastrad 
     31  1.1  riastrad #endif /* __INTEL_OVERLAY_H__ */
     32