Merge tag 'drm-next-2024-03-22' of https://gitlab.freedesktop.org/drm/kernel
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / display / dc / resource / dcn321 / dcn321_resource.c
index b356fed..296a0a8 100644 (file)
@@ -1581,6 +1581,8 @@ static void dcn321_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *b
 {
        DC_FP_START();
        dcn321_update_bw_bounding_box_fpu(dc, bw_params);
+       if (dc->debug.using_dml2 && dc->current_state && dc->current_state->bw_ctx.dml2)
+               dml2_reinit(dc, &dc->dml2_options, &dc->current_state->bw_ctx.dml2);
        DC_FP_END();
 }