Merge tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt...
[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 u32 intel_crtc_get_vblank_counter(struct intel_crtc *crtc);
22 void intel_crtc_vblank_on(const struct intel_crtc_state *crtc_state);
23 void intel_crtc_vblank_off(const struct intel_crtc_state *crtc_state);
24
25 #endif