diff options
-rw-r--r-- | src/drmmode_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 3aae69a8..a8d43865 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -2647,7 +2647,8 @@ restart_destroy: xf86CrtcConfigPtr loop_config = XF86_CRTC_CONFIG_PTR(loop_scrn); - if (RADEONEntPriv(loop_scrn) != pRADEONEnt) + if (strcmp(loop_scrn->driverName, scrn->driverName) || + RADEONEntPriv(loop_scrn) != pRADEONEnt) continue; for (j = 0; !found && j < loop_config->num_output; j++) { |