mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	backend/drm: Remove call to CRTC realloc on scan
After a connector scan, new connectors might have appeared and old ones gone away. At this point, old CRTC allocations are already gone, while new allocations are not yet needed. Skip the call.
This commit is contained in:
		
							parent
							
								
									9f7ab85718
								
							
						
					
					
						commit
						96ad414ec9
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -1811,8 +1811,6 @@ void scan_drm_connectors(struct wlr_drm_backend *drm, | |||
| 		destroy_drm_connector(conn); | ||||
| 	} | ||||
| 
 | ||||
| 	realloc_crtcs(drm, NULL); | ||||
| 
 | ||||
| 	for (size_t i = 0; i < new_outputs_len; ++i) { | ||||
| 		struct wlr_drm_connector *conn = new_outputs[i]; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kenny Levinsen
						Kenny Levinsen