Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2019 Intel Corporation
0004  */
0005 
0006 #ifndef __INTEL_OVERLAY_H__
0007 #define __INTEL_OVERLAY_H__
0008 
0009 struct drm_device;
0010 struct drm_file;
0011 struct drm_i915_error_state_buf;
0012 struct drm_i915_private;
0013 struct intel_overlay;
0014 struct intel_overlay_error_state;
0015 
0016 void intel_overlay_setup(struct drm_i915_private *dev_priv);
0017 void intel_overlay_cleanup(struct drm_i915_private *dev_priv);
0018 int intel_overlay_switch_off(struct intel_overlay *overlay);
0019 int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data,
0020                   struct drm_file *file_priv);
0021 int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data,
0022                   struct drm_file *file_priv);
0023 void intel_overlay_reset(struct drm_i915_private *dev_priv);
0024 struct intel_overlay_error_state *
0025 intel_overlay_capture_error_state(struct drm_i915_private *dev_priv);
0026 void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e,
0027                      struct intel_overlay_error_state *error);
0028 
0029 #endif /* __INTEL_OVERLAY_H__ */