diff options
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index f02c80d4039c..c2b81469abbc 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -8500,10 +8500,14 @@ retry: | |||
8500 | i++; | 8500 | i++; |
8501 | if (!(encoder->possible_crtcs & (1 << i))) | 8501 | if (!(encoder->possible_crtcs & (1 << i))) |
8502 | continue; | 8502 | continue; |
8503 | if (!possible_crtc->enabled) { | 8503 | if (possible_crtc->enabled) |
8504 | crtc = possible_crtc; | 8504 | continue; |
8505 | break; | 8505 | /* This can occur when applying the pipe A quirk on resume. */ |
8506 | } | 8506 | if (to_intel_crtc(possible_crtc)->new_enabled) |
8507 | continue; | ||
8508 | |||
8509 | crtc = possible_crtc; | ||
8510 | break; | ||
8507 | } | 8511 | } |
8508 | 8512 | ||
8509 | /* | 8513 | /* |