linux/drivers/gpu/drm/i915/display/intel_overlay.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: MIT */
   2/*
   3 * Copyright © 2019 Intel Corporation
   4 */
   5
   6#ifndef __INTEL_OVERLAY_H__
   7#define __INTEL_OVERLAY_H__
   8
   9struct drm_device;
  10struct drm_file;
  11struct drm_i915_error_state_buf;
  12struct drm_i915_private;
  13struct intel_overlay;
  14struct intel_overlay_error_state;
  15
  16void intel_overlay_setup(struct drm_i915_private *dev_priv);
  17void intel_overlay_cleanup(struct drm_i915_private *dev_priv);
  18int intel_overlay_switch_off(struct intel_overlay *overlay);
  19int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data,
  20                                  struct drm_file *file_priv);
  21int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data,
  22                              struct drm_file *file_priv);
  23void intel_overlay_reset(struct drm_i915_private *dev_priv);
  24struct intel_overlay_error_state *
  25intel_overlay_capture_error_state(struct drm_i915_private *dev_priv);
  26void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e,
  27                                     struct intel_overlay_error_state *error);
  28
  29#endif /* __INTEL_OVERLAY_H__ */
  30