Contributors: 10
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Ville Syrjälä |
66 |
31.43% |
12 |
46.15% |
Dave Airlie |
54 |
25.71% |
3 |
11.54% |
Jani Nikula |
42 |
20.00% |
2 |
7.69% |
Jesse Barnes |
28 |
13.33% |
3 |
11.54% |
Chris Wilson |
9 |
4.29% |
1 |
3.85% |
Chandra Konduru |
4 |
1.90% |
1 |
3.85% |
Imre Deak |
3 |
1.43% |
1 |
3.85% |
Ander Conselvan de Oliveira |
2 |
0.95% |
1 |
3.85% |
Maarten Lankhorst |
1 |
0.48% |
1 |
3.85% |
Gustavo Padovan |
1 |
0.48% |
1 |
3.85% |
Total |
210 |
|
26 |
|
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2020 Intel Corporation
*/
#ifndef _I9XX_PLANE_H_
#define _I9XX_PLANE_H_
#include <linux/types.h>
enum pipe;
struct drm_i915_private;
struct intel_crtc;
struct intel_initial_plane_config;
struct intel_plane;
struct intel_plane_state;
#ifdef I915
unsigned int i965_plane_max_stride(struct intel_plane *plane,
u32 pixel_format, u64 modifier,
unsigned int rotation);
int i9xx_check_plane_surface(struct intel_plane_state *plane_state);
struct intel_plane *
intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);
void i9xx_get_initial_plane_config(struct intel_crtc *crtc,
struct intel_initial_plane_config *plane_config);
bool i9xx_fixup_initial_plane_config(struct intel_crtc *crtc,
const struct intel_initial_plane_config *plane_config);
#else
static inline unsigned int i965_plane_max_stride(struct intel_plane *plane,
u32 pixel_format, u64 modifier,
unsigned int rotation)
{
return 0;
}
static inline int i9xx_check_plane_surface(struct intel_plane_state *plane_state)
{
return 0;
}
static inline struct intel_plane *
intel_primary_plane_create(struct drm_i915_private *dev_priv, int pipe)
{
return NULL;
}
static inline void i9xx_get_initial_plane_config(struct intel_crtc *crtc,
struct intel_initial_plane_config *plane_config)
{
}
static inline bool i9xx_fixup_initial_plane_config(struct intel_crtc *crtc,
const struct intel_initial_plane_config *plane_config)
{
return false;
}
#endif
#endif