1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6 #ifndef __INTEL_OVERLAY_H__ 7 #define __INTEL_OVERLAY_H__ 8 9 #include <linux/types.h> 10 11 struct drm_device; 12 struct drm_file; 13 struct drm_printer; 14 struct intel_display; 15 struct intel_overlay; 16 17 void intel_overlay_setup(struct intel_display *display); 18 bool intel_overlay_available(struct intel_display *display); 19 void intel_overlay_cleanup(struct intel_display *display); 20 int intel_overlay_switch_off(struct intel_overlay *overlay); 21 int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data, 22 struct drm_file *file_priv); 23 int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data, 24 struct drm_file *file_priv); 25 void intel_overlay_reset(struct intel_display *display); 26 27 #endif /* __INTEL_OVERLAY_H__ */ 28