1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef __INTEL_LOAD_DETECT_H__
#define __INTEL_LOAD_DETECT_H__

struct drm_atomic_state;
struct drm_connector;
struct drm_modeset_acquire_ctx;

struct drm_atomic_state *
intel_load_detect_get_pipe(struct drm_connector *connector,
			   struct drm_modeset_acquire_ctx *ctx);
void intel_load_detect_release_pipe(struct drm_connector *connector,
				    struct drm_atomic_state *old,
				    struct drm_modeset_acquire_ctx *ctx);

#endif /* __INTEL_LOAD_DETECT_H__ */
无论今后遇到什么事情,都请不要后悔与我的相遇