Contributors: 15
Author Tokens Token Proportion Commits Commit Proportion
Jani Nikula 117 43.98% 5 14.71%
Eric Anholt 48 18.05% 3 8.82%
Chris Wilson 43 16.17% 8 23.53%
Daniel Vetter 14 5.26% 2 5.88%
Ville Syrjälä 11 4.14% 3 8.82%
Dave Airlie 9 3.38% 3 8.82%
Ander Conselvan de Oliveira 6 2.26% 1 2.94%
Keith Packard 4 1.50% 1 2.94%
Jesse Barnes 4 1.50% 2 5.88%
Mika Kuoppala 3 1.13% 1 2.94%
José Roberto de Souza 2 0.75% 1 2.94%
Maarten Lankhorst 2 0.75% 1 2.94%
Imre Deak 1 0.38% 1 2.94%
Rodrigo Vivi 1 0.38% 1 2.94%
Paulo Zanoni 1 0.38% 1 2.94%
Total 266 34


/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2019 Intel Corporation
 */

#ifndef __INTEL_OVERLAY_H__
#define __INTEL_OVERLAY_H__

struct drm_device;
struct drm_file;
struct drm_i915_error_state_buf;
struct drm_i915_private;
struct intel_overlay;
struct intel_overlay_error_state;

#ifdef I915
void intel_overlay_setup(struct drm_i915_private *dev_priv);
void intel_overlay_cleanup(struct drm_i915_private *dev_priv);
int intel_overlay_switch_off(struct intel_overlay *overlay);
int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data,
				  struct drm_file *file_priv);
int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data,
			      struct drm_file *file_priv);
void intel_overlay_reset(struct drm_i915_private *dev_priv);
struct intel_overlay_error_state *
intel_overlay_capture_error_state(struct drm_i915_private *dev_priv);
void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e,
				     struct intel_overlay_error_state *error);
#else
static inline void intel_overlay_setup(struct drm_i915_private *dev_priv)
{
}
static inline void intel_overlay_cleanup(struct drm_i915_private *dev_priv)
{
}
static inline int intel_overlay_switch_off(struct intel_overlay *overlay)
{
	return 0;
}
static inline int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data,
				  struct drm_file *file_priv)
{
	return 0;
}
static inline int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data,
					    struct drm_file *file_priv)
{
	return 0;
}
static inline void intel_overlay_reset(struct drm_i915_private *dev_priv)
{
}
static inline struct intel_overlay_error_state *
intel_overlay_capture_error_state(struct drm_i915_private *dev_priv)
{
	return NULL;
}
static inline void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e,
						   struct intel_overlay_error_state *error)
{
}
#endif

#endif /* __INTEL_OVERLAY_H__ */