1  /* SPDX-License-Identifier: MIT */
2  /*
3   * Copyright © 2023 Intel Corporation
4   */
5  
6  #ifndef __INTEL_LOAD_DETECT_H__
7  #define __INTEL_LOAD_DETECT_H__
8  
9  struct drm_atomic_state;
10  struct drm_connector;
11  struct drm_modeset_acquire_ctx;
12  
13  struct drm_atomic_state *
14  intel_load_detect_get_pipe(struct drm_connector *connector,
15  			   struct drm_modeset_acquire_ctx *ctx);
16  void intel_load_detect_release_pipe(struct drm_connector *connector,
17  				    struct drm_atomic_state *old,
18  				    struct drm_modeset_acquire_ctx *ctx);
19  
20  #endif /* __INTEL_LOAD_DETECT_H__ */
21