 e5b89916bc
			
		
	
	
	e5b89916bc
	
	
	
		
			
			This patch removes the call from encoder dpms into connector dpms (which will then call back into encoder dpms through the helper function). The callback is likely to keep connector->dpms in the right state when initiating dpms from crtc or encoder, but this isn't the right way to do it. This patch is the first step towards rationalizing power management in the exynos drm driver. Signed-off-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			642 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			642 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
 | |
|  * Authors:
 | |
|  *	Inki Dae <inki.dae@samsung.com>
 | |
|  *	Joonyoung Shim <jy0922.shim@samsung.com>
 | |
|  *	Seung-Woo Kim <sw0312.kim@samsung.com>
 | |
|  *
 | |
|  * This program is free software; you can redistribute  it and/or modify it
 | |
|  * under  the terms of  the GNU General  Public License as published by the
 | |
|  * Free Software Foundation;  either version 2 of the  License, or (at your
 | |
|  * option) any later version.
 | |
|  */
 | |
| 
 | |
| #ifndef _EXYNOS_DRM_CONNECTOR_H_
 | |
| #define _EXYNOS_DRM_CONNECTOR_H_
 | |
| 
 | |
| struct drm_connector *exynos_drm_connector_create(struct drm_device *dev,
 | |
| 						   struct drm_encoder *encoder);
 | |
| 
 | |
| #endif
 |