DragonFlyBSD Kernel Audit
DF-1152 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
--- a/sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -5331,7 +5331,7 @@
 		 * full modeset below.
 		 */
 		if (!(enable && aconnector && new_crtc_state->enable &&
-		      new_crtc_state->active))
+		      new_crtc_state->active && dm_new_crtc_state->stream))
 			continue;
 		/*
 		 * Given above conditions, the dc state cannot be NULL because: