Created
January 26, 2022 21:21
-
-
Save jannau/1f401adf372ccec6f305764785637b0b to your computer and use it in GitHub Desktop.
dcp hdmi hotplug crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/apple/dcp.c b/drivers/gpu/drm/apple/dcp.c | |
index 0dd0cd28a976..ae4d9ae1dd6f 100644 | |
--- a/drivers/gpu/drm/apple/dcp.c | |
+++ b/drivers/gpu/drm/apple/dcp.c | |
@@ -1160,7 +1160,7 @@ void dcp_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) | |
dcp_set_display_device(dcp, false, &handle, dcp_modeset, NULL); | |
} | |
else if (!has_surface) { | |
- dev_warn(dcp->dev, "can't flush without surfaces, vsync:%d", dcp->crtc->vsync_disabled); | |
+ dev_warn(dcp->dev, "can't flush without surfaces"); | |
/* HACK: issue a delayed vblank event to avoid timeouts in | |
* drm_atomic_helper_wait_for_vblanks(). It's currently unkown | |
* if and how DCP supports swaps without attached surfaces. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment