mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	An error-valued pointer can handle all in one without the wrapper struct. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230417153741.1074692-2-jani.nikula@intel.com
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			548 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			548 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* 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__ */
 |