dcn_bw_yes
v->immediate_flip_supported = dcn_bw_yes;
if ((v->dispclk_dppclk_support_per_ratio[0] == dcn_bw_yes && v->dispclk_dppclk_support_per_ratio[1] == dcn_bw_no) || (v->dispclk_dppclk_support_per_ratio[0] == v->dispclk_dppclk_support_per_ratio[1] && (v->total_number_of_active_dpp_per_ratio[0] < v->total_number_of_active_dpp_per_ratio[1] || (((v->total_number_of_active_dpp_per_ratio[0] == v->total_number_of_active_dpp_per_ratio[1]) && v->required_dispclk_per_ratio[0] <= 0.5 * v->required_dispclk_per_ratio[1]))))) {
if (v->bug_forcing_luma_and_chroma_request_to_same_size_fixed == dcn_bw_yes) {
if (v->bug_forcing_luma_and_chroma_request_to_same_size_fixed == dcn_bw_yes) {
if (v->odm_capable == dcn_bw_yes) {
if (v->dcc_enable[k] == dcn_bw_yes) {
v->dcc_enabled_any_plane = dcn_bw_yes;
if (v->dcc_enabled_any_plane == dcn_bw_yes && v->return_bandwidth_to_dcn > v->dcfclk * v->return_bus_width / 4.0) {
if (v->dcc_enabled_any_plane == dcn_bw_yes && v->critical_compression > 1.0 && v->critical_compression < 4.0) {
if (v->dcc_enabled_any_plane == dcn_bw_yes && v->return_bandwidth_to_dcn > v->dcfclk * v->return_bus_width / 4.0) {
if (v->dcc_enabled_any_plane == dcn_bw_yes && v->critical_compression > 1.0 && v->critical_compression < 4.0) {
if (v->dcc_enable[k] == dcn_bw_yes) {
v->scale_ratio_support = dcn_bw_yes;
if (v->pte_enable == dcn_bw_yes) {
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
v->source_format_pixel_and_scan_support = dcn_bw_yes;
if (v->synchronized_vblank == dcn_bw_yes || v->number_of_active_planes == 1) {
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->can_vstartup_lines_exceed_vsync_plus_back_porch_lines_minus_one == dcn_bw_yes) {
v->planes_with_room_to_increase_vstartup_prefetch_bw_less_than_active_bw = dcn_bw_yes;
if (v->immediate_flip_supported == dcn_bw_yes && (v->source_pixel_format[k] != dcn_bw_yuv420_sub_8 && v->source_pixel_format[k] != dcn_bw_yuv420_sub_10)) {
if (v->pte_enable == dcn_bw_yes && v->dcc_enable[k] == dcn_bw_yes) {
if (v->immediate_flip_supported == dcn_bw_yes && (v->source_pixel_format[k] != dcn_bw_yuv420_sub_8 && v->source_pixel_format[k] != dcn_bw_yuv420_sub_10)) {
if ((v->pte_enable == dcn_bw_yes || v->dcc_enable[k] == dcn_bw_yes)) {
if (v->immediate_flip_supported == dcn_bw_yes && (v->source_pixel_format[k] != dcn_bw_yuv420_sub_8 && v->source_pixel_format[k] != dcn_bw_yuv420_sub_10)) {
if (v->immediate_flip_supported == dcn_bw_yes && (v->source_pixel_format[k] != dcn_bw_yuv420_sub_8 && v->source_pixel_format[k] != dcn_bw_yuv420_sub_10)) {
v->v_ratio_prefetch_more_than4 = dcn_bw_yes;
v->destination_line_times_for_prefetch_less_than2 = dcn_bw_yes;
v->planes_with_room_to_increase_vstartup_vratio_prefetch_more_than4 = dcn_bw_yes;
v->planes_with_room_to_increase_vstartup_destination_line_times_for_prefetch_less_than2 = dcn_bw_yes;
if (v->dcc_enable[k] == dcn_bw_yes) {
v->prefetch_mode_supported = dcn_bw_yes;
} while (!(v->prefetch_mode_supported == dcn_bw_yes || (v->planes_with_room_to_increase_vstartup_prefetch_bw_less_than_active_bw == dcn_bw_yes && v->planes_with_room_to_increase_vstartup_vratio_prefetch_more_than4 == dcn_bw_no && v->planes_with_room_to_increase_vstartup_destination_line_times_for_prefetch_less_than2 == dcn_bw_no)));
} while (!(v->prefetch_mode_supported == dcn_bw_yes || v->prefetch_mode == 2.0));
if (v->pte_enable == dcn_bw_yes && v->source_scan[k] != dcn_bw_hor && (v->source_surface_mode[k] == dcn_bw_sw_4_kb_s || v->source_surface_mode[k] == dcn_bw_sw_4_kb_s_x || v->source_surface_mode[k] == dcn_bw_sw_4_kb_d || v->source_surface_mode[k] == dcn_bw_sw_4_kb_d_x)) {
v->allow_dram_clock_change_during_vblank[k] = dcn_bw_yes;
v->allow_dram_self_refresh_during_vblank[k] = dcn_bw_yes;
v->allow_dram_self_refresh_during_vblank[k] = dcn_bw_yes;
else if (v->pte_enable == dcn_bw_yes && v->source_scan[k] == dcn_bw_hor && (v->source_pixel_format[k] == dcn_bw_rgb_sub_64 || v->source_pixel_format[k] == dcn_bw_rgb_sub_32) && (v->source_surface_mode[k] == dcn_bw_sw_64_kb_s || v->source_surface_mode[k] == dcn_bw_sw_64_kb_s_t || v->source_surface_mode[k] == dcn_bw_sw_64_kb_s_x || v->source_surface_mode[k] == dcn_bw_sw_64_kb_d || v->source_surface_mode[k] == dcn_bw_sw_64_kb_d_t || v->source_surface_mode[k] == dcn_bw_sw_64_kb_d_x)) {
else if (v->pte_enable == dcn_bw_yes) {
if (v->allow_dram_clock_change_during_vblank[k] == dcn_bw_yes) {
if (v->synchronized_vblank == dcn_bw_yes || v->number_of_active_planes == 1) {
if (v->dcc_enable[k] == dcn_bw_yes) {
v->dcc_enabled_in_any_plane = dcn_bw_yes;
if (v->dcc_enabled_in_any_plane == dcn_bw_yes && v->return_bw_todcn_per_state > v->dcfclk_per_state[i] * v->return_bus_width / 4.0) {
if (v->dcc_enabled_in_any_plane == dcn_bw_yes && v->critical_point > 1.0 && v->critical_point < 4.0) {
if (v->dcc_enabled_in_any_plane == dcn_bw_yes && v->return_bw_todcn_per_state > v->dcfclk_per_state[i] * v->return_bus_width / 4.0) {
if (v->dcc_enabled_in_any_plane == dcn_bw_yes && v->critical_point > 1.0 && v->critical_point < 4.0) {
v->bandwidth_support[i] = dcn_bw_yes;
v->writeback_latency_support = dcn_bw_yes;
v->rob_support[i] = dcn_bw_yes;
if (v->output[k] == dcn_bw_dp && v->dsc_capability == dcn_bw_yes) {
v->dio_support[i] = dcn_bw_yes;
v->total_available_writeback_support = dcn_bw_yes;
if (v->bug_forcing_luma_and_chroma_request_to_same_size_fixed == dcn_bw_yes) {
if (v->bug_forcing_luma_and_chroma_request_to_same_size_fixed == dcn_bw_yes) {
v->dispclk_dppclk_support[i][j] = dcn_bw_yes;
if (v->allow_different_hratio_vratio == dcn_bw_yes) {
if (v->odm_capability == dcn_bw_yes) {
v->dispclk_dppclk_support[i][j] = dcn_bw_yes;
v->viewport_size_support = dcn_bw_yes;
v->total_available_pipes_support[i][j] = dcn_bw_yes;
v->urgent_latency_support[i][j] = dcn_bw_yes;
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes) {
if (v->can_vstartup_lines_exceed_vsync_plus_back_porch_lines_minus_one == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes && v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes || v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes && v->dcc_enable[k] == dcn_bw_yes) {
if (v->pte_enable == dcn_bw_yes || v->dcc_enable[k] == dcn_bw_yes) {
v->prefetch_supported_with_immediate_flip[i][j] = dcn_bw_yes;
v->prefetch_supported_without_immediate_flip[i][j] = dcn_bw_yes;
v->v_ratio_in_prefetch_supported_with_immediate_flip[i][j] = dcn_bw_yes;
v->v_ratio_in_prefetch_supported_without_immediate_flip[i][j] = dcn_bw_yes;
if (v->scale_ratio_support == dcn_bw_yes && v->source_format_pixel_and_scan_support == dcn_bw_yes && v->viewport_size_support == dcn_bw_yes && v->bandwidth_support[i] == dcn_bw_yes && v->dio_support[i] == dcn_bw_yes && v->urgent_latency_support[i][j] == dcn_bw_yes && v->rob_support[i] == dcn_bw_yes && v->dispclk_dppclk_support[i][j] == dcn_bw_yes && v->total_available_pipes_support[i][j] == dcn_bw_yes && v->total_available_writeback_support == dcn_bw_yes && v->writeback_latency_support == dcn_bw_yes) {
if (v->prefetch_supported_with_immediate_flip[i][j] == dcn_bw_yes && v->v_ratio_in_prefetch_supported_with_immediate_flip[i][j] == dcn_bw_yes) {
v->mode_support_with_immediate_flip[i][j] = dcn_bw_yes;
if (v->prefetch_supported_without_immediate_flip[i][j] == dcn_bw_yes && v->v_ratio_in_prefetch_supported_without_immediate_flip[i][j] == dcn_bw_yes) {
v->mode_support_without_immediate_flip[i][j] = dcn_bw_yes;
if ((i == number_of_states_plus_one || v->mode_support_with_immediate_flip[i][1] == dcn_bw_yes || v->mode_support_with_immediate_flip[i][0] == dcn_bw_yes) && i >= v->voltage_override_level) {
if ((i == number_of_states_plus_one || v->mode_support_without_immediate_flip[i][1] == dcn_bw_yes || v->mode_support_without_immediate_flip[i][0] == dcn_bw_yes) && i >= v->voltage_override_level) {
pipe->plane_state->format, &bpe) ? dcn_bw_yes : dcn_bw_no;
if (v->is_line_buffer_bpp_fixed == dcn_bw_yes)
.pte_enable = dcn_bw_yes,
dc->dml.ip.pte_enable = dc->dcn_ip->pte_enable == dcn_bw_yes;
dc->dml.ip.IsLineBufferBppFixed = dc->dcn_ip->is_line_buffer_bpp_fixed == dcn_bw_yes;
dc->dcn_ip->can_vstartup_lines_exceed_vsync_plus_back_porch_lines_minus_one == dcn_bw_yes;
dc->dcn_ip->bug_forcing_luma_and_chroma_request_to_same_size_fixed == dcn_bw_yes;
v->pte_enable == dcn_bw_yes,
v->allow_different_hratio_vratio = dcn_bw_yes;
v->dcc_enable[input_idx] = dcn_bw_yes;
v->dcc_enable[input_idx] = pipe->plane_state->dcc.enable ? dcn_bw_yes : dcn_bw_no;