We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2d834 commit 7b65b24Copy full SHA for 7b65b24
drivers/gpu/drm/i915/display/intel_bw.c
@@ -1431,9 +1431,15 @@ void intel_bw_update_hw_state(struct intel_display *display)
1431
if (DISPLAY_VER(display) < 9)
1432
return;
1433
1434
+ bw_state->active_pipes = 0;
1435
+
1436
for_each_intel_crtc(display->drm, crtc) {
1437
const struct intel_crtc_state *crtc_state =
1438
to_intel_crtc_state(crtc->base.state);
1439
+ enum pipe pipe = crtc->pipe;
1440
1441
+ if (crtc_state->hw.active)
1442
+ bw_state->active_pipes |= BIT(pipe);
1443
1444
intel_bw_crtc_update(bw_state, crtc_state);
1445
}
0 commit comments