linux/drivers/gpu/drm/i915/display/intel_crtc.h
<<
>>
Prefs
   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
  11enum pipe;
  12struct drm_i915_private;
  13struct intel_crtc;
  14struct intel_crtc_state;
  15
  16u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state);
  17int intel_crtc_init(struct drm_i915_private *dev_priv, enum pipe pipe);
  18struct intel_crtc_state *intel_crtc_state_alloc(struct intel_crtc *crtc);
  19void intel_crtc_state_reset(struct intel_crtc_state *crtc_state,
  20                            struct intel_crtc *crtc);
  21u32 intel_crtc_get_vblank_counter(struct intel_crtc *crtc);
  22void intel_crtc_vblank_on(const struct intel_crtc_state *crtc_state);
  23void intel_crtc_vblank_off(const struct intel_crtc_state *crtc_state);
  24
  25#endif
  26