drm/mode: document path property and function to set it. (v1.1)
These two didn't get documented properly, do so. Pointed out by Daniel. v1.1: add missing boilerplate (Daniel) Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
		
					parent
					
						
							
								122387a53e
							
						
					
				
			
			
				commit
				
					
						cc7096fb6d
					
				
			
		
					 2 changed files with 21 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2534,7 +2534,7 @@ void intel_crt_init(struct drm_device *dev)
 | 
			
		|||
	</tr>
 | 
			
		||||
	<tr>
 | 
			
		||||
	<td rowspan="21" valign="top" >DRM</td>
 | 
			
		||||
	<td rowspan="2" valign="top" >Generic</td>
 | 
			
		||||
	<td rowspan="3" valign="top" >Generic</td>
 | 
			
		||||
	<td valign="top" >“EDID”</td>
 | 
			
		||||
	<td valign="top" >BLOB | IMMUTABLE</td>
 | 
			
		||||
	<td valign="top" >0</td>
 | 
			
		||||
| 
						 | 
				
			
			@ -2549,6 +2549,13 @@ void intel_crt_init(struct drm_device *dev)
 | 
			
		|||
	<td valign="top" >Contains DPMS operation mode value.</td>
 | 
			
		||||
	</tr>
 | 
			
		||||
	<tr>
 | 
			
		||||
	<td valign="top" >“PATH”</td>
 | 
			
		||||
	<td valign="top" >BLOB | IMMUTABLE</td>
 | 
			
		||||
	<td valign="top" >0</td>
 | 
			
		||||
	<td valign="top" >Connector</td>
 | 
			
		||||
	<td valign="top" >Contains topology path to a connector.</td>
 | 
			
		||||
	</tr>
 | 
			
		||||
	<tr>
 | 
			
		||||
	<td rowspan="1" valign="top" >Plane</td>
 | 
			
		||||
	<td valign="top" >“type”</td>
 | 
			
		||||
	<td valign="top" >ENUM | IMMUTABLE</td>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4005,6 +4005,19 @@ done:
 | 
			
		|||
	return ret;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * drm_mode_connector_set_path_property - set tile property on connector
 | 
			
		||||
 * @connector: connector to set property on.
 | 
			
		||||
 * @path: path to use for property.
 | 
			
		||||
 *
 | 
			
		||||
 * This creates a property to expose to userspace to specify a
 | 
			
		||||
 * connector path. This is mainly used for DisplayPort MST where
 | 
			
		||||
 * connectors have a topology and we want to allow userspace to give
 | 
			
		||||
 * them more meaningful names.
 | 
			
		||||
 *
 | 
			
		||||
 * Returns:
 | 
			
		||||
 * Zero on success, errno on failure.
 | 
			
		||||
 */
 | 
			
		||||
int drm_mode_connector_set_path_property(struct drm_connector *connector,
 | 
			
		||||
					 char *path)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue