xref: /linux/drivers/gpu/drm/i915/display/intel_load_detect.h (revision bba2c3615bd6cfee7456d1130f2e6b01b3f4e9ba)
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_commit;
10 struct drm_connector;
11 struct drm_modeset_acquire_ctx;
12 
13 struct drm_atomic_commit *
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_commit *old,
18 				    struct drm_modeset_acquire_ctx *ctx);
19 
20 #endif /* __INTEL_LOAD_DETECT_H__ */
21