Contributors: 16
Author Tokens Token Proportion Commits Commit Proportion
Jani Nikula 52 20.16% 2 7.14%
Maarten Lankhorst 49 18.99% 5 17.86%
Jesse Barnes 38 14.73% 2 7.14%
Matt Roper 29 11.24% 3 10.71%
Chandra Konduru 22 8.53% 2 7.14%
Ander Conselvan de Oliveira 19 7.36% 2 7.14%
José Roberto de Souza 14 5.43% 2 7.14%
Stephen Chandler Paul 12 4.65% 1 3.57%
Ville Syrjälä 5 1.94% 2 7.14%
Eric Anholt 4 1.55% 1 3.57%
Imre Deak 4 1.55% 1 3.57%
Vandita Kulkarni 4 1.55% 1 3.57%
Sean Paul 2 0.78% 1 3.57%
Daniel Vetter 2 0.78% 1 3.57%
Chris Wilson 1 0.39% 1 3.57%
Dave Airlie 1 0.39% 1 3.57%
Total 258 28


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

#ifndef __INTEL_ATOMIC_H__
#define __INTEL_ATOMIC_H__

#include <linux/types.h>

struct drm_atomic_state;
struct drm_connector;
struct drm_connector_state;
struct drm_crtc;
struct drm_crtc_state;
struct drm_device;
struct drm_i915_private;
struct drm_property;
struct intel_atomic_state;
struct intel_connector;
struct intel_crtc;
struct intel_crtc_state;

int intel_digital_connector_atomic_get_property(struct drm_connector *connector,
						const struct drm_connector_state *state,
						struct drm_property *property,
						u64 *val);
int intel_digital_connector_atomic_set_property(struct drm_connector *connector,
						struct drm_connector_state *state,
						struct drm_property *property,
						u64 val);
int intel_digital_connector_atomic_check(struct drm_connector *conn,
					 struct drm_atomic_state *state);
struct drm_connector_state *
intel_digital_connector_duplicate_state(struct drm_connector *connector);
bool intel_connector_needs_modeset(struct intel_atomic_state *state,
				   struct drm_connector *connector);
bool intel_any_crtc_needs_modeset(struct intel_atomic_state *state);
struct intel_digital_connector_state *
intel_atomic_get_digital_connector_state(struct intel_atomic_state *state,
					 struct intel_connector *connector);

struct drm_crtc_state *intel_crtc_duplicate_state(struct drm_crtc *crtc);
void intel_crtc_destroy_state(struct drm_crtc *crtc,
			       struct drm_crtc_state *state);
void intel_crtc_free_hw_state(struct intel_crtc_state *crtc_state);
struct drm_atomic_state *intel_atomic_state_alloc(struct drm_device *dev);
void intel_atomic_state_free(struct drm_atomic_state *state);
void intel_atomic_state_clear(struct drm_atomic_state *state);

struct intel_crtc_state *
intel_atomic_get_crtc_state(struct drm_atomic_state *state,
			    struct intel_crtc *crtc);

int intel_atomic_setup_scalers(struct drm_i915_private *dev_priv,
			       struct intel_crtc *intel_crtc,
			       struct intel_crtc_state *crtc_state);

#endif /* __INTEL_ATOMIC_H__ */