sclk_level 207 drivers/gpu/drm/amd/display/dc/calcs/calcs_logger.h DC_LOG_BANDWIDTH_CALCS(" [uint32_t] sclk_level: %d", data->sclk_level); sclk_level 1573 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_high; sclk_level 1578 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_high; sclk_level 1585 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_low; sclk_level 1591 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_mid1; sclk_level 1597 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_mid2; sclk_level 1603 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_mid3; sclk_level 1609 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_mid4; sclk_level 1615 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_mid5; sclk_level 1621 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_mid6; sclk_level 1627 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_high; sclk_level 1633 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_high; sclk_level 1638 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->sclk_level = s_high; sclk_level 1733 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_dispclk_required_with_ramping_with_request_bandwidth = bw_max3(data->total_dispclk_required_with_ramping_with_request_bandwidth, data->dispclk_required_for_blackout_duration[data->y_clk_level][data->sclk_level], data->dispclk_required_for_blackout_recovery[data->y_clk_level][data->sclk_level]); sclk_level 1734 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_dispclk_required_without_ramping_with_request_bandwidth = bw_max3(data->total_dispclk_required_without_ramping_with_request_bandwidth, data->dispclk_required_for_blackout_duration[data->y_clk_level][data->sclk_level], data->dispclk_required_for_blackout_recovery[data->y_clk_level][data->sclk_level]); sclk_level 1737 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_dispclk_required_with_ramping_with_request_bandwidth = bw_max2(data->total_dispclk_required_with_ramping_with_request_bandwidth, data->dispclk_required_for_blackout_duration[data->y_clk_level][data->sclk_level]); sclk_level 1738 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_dispclk_required_without_ramping_with_request_bandwidth = bw_max2(data->total_dispclk_required_without_ramping_with_request_bandwidth, data->dispclk_required_for_blackout_duration[data->y_clk_level][data->sclk_level]); sclk_level 1741 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_dispclk_required_with_ramping_with_request_bandwidth = bw_max2(data->total_dispclk_required_with_ramping_with_request_bandwidth, data->dispclk_required_for_dram_speed_change[data->y_clk_level][data->sclk_level]); sclk_level 1742 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_dispclk_required_without_ramping_with_request_bandwidth = bw_max2(data->total_dispclk_required_without_ramping_with_request_bandwidth, data->dispclk_required_for_dram_speed_change[data->y_clk_level][data->sclk_level]); sclk_level 1795 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->blackout_recovery_time = bw_max2(data->blackout_recovery_time, bw_add(bw_mul(bw_int_to_fixed(2), data->total_dmifmc_urgent_latency), data->dmif_burst_time[data->y_clk_level][data->sclk_level])); sclk_level 1796 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (bw_ltn(data->adjusted_data_buffer_size[k], bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), (bw_add(vbios->blackout_duration, bw_add(bw_mul(bw_int_to_fixed(2), data->total_dmifmc_urgent_latency), data->dmif_burst_time[data->y_clk_level][data->sclk_level])))))) { sclk_level 1797 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->blackout_recovery_time = bw_max2(data->blackout_recovery_time, bw_div((bw_add(bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), vbios->blackout_duration), bw_sub(bw_div(bw_mul(bw_mul(bw_mul((bw_add(bw_mul(bw_int_to_fixed(2), data->total_dmifmc_urgent_latency), data->dmif_burst_time[data->y_clk_level][data->sclk_level])), data->dispclk), bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), data->adjusted_data_buffer_size[k]))), (bw_sub(bw_div(bw_mul(bw_mul(data->dispclk, bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]))))); sclk_level 1801 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->blackout_recovery_time = bw_max2(data->blackout_recovery_time, bw_add(bw_mul(bw_int_to_fixed(2), vbios->mcifwrmc_urgent_latency), data->mcifwr_burst_time[data->y_clk_level][data->sclk_level])); sclk_level 1802 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (bw_ltn(data->adjusted_data_buffer_size[k], bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), (bw_add(vbios->blackout_duration, bw_add(bw_mul(bw_int_to_fixed(2), vbios->mcifwrmc_urgent_latency), data->mcifwr_burst_time[data->y_clk_level][data->sclk_level])))))) { sclk_level 1803 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->blackout_recovery_time = bw_max2(data->blackout_recovery_time, bw_div((bw_add(bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), vbios->blackout_duration), bw_sub(bw_div(bw_mul(bw_mul(bw_mul((bw_add(bw_add(bw_mul(bw_int_to_fixed(2), vbios->mcifwrmc_urgent_latency), data->dmif_burst_time[data->y_clk_level][data->sclk_level]), data->mcifwr_burst_time[data->y_clk_level][data->sclk_level])), data->dispclk), bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), data->adjusted_data_buffer_size[k]))), (bw_sub(bw_div(bw_mul(bw_mul(data->dispclk, bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]))))); sclk_level 1850 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->chunk_request_time = bw_add(data->chunk_request_time, (bw_div((bw_div(bw_int_to_fixed(pixels_per_chunk * data->bytes_per_pixel[i]), data->useful_bytes_per_request[i])), bw_min2(sclk[data->sclk_level], bw_div(data->dispclk, bw_int_to_fixed(2)))))); sclk_level 1854 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->cursor_request_time = (bw_div(data->cursor_total_data, (bw_mul(bw_int_to_fixed(32), sclk[data->sclk_level])))); sclk_level 1859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->urgent_watermark[i] = bw_add(bw_add(bw_add(bw_add(bw_add(data->total_dmifmc_urgent_latency, data->dmif_burst_time[data->y_clk_level][data->sclk_level]), bw_max2(data->line_source_pixels_transfer_time, data->line_source_transfer_time[i][data->y_clk_level][data->sclk_level])), vbios->blackout_duration), data->chunk_request_time), data->cursor_request_time); sclk_level 1864 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->nbp_state_change_watermark[i] = bw_add(bw_add(vbios->nbp_state_change_latency, data->dmif_burst_time[data->y_clk_level][data->sclk_level]), bw_max2(data->line_source_pixels_transfer_time, data->dram_speed_change_line_source_transfer_time[i][data->y_clk_level][data->sclk_level])); sclk_level 1872 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->urgent_watermark[i] = bw_add(bw_add(bw_add(bw_add(bw_add(vbios->mcifwrmc_urgent_latency, data->mcifwr_burst_time[data->y_clk_level][data->sclk_level]), bw_max2(data->line_source_pixels_transfer_time, data->line_source_transfer_time[i][data->y_clk_level][data->sclk_level])), vbios->blackout_duration), data->chunk_request_time), data->cursor_request_time); sclk_level 1876 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->nbp_state_change_watermark[i] = bw_add(bw_add(vbios->nbp_state_change_latency, data->mcifwr_burst_time[data->y_clk_level][data->sclk_level]), bw_max2(data->line_source_pixels_transfer_time, data->dram_speed_change_line_source_transfer_time[i][data->y_clk_level][data->sclk_level])); sclk_level 1947 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->stutter_burst_time = bw_div(bw_int_to_fixed(data->total_stutter_dmif_buffer_size), bw_mul(sclk[data->sclk_level], vbios->data_return_bus_width)); sclk_level 1976 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->latency_for_non_dmif_clients = bw_add(data->total_dmifmc_urgent_latency, data->dmif_burst_time[data->y_clk_level][data->sclk_level]); sclk_level 3055 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c sclk_lvl = data->sclk_level; sclk_level 256 drivers/gpu/drm/amd/display/dc/inc/dce_calcs.h uint32_t sclk_level;