backend/drm: don't set NONBLOCK with TEST_ONLY
The kernel ignores NONBLOCK when TEST_ONLY is set. Let's just not set it, to make it clear it's unused.
This commit is contained in:
		
							parent
							
								
									55aaeb25c5
								
							
						
					
					
						commit
						5088e25eaf
					
				|  | @ -202,7 +202,7 @@ static bool atomic_crtc_commit(struct wlr_drm_backend *drm, | |||
| 
 | ||||
| 	if (crtc->pending_modeset) { | ||||
| 		flags |= DRM_MODE_ATOMIC_ALLOW_MODESET; | ||||
| 	} else { | ||||
| 	} else if (!(flags & DRM_MODE_ATOMIC_TEST_ONLY)) { | ||||
| 		flags |= DRM_MODE_ATOMIC_NONBLOCK; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue