Merge tag 'batadv-next-pullrequest-20210312' of git://git.open-mesh.org/linux-merge
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / display / intel_crtc.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5
6 #ifndef _INTEL_CRTC_H_
7 #define _INTEL_CRTC_H_
8
9 #include <linux/types.h>
10
11 enum pipe;
12 struct drm_i915_private;
13 struct intel_crtc;
14 struct intel_crtc_state;
15
16 u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state);
17 int intel_crtc_init(struct drm_i915_private *dev_priv, enum pipe pipe);
18 struct intel_crtc_state *intel_crtc_state_alloc(struct intel_crtc *crtc);
19 void intel_crtc_state_reset(struct intel_crtc_state *crtc_state,
20                             struct intel_crtc *crtc);
21
22 #endif