mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	drm/vmwgfx: Send a hotplug event at master_set
Make sure drm clients (mostly the X server) are communicated the current layout when switched in. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
This commit is contained in:
		
							parent
							
								
									2e69b25bb1
								
							
						
					
					
						commit
						5ea1734827
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1204,6 +1204,7 @@ static int vmw_master_set(struct drm_device *dev,
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	dev_priv->active_master = vmaster;
 | 
			
		||||
	drm_sysfs_hotplug_event(dev);
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue