[radeon-alex:drm-next-4.18-wip 21/83] drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:2725:1: warning: the frame size of 1028 bytes is larger than 1024 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.18-wip
head:   18f0a58d75166238d433efce0215b078d0b38e25
commit: 16052f0791cc439eefc9fdfb784db44044ad948e [21/83] drm/amd/display: fix Polaris 12 bw bounding box
config: i386-randconfig-b0-04061423 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 16052f0791cc439eefc9fdfb784db44044ad948e
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function 'bw_calcs_init':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:2725:1: warning: the frame size of 1028 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +2725 drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c

4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2019  
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2020  /*******************************************************************************
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2021   * Public functions
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2022   ******************************************************************************/
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2023  void bw_calcs_init(struct bw_calcs_dceip *bw_dceip,
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2024  	struct bw_calcs_vbios *bw_vbios,
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2025  	struct hw_asic_id asic_id)
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2026  {
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2027  	struct bw_calcs_dceip dceip = { 0 };
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2028  	struct bw_calcs_vbios vbios = { 0 };
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2029  
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2030  	enum bw_calcs_version version = bw_calcs_version_from_asic_id(asic_id);
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2031  
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2032  	dceip.version = version;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2033  
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2034  	switch (version) {
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2035  	case BW_CALCS_VERSION_CARRIZO:
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2036  		vbios.memory_type = bw_def_gddr5;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2037  		vbios.dram_channel_width_in_bits = 64;
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2038  		vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2039  		vbios.number_of_dram_banks = 8;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2040  		vbios.high_yclk = bw_int_to_fixed(1600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2041  		vbios.mid_yclk = bw_int_to_fixed(1600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2042  		vbios.low_yclk = bw_frc_to_fixed(66666, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2043  		vbios.low_sclk = bw_int_to_fixed(200);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2044  		vbios.mid1_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2045  		vbios.mid2_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2046  		vbios.mid3_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2047  		vbios.mid4_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2048  		vbios.mid5_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2049  		vbios.mid6_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2050  		vbios.high_sclk = bw_frc_to_fixed(62609, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2051  		vbios.low_voltage_max_dispclk = bw_int_to_fixed(352);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2052  		vbios.mid_voltage_max_dispclk = bw_int_to_fixed(467);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2053  		vbios.high_voltage_max_dispclk = bw_int_to_fixed(643);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2054  		vbios.low_voltage_max_phyclk = bw_int_to_fixed(540);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2055  		vbios.mid_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2056  		vbios.high_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2057  		vbios.data_return_bus_width = bw_int_to_fixed(32);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2058  		vbios.trc = bw_int_to_fixed(50);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2059  		vbios.dmifmc_urgent_latency = bw_int_to_fixed(4);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2060  		vbios.stutter_self_refresh_exit_latency = bw_frc_to_fixed(153, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2061  		vbios.stutter_self_refresh_entry_latency = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2062  		vbios.nbp_state_change_latency = bw_frc_to_fixed(19649, 1000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2063  		vbios.mcifwrmc_urgent_latency = bw_int_to_fixed(10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2064  		vbios.scatter_gather_enable = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2065  		vbios.down_spread_percentage = bw_frc_to_fixed(5, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2066  		vbios.cursor_width = 32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2067  		vbios.average_compression_rate = 4;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2068  		vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
fa4d6d8e drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Harry Wentland     2018-01-30  2069  		vbios.blackout_duration = bw_int_to_fixed(0); /* us */
fa4d6d8e drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Harry Wentland     2018-01-30  2070  		vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2071  
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2072  		dceip.max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2073  		dceip.max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2074  		dceip.percent_of_ideal_port_bw_received_after_urgent_latency = 100;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2075  		dceip.large_cursor = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2076  		dceip.dmif_request_buffer_size = bw_int_to_fixed(768);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2077  		dceip.dmif_pipe_en_fbc_chunk_tracker = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2078  		dceip.cursor_max_outstanding_group_num = 1;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2079  		dceip.lines_interleaved_into_lb = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2080  		dceip.chunk_width = 256;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2081  		dceip.number_of_graphics_pipes = 3;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2082  		dceip.number_of_underlay_pipes = 1;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2083  		dceip.low_power_tiling_mode = 0;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2084  		dceip.display_write_back_supported = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2085  		dceip.argb_compression_support = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2086  		dceip.underlay_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2087  			bw_frc_to_fixed(35556, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2088  		dceip.underlay_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2089  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2090  		dceip.underlay_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2091  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2092  		dceip.underlay_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2093  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2094  		dceip.graphics_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2095  			bw_frc_to_fixed(35, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2096  		dceip.graphics_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2097  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2098  		dceip.graphics_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2099  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2100  		dceip.graphics_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2101  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2102  		dceip.alpha_vscaler_efficiency = bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2103  		dceip.max_dmif_buffer_allocated = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2104  		dceip.graphics_dmif_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2105  		dceip.underlay_luma_dmif_size = 19456;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2106  		dceip.underlay_chroma_dmif_size = 23552;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2107  		dceip.pre_downscaler_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2108  		dceip.underlay_downscale_prefetch_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2109  		dceip.lb_write_pixels_per_dispclk = bw_int_to_fixed(1);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2110  		dceip.lb_size_per_component444 = bw_int_to_fixed(82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2111  		dceip.graphics_lb_nodownscaling_multi_line_prefetching = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2112  		dceip.stutter_and_dram_clock_state_change_gated_before_cursor =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2113  			bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2114  		dceip.underlay420_luma_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2115  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2116  		dceip.underlay420_chroma_lb_size_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2117  			bw_int_to_fixed(164352);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2118  		dceip.underlay422_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2119  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2120  		dceip.cursor_chunk_width = bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2121  		dceip.cursor_dcp_buffer_lines = bw_int_to_fixed(4);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2122  		dceip.underlay_maximum_width_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2123  			bw_int_to_fixed(1920);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2124  		dceip.underlay_maximum_height_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2125  			bw_int_to_fixed(1080);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2126  		dceip.peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2127  			bw_frc_to_fixed(3, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2128  		dceip.peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2129  			bw_int_to_fixed(25);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2130  		dceip.minimum_outstanding_pte_request_limit = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2131  			2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2132  		dceip.maximum_total_outstanding_pte_requests_allowed_by_saw =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2133  			bw_int_to_fixed(128);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2134  		dceip.limit_excessive_outstanding_dmif_requests = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2135  		dceip.linear_mode_line_request_alternation_slice =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2136  			bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2137  		dceip.scatter_gather_lines_of_pte_prefetching_in_linear_mode =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2138  			32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2139  		dceip.display_write_back420_luma_mcifwr_buffer_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2140  		dceip.display_write_back420_chroma_mcifwr_buffer_size = 8192;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2141  		dceip.request_efficiency = bw_frc_to_fixed(8, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2142  		dceip.dispclk_per_request = bw_int_to_fixed(2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2143  		dceip.dispclk_ramping_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2144  		dceip.display_pipe_throughput_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2145  		dceip.scatter_gather_pte_request_rows_in_tiling_mode = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2146  		dceip.mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); /* todo: this is a bug*/
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2147  		break;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2148  	case BW_CALCS_VERSION_POLARIS10:
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2149  		vbios.memory_type = bw_def_gddr5;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2150  		vbios.dram_channel_width_in_bits = 32;
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2151  		vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2152  		vbios.number_of_dram_banks = 8;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2153  		vbios.high_yclk = bw_int_to_fixed(6000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2154  		vbios.mid_yclk = bw_int_to_fixed(3200);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2155  		vbios.low_yclk = bw_int_to_fixed(1000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2156  		vbios.low_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2157  		vbios.mid1_sclk = bw_int_to_fixed(400);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2158  		vbios.mid2_sclk = bw_int_to_fixed(500);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2159  		vbios.mid3_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2160  		vbios.mid4_sclk = bw_int_to_fixed(700);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2161  		vbios.mid5_sclk = bw_int_to_fixed(800);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2162  		vbios.mid6_sclk = bw_int_to_fixed(974);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2163  		vbios.high_sclk = bw_int_to_fixed(1154);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2164  		vbios.low_voltage_max_dispclk = bw_int_to_fixed(459);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2165  		vbios.mid_voltage_max_dispclk = bw_int_to_fixed(654);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2166  		vbios.high_voltage_max_dispclk = bw_int_to_fixed(1108);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2167  		vbios.low_voltage_max_phyclk = bw_int_to_fixed(540);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2168  		vbios.mid_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2169  		vbios.high_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2170  		vbios.data_return_bus_width = bw_int_to_fixed(32);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2171  		vbios.trc = bw_int_to_fixed(48);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2172  		vbios.dmifmc_urgent_latency = bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2173  		vbios.stutter_self_refresh_exit_latency = bw_int_to_fixed(5);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2174  		vbios.stutter_self_refresh_entry_latency = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2175  		vbios.nbp_state_change_latency = bw_int_to_fixed(45);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2176  		vbios.mcifwrmc_urgent_latency = bw_int_to_fixed(10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2177  		vbios.scatter_gather_enable = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2178  		vbios.down_spread_percentage = bw_frc_to_fixed(5, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2179  		vbios.cursor_width = 32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2180  		vbios.average_compression_rate = 4;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2181  		vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2182  		vbios.blackout_duration = bw_int_to_fixed(0); /* us */
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2183  		vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2184  
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2185  		dceip.max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2186  		dceip.max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2187  		dceip.percent_of_ideal_port_bw_received_after_urgent_latency = 100;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2188  		dceip.large_cursor = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2189  		dceip.dmif_request_buffer_size = bw_int_to_fixed(768);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2190  		dceip.dmif_pipe_en_fbc_chunk_tracker = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2191  		dceip.cursor_max_outstanding_group_num = 1;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2192  		dceip.lines_interleaved_into_lb = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2193  		dceip.chunk_width = 256;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2194  		dceip.number_of_graphics_pipes = 6;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2195  		dceip.number_of_underlay_pipes = 0;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2196  		dceip.low_power_tiling_mode = 0;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2197  		dceip.display_write_back_supported = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2198  		dceip.argb_compression_support = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2199  		dceip.underlay_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2200  			bw_frc_to_fixed(35556, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2201  		dceip.underlay_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2202  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2203  		dceip.underlay_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2204  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2205  		dceip.underlay_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2206  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2207  		dceip.graphics_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2208  			bw_frc_to_fixed(35, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2209  		dceip.graphics_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2210  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2211  		dceip.graphics_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2212  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2213  		dceip.graphics_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2214  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2215  		dceip.alpha_vscaler_efficiency = bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2216  		dceip.max_dmif_buffer_allocated = 4;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2217  		dceip.graphics_dmif_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2218  		dceip.underlay_luma_dmif_size = 19456;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2219  		dceip.underlay_chroma_dmif_size = 23552;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2220  		dceip.pre_downscaler_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2221  		dceip.underlay_downscale_prefetch_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2222  		dceip.lb_write_pixels_per_dispclk = bw_int_to_fixed(1);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2223  		dceip.lb_size_per_component444 = bw_int_to_fixed(245952);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2224  		dceip.graphics_lb_nodownscaling_multi_line_prefetching = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2225  		dceip.stutter_and_dram_clock_state_change_gated_before_cursor =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2226  			bw_int_to_fixed(1);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2227  		dceip.underlay420_luma_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2228  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2229  		dceip.underlay420_chroma_lb_size_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2230  			bw_int_to_fixed(164352);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2231  		dceip.underlay422_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2232  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2233  		dceip.cursor_chunk_width = bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2234  		dceip.cursor_dcp_buffer_lines = bw_int_to_fixed(4);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2235  		dceip.underlay_maximum_width_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2236  			bw_int_to_fixed(1920);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2237  		dceip.underlay_maximum_height_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2238  			bw_int_to_fixed(1080);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2239  		dceip.peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2240  			bw_frc_to_fixed(3, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2241  		dceip.peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2242  			bw_int_to_fixed(25);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2243  		dceip.minimum_outstanding_pte_request_limit = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2244  			2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2245  		dceip.maximum_total_outstanding_pte_requests_allowed_by_saw =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2246  			bw_int_to_fixed(128);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2247  		dceip.limit_excessive_outstanding_dmif_requests = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2248  		dceip.linear_mode_line_request_alternation_slice =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2249  			bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2250  		dceip.scatter_gather_lines_of_pte_prefetching_in_linear_mode =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2251  			32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2252  		dceip.display_write_back420_luma_mcifwr_buffer_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2253  		dceip.display_write_back420_chroma_mcifwr_buffer_size = 8192;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2254  		dceip.request_efficiency = bw_frc_to_fixed(8, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2255  		dceip.dispclk_per_request = bw_int_to_fixed(2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2256  		dceip.dispclk_ramping_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2257  		dceip.display_pipe_throughput_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2258  		dceip.scatter_gather_pte_request_rows_in_tiling_mode = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2259  		dceip.mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2260  		break;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2261  	case BW_CALCS_VERSION_POLARIS11:
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2262  		vbios.memory_type = bw_def_gddr5;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2263  		vbios.dram_channel_width_in_bits = 32;
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2264  		vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2265  		vbios.number_of_dram_banks = 8;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2266  		vbios.high_yclk = bw_int_to_fixed(6000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2267  		vbios.mid_yclk = bw_int_to_fixed(3200);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2268  		vbios.low_yclk = bw_int_to_fixed(1000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2269  		vbios.low_sclk = bw_int_to_fixed(300);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2270  		vbios.mid1_sclk = bw_int_to_fixed(400);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2271  		vbios.mid2_sclk = bw_int_to_fixed(500);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2272  		vbios.mid3_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2273  		vbios.mid4_sclk = bw_int_to_fixed(700);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2274  		vbios.mid5_sclk = bw_int_to_fixed(800);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2275  		vbios.mid6_sclk = bw_int_to_fixed(974);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2276  		vbios.high_sclk = bw_int_to_fixed(1154);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2277  		vbios.low_voltage_max_dispclk = bw_int_to_fixed(459);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2278  		vbios.mid_voltage_max_dispclk = bw_int_to_fixed(654);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2279  		vbios.high_voltage_max_dispclk = bw_int_to_fixed(1108);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2280  		vbios.low_voltage_max_phyclk = bw_int_to_fixed(540);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2281  		vbios.mid_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2282  		vbios.high_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2283  		vbios.data_return_bus_width = bw_int_to_fixed(32);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2284  		vbios.trc = bw_int_to_fixed(48);
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2285  		if (vbios.number_of_dram_channels == 2) // 64-bit
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2286  			vbios.dmifmc_urgent_latency = bw_int_to_fixed(4);
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2287  		else
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2288  			vbios.dmifmc_urgent_latency = bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2289  		vbios.stutter_self_refresh_exit_latency = bw_int_to_fixed(5);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2290  		vbios.stutter_self_refresh_entry_latency = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2291  		vbios.nbp_state_change_latency = bw_int_to_fixed(45);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2292  		vbios.mcifwrmc_urgent_latency = bw_int_to_fixed(10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2293  		vbios.scatter_gather_enable = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2294  		vbios.down_spread_percentage = bw_frc_to_fixed(5, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2295  		vbios.cursor_width = 32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2296  		vbios.average_compression_rate = 4;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2297  		vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2298  		vbios.blackout_duration = bw_int_to_fixed(0); /* us */
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2299  		vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2300  
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2301  		dceip.max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2302  		dceip.max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2303  		dceip.percent_of_ideal_port_bw_received_after_urgent_latency = 100;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2304  		dceip.large_cursor = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2305  		dceip.dmif_request_buffer_size = bw_int_to_fixed(768);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2306  		dceip.dmif_pipe_en_fbc_chunk_tracker = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2307  		dceip.cursor_max_outstanding_group_num = 1;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2308  		dceip.lines_interleaved_into_lb = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2309  		dceip.chunk_width = 256;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2310  		dceip.number_of_graphics_pipes = 5;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2311  		dceip.number_of_underlay_pipes = 0;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2312  		dceip.low_power_tiling_mode = 0;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2313  		dceip.display_write_back_supported = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2314  		dceip.argb_compression_support = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2315  		dceip.underlay_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2316  			bw_frc_to_fixed(35556, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2317  		dceip.underlay_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2318  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2319  		dceip.underlay_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2320  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2321  		dceip.underlay_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2322  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2323  		dceip.graphics_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2324  			bw_frc_to_fixed(35, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2325  		dceip.graphics_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2326  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2327  		dceip.graphics_vscaler_efficiency10_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2328  			bw_frc_to_fixed(32, 10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2329  		dceip.graphics_vscaler_efficiency12_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2330  			bw_int_to_fixed(3);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2331  		dceip.alpha_vscaler_efficiency = bw_int_to_fixed(3);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2332  		dceip.max_dmif_buffer_allocated = 4;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2333  		dceip.graphics_dmif_size = 12288;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2334  		dceip.underlay_luma_dmif_size = 19456;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2335  		dceip.underlay_chroma_dmif_size = 23552;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2336  		dceip.pre_downscaler_enabled = true;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2337  		dceip.underlay_downscale_prefetch_enabled = true;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2338  		dceip.lb_write_pixels_per_dispclk = bw_int_to_fixed(1);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2339  		dceip.lb_size_per_component444 = bw_int_to_fixed(245952);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2340  		dceip.graphics_lb_nodownscaling_multi_line_prefetching = true;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2341  		dceip.stutter_and_dram_clock_state_change_gated_before_cursor =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2342  			bw_int_to_fixed(1);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2343  		dceip.underlay420_luma_lb_size_per_component = bw_int_to_fixed(
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2344  			82176);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2345  		dceip.underlay420_chroma_lb_size_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2346  			bw_int_to_fixed(164352);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2347  		dceip.underlay422_lb_size_per_component = bw_int_to_fixed(
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2348  			82176);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2349  		dceip.cursor_chunk_width = bw_int_to_fixed(64);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2350  		dceip.cursor_dcp_buffer_lines = bw_int_to_fixed(4);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2351  		dceip.underlay_maximum_width_efficient_for_tiling =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2352  			bw_int_to_fixed(1920);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2353  		dceip.underlay_maximum_height_efficient_for_tiling =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2354  			bw_int_to_fixed(1080);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2355  		dceip.peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2356  			bw_frc_to_fixed(3, 10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2357  		dceip.peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2358  			bw_int_to_fixed(25);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2359  		dceip.minimum_outstanding_pte_request_limit = bw_int_to_fixed(
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2360  			2);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2361  		dceip.maximum_total_outstanding_pte_requests_allowed_by_saw =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2362  			bw_int_to_fixed(128);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2363  		dceip.limit_excessive_outstanding_dmif_requests = true;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2364  		dceip.linear_mode_line_request_alternation_slice =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2365  			bw_int_to_fixed(64);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2366  		dceip.scatter_gather_lines_of_pte_prefetching_in_linear_mode =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2367  			32;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2368  		dceip.display_write_back420_luma_mcifwr_buffer_size = 12288;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2369  		dceip.display_write_back420_chroma_mcifwr_buffer_size = 8192;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2370  		dceip.request_efficiency = bw_frc_to_fixed(8, 10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2371  		dceip.dispclk_per_request = bw_int_to_fixed(2);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2372  		dceip.dispclk_ramping_factor = bw_frc_to_fixed(105, 100);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2373  		dceip.display_pipe_throughput_factor = bw_frc_to_fixed(105, 100);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2374  		dceip.scatter_gather_pte_request_rows_in_tiling_mode = 2;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2375  		dceip.mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2376  		break;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2377  	case BW_CALCS_VERSION_POLARIS12:
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2378  		vbios.memory_type = bw_def_gddr5;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2379  		vbios.dram_channel_width_in_bits = 32;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2380  		vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2381  		vbios.number_of_dram_banks = 8;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2382  		vbios.high_yclk = bw_int_to_fixed(6000);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2383  		vbios.mid_yclk = bw_int_to_fixed(3200);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2384  		vbios.low_yclk = bw_int_to_fixed(1000);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2385  		vbios.low_sclk = bw_int_to_fixed(678);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2386  		vbios.mid1_sclk = bw_int_to_fixed(864);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2387  		vbios.mid2_sclk = bw_int_to_fixed(900);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2388  		vbios.mid3_sclk = bw_int_to_fixed(920);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2389  		vbios.mid4_sclk = bw_int_to_fixed(940);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2390  		vbios.mid5_sclk = bw_int_to_fixed(960);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2391  		vbios.mid6_sclk = bw_int_to_fixed(980);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2392  		vbios.high_sclk = bw_int_to_fixed(1049);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2393  		vbios.low_voltage_max_dispclk = bw_int_to_fixed(459);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2394  		vbios.mid_voltage_max_dispclk = bw_int_to_fixed(654);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2395  		vbios.high_voltage_max_dispclk = bw_int_to_fixed(1108);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2396  		vbios.low_voltage_max_phyclk = bw_int_to_fixed(540);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2397  		vbios.mid_voltage_max_phyclk = bw_int_to_fixed(810);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2398  		vbios.high_voltage_max_phyclk = bw_int_to_fixed(810);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2399  		vbios.data_return_bus_width = bw_int_to_fixed(32);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2400  		vbios.trc = bw_int_to_fixed(48);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2401  		if (vbios.number_of_dram_channels == 2) // 64-bit
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2402  			vbios.dmifmc_urgent_latency = bw_int_to_fixed(4);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2403  		else
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2404  			vbios.dmifmc_urgent_latency = bw_int_to_fixed(3);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2405  		vbios.stutter_self_refresh_exit_latency = bw_int_to_fixed(5);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2406  		vbios.stutter_self_refresh_entry_latency = bw_int_to_fixed(0);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2407  		vbios.nbp_state_change_latency = bw_int_to_fixed(250);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2408  		vbios.mcifwrmc_urgent_latency = bw_int_to_fixed(10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2409  		vbios.scatter_gather_enable = false;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2410  		vbios.down_spread_percentage = bw_frc_to_fixed(5, 10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2411  		vbios.cursor_width = 32;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2412  		vbios.average_compression_rate = 4;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2413  		vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2414  		vbios.blackout_duration = bw_int_to_fixed(0); /* us */
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2415  		vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2416  
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2417  		dceip.max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2418  		dceip.max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2419  		dceip.percent_of_ideal_port_bw_received_after_urgent_latency = 100;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2420  		dceip.large_cursor = false;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2421  		dceip.dmif_request_buffer_size = bw_int_to_fixed(768);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2422  		dceip.dmif_pipe_en_fbc_chunk_tracker = false;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2423  		dceip.cursor_max_outstanding_group_num = 1;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2424  		dceip.lines_interleaved_into_lb = 2;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2425  		dceip.chunk_width = 256;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2426  		dceip.number_of_graphics_pipes = 5;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2427  		dceip.number_of_underlay_pipes = 0;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2428  		dceip.low_power_tiling_mode = 0;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2429  		dceip.display_write_back_supported = true;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2430  		dceip.argb_compression_support = true;
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2431  		dceip.underlay_vscaler_efficiency6_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2432  			bw_frc_to_fixed(35556, 10000);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2433  		dceip.underlay_vscaler_efficiency8_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2434  			bw_frc_to_fixed(34286, 10000);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2435  		dceip.underlay_vscaler_efficiency10_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2436  			bw_frc_to_fixed(32, 10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2437  		dceip.underlay_vscaler_efficiency12_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2438  			bw_int_to_fixed(3);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2439  		dceip.graphics_vscaler_efficiency6_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2440  			bw_frc_to_fixed(35, 10);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2441  		dceip.graphics_vscaler_efficiency8_bit_per_component =
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2442  			bw_frc_to_fixed(34286, 10000);
16052f07 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-03-08  2443  		dceip.graphics_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2444  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2445  		dceip.graphics_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2446  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2447  		dceip.alpha_vscaler_efficiency = bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2448  		dceip.max_dmif_buffer_allocated = 4;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2449  		dceip.graphics_dmif_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2450  		dceip.underlay_luma_dmif_size = 19456;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2451  		dceip.underlay_chroma_dmif_size = 23552;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2452  		dceip.pre_downscaler_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2453  		dceip.underlay_downscale_prefetch_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2454  		dceip.lb_write_pixels_per_dispclk = bw_int_to_fixed(1);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2455  		dceip.lb_size_per_component444 = bw_int_to_fixed(245952);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2456  		dceip.graphics_lb_nodownscaling_multi_line_prefetching = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2457  		dceip.stutter_and_dram_clock_state_change_gated_before_cursor =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2458  			bw_int_to_fixed(1);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2459  		dceip.underlay420_luma_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2460  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2461  		dceip.underlay420_chroma_lb_size_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2462  			bw_int_to_fixed(164352);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2463  		dceip.underlay422_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2464  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2465  		dceip.cursor_chunk_width = bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2466  		dceip.cursor_dcp_buffer_lines = bw_int_to_fixed(4);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2467  		dceip.underlay_maximum_width_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2468  			bw_int_to_fixed(1920);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2469  		dceip.underlay_maximum_height_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2470  			bw_int_to_fixed(1080);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2471  		dceip.peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2472  			bw_frc_to_fixed(3, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2473  		dceip.peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2474  			bw_int_to_fixed(25);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2475  		dceip.minimum_outstanding_pte_request_limit = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2476  			2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2477  		dceip.maximum_total_outstanding_pte_requests_allowed_by_saw =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2478  			bw_int_to_fixed(128);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2479  		dceip.limit_excessive_outstanding_dmif_requests = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2480  		dceip.linear_mode_line_request_alternation_slice =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2481  			bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2482  		dceip.scatter_gather_lines_of_pte_prefetching_in_linear_mode =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2483  			32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2484  		dceip.display_write_back420_luma_mcifwr_buffer_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2485  		dceip.display_write_back420_chroma_mcifwr_buffer_size = 8192;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2486  		dceip.request_efficiency = bw_frc_to_fixed(8, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2487  		dceip.dispclk_per_request = bw_int_to_fixed(2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2488  		dceip.dispclk_ramping_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2489  		dceip.display_pipe_throughput_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2490  		dceip.scatter_gather_pte_request_rows_in_tiling_mode = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2491  		dceip.mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2492  		break;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2493  	case BW_CALCS_VERSION_STONEY:
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2494  		vbios.memory_type = bw_def_gddr5;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2495  		vbios.dram_channel_width_in_bits = 64;
00c91d0d drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Joshua Aberback    2017-01-09  2496  		vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2497  		vbios.number_of_dram_banks = 8;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2498  		vbios.high_yclk = bw_int_to_fixed(1866);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2499  		vbios.mid_yclk = bw_int_to_fixed(1866);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2500  		vbios.low_yclk = bw_int_to_fixed(1333);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2501  		vbios.low_sclk = bw_int_to_fixed(200);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2502  		vbios.mid1_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2503  		vbios.mid2_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2504  		vbios.mid3_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2505  		vbios.mid4_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2506  		vbios.mid5_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2507  		vbios.mid6_sclk = bw_int_to_fixed(600);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2508  		vbios.high_sclk = bw_int_to_fixed(800);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2509  		vbios.low_voltage_max_dispclk = bw_int_to_fixed(352);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2510  		vbios.mid_voltage_max_dispclk = bw_int_to_fixed(467);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2511  		vbios.high_voltage_max_dispclk = bw_int_to_fixed(643);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2512  		vbios.low_voltage_max_phyclk = bw_int_to_fixed(540);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2513  		vbios.mid_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2514  		vbios.high_voltage_max_phyclk = bw_int_to_fixed(810);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2515  		vbios.data_return_bus_width = bw_int_to_fixed(32);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2516  		vbios.trc = bw_int_to_fixed(50);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2517  		vbios.dmifmc_urgent_latency = bw_int_to_fixed(4);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2518  		vbios.stutter_self_refresh_exit_latency = bw_frc_to_fixed(158, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2519  		vbios.stutter_self_refresh_entry_latency = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2520  		vbios.nbp_state_change_latency = bw_frc_to_fixed(2008, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2521  		vbios.mcifwrmc_urgent_latency = bw_int_to_fixed(10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2522  		vbios.scatter_gather_enable = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2523  		vbios.down_spread_percentage = bw_frc_to_fixed(5, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2524  		vbios.cursor_width = 32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2525  		vbios.average_compression_rate = 4;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2526  		vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
fa4d6d8e drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Harry Wentland     2018-01-30  2527  		vbios.blackout_duration = bw_int_to_fixed(0); /* us */
fa4d6d8e drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Harry Wentland     2018-01-30  2528  		vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2529  
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2530  		dceip.max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2531  		dceip.max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2532  		dceip.percent_of_ideal_port_bw_received_after_urgent_latency = 100;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2533  		dceip.large_cursor = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2534  		dceip.dmif_request_buffer_size = bw_int_to_fixed(768);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2535  		dceip.dmif_pipe_en_fbc_chunk_tracker = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2536  		dceip.cursor_max_outstanding_group_num = 1;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2537  		dceip.lines_interleaved_into_lb = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2538  		dceip.chunk_width = 256;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2539  		dceip.number_of_graphics_pipes = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2540  		dceip.number_of_underlay_pipes = 1;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2541  		dceip.low_power_tiling_mode = 0;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2542  		dceip.display_write_back_supported = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2543  		dceip.argb_compression_support = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2544  		dceip.underlay_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2545  			bw_frc_to_fixed(35556, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2546  		dceip.underlay_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2547  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2548  		dceip.underlay_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2549  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2550  		dceip.underlay_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2551  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2552  		dceip.graphics_vscaler_efficiency6_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2553  			bw_frc_to_fixed(35, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2554  		dceip.graphics_vscaler_efficiency8_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2555  			bw_frc_to_fixed(34286, 10000);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2556  		dceip.graphics_vscaler_efficiency10_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2557  			bw_frc_to_fixed(32, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2558  		dceip.graphics_vscaler_efficiency12_bit_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2559  			bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2560  		dceip.alpha_vscaler_efficiency = bw_int_to_fixed(3);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2561  		dceip.max_dmif_buffer_allocated = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2562  		dceip.graphics_dmif_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2563  		dceip.underlay_luma_dmif_size = 19456;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2564  		dceip.underlay_chroma_dmif_size = 23552;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2565  		dceip.pre_downscaler_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2566  		dceip.underlay_downscale_prefetch_enabled = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2567  		dceip.lb_write_pixels_per_dispclk = bw_int_to_fixed(1);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2568  		dceip.lb_size_per_component444 = bw_int_to_fixed(82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2569  		dceip.graphics_lb_nodownscaling_multi_line_prefetching = false;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2570  		dceip.stutter_and_dram_clock_state_change_gated_before_cursor =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2571  			bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2572  		dceip.underlay420_luma_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2573  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2574  		dceip.underlay420_chroma_lb_size_per_component =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2575  			bw_int_to_fixed(164352);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2576  		dceip.underlay422_lb_size_per_component = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2577  			82176);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2578  		dceip.cursor_chunk_width = bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2579  		dceip.cursor_dcp_buffer_lines = bw_int_to_fixed(4);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2580  		dceip.underlay_maximum_width_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2581  			bw_int_to_fixed(1920);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2582  		dceip.underlay_maximum_height_efficient_for_tiling =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2583  			bw_int_to_fixed(1080);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2584  		dceip.peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2585  			bw_frc_to_fixed(3, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2586  		dceip.peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2587  			bw_int_to_fixed(25);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2588  		dceip.minimum_outstanding_pte_request_limit = bw_int_to_fixed(
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2589  			2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2590  		dceip.maximum_total_outstanding_pte_requests_allowed_by_saw =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2591  			bw_int_to_fixed(128);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2592  		dceip.limit_excessive_outstanding_dmif_requests = true;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2593  		dceip.linear_mode_line_request_alternation_slice =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2594  			bw_int_to_fixed(64);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2595  		dceip.scatter_gather_lines_of_pte_prefetching_in_linear_mode =
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2596  			32;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2597  		dceip.display_write_back420_luma_mcifwr_buffer_size = 12288;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2598  		dceip.display_write_back420_chroma_mcifwr_buffer_size = 8192;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2599  		dceip.request_efficiency = bw_frc_to_fixed(8, 10);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2600  		dceip.dispclk_per_request = bw_int_to_fixed(2);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2601  		dceip.dispclk_ramping_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2602  		dceip.display_pipe_throughput_factor = bw_frc_to_fixed(105, 100);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2603  		dceip.scatter_gather_pte_request_rows_in_tiling_mode = 2;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2604  		dceip.mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0);
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2605  		break;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2606  	case BW_CALCS_VERSION_VEGA10:
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2607  		vbios.memory_type = bw_def_hbm;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2608  		vbios.dram_channel_width_in_bits = 128;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2609  		vbios.number_of_dram_channels = asic_id.vram_width / vbios.dram_channel_width_in_bits;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2610  		vbios.number_of_dram_banks = 16;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2611  		vbios.high_yclk = bw_int_to_fixed(2400);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2612  		vbios.mid_yclk = bw_int_to_fixed(1700);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2613  		vbios.low_yclk = bw_int_to_fixed(1000);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2614  		vbios.low_sclk = bw_int_to_fixed(300);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2615  		vbios.mid1_sclk = bw_int_to_fixed(350);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2616  		vbios.mid2_sclk = bw_int_to_fixed(400);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2617  		vbios.mid3_sclk = bw_int_to_fixed(500);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2618  		vbios.mid4_sclk = bw_int_to_fixed(600);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2619  		vbios.mid5_sclk = bw_int_to_fixed(700);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2620  		vbios.mid6_sclk = bw_int_to_fixed(760);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2621  		vbios.high_sclk = bw_int_to_fixed(776);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2622  		vbios.low_voltage_max_dispclk = bw_int_to_fixed(460);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2623  		vbios.mid_voltage_max_dispclk = bw_int_to_fixed(670);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2624  		vbios.high_voltage_max_dispclk = bw_int_to_fixed(1133);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2625  		vbios.low_voltage_max_phyclk = bw_int_to_fixed(540);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2626  		vbios.mid_voltage_max_phyclk = bw_int_to_fixed(810);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2627  		vbios.high_voltage_max_phyclk = bw_int_to_fixed(810);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2628  		vbios.data_return_bus_width = bw_int_to_fixed(32);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2629  		vbios.trc = bw_int_to_fixed(48);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2630  		vbios.dmifmc_urgent_latency = bw_int_to_fixed(3);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2631  		vbios.stutter_self_refresh_exit_latency = bw_frc_to_fixed(75, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2632  		vbios.stutter_self_refresh_entry_latency = bw_frc_to_fixed(19, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2633  		vbios.nbp_state_change_latency = bw_int_to_fixed(39);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2634  		vbios.mcifwrmc_urgent_latency = bw_int_to_fixed(10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2635  		vbios.scatter_gather_enable = false;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2636  		vbios.down_spread_percentage = bw_frc_to_fixed(5, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2637  		vbios.cursor_width = 32;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2638  		vbios.average_compression_rate = 4;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2639  		vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 8;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2640  		vbios.blackout_duration = bw_int_to_fixed(0); /* us */
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2641  		vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2642  
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2643  		dceip.max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2644  		dceip.max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100;
e36ec859 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Dmytro Laktyushkin 2018-02-26  2645  		dceip.percent_of_ideal_port_bw_received_after_urgent_latency = 100;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2646  		dceip.large_cursor = false;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2647  		dceip.dmif_request_buffer_size = bw_int_to_fixed(2304);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2648  		dceip.dmif_pipe_en_fbc_chunk_tracker = true;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2649  		dceip.cursor_max_outstanding_group_num = 1;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2650  		dceip.lines_interleaved_into_lb = 2;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2651  		dceip.chunk_width = 256;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2652  		dceip.number_of_graphics_pipes = 6;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2653  		dceip.number_of_underlay_pipes = 0;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2654  		dceip.low_power_tiling_mode = 0;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2655  		dceip.display_write_back_supported = true;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2656  		dceip.argb_compression_support = true;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2657  		dceip.underlay_vscaler_efficiency6_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2658  			bw_frc_to_fixed(35556, 10000);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2659  		dceip.underlay_vscaler_efficiency8_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2660  			bw_frc_to_fixed(34286, 10000);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2661  		dceip.underlay_vscaler_efficiency10_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2662  			bw_frc_to_fixed(32, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2663  		dceip.underlay_vscaler_efficiency12_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2664  			bw_int_to_fixed(3);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2665  		dceip.graphics_vscaler_efficiency6_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2666  			bw_frc_to_fixed(35, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2667  		dceip.graphics_vscaler_efficiency8_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2668  			bw_frc_to_fixed(34286, 10000);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2669  		dceip.graphics_vscaler_efficiency10_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2670  			bw_frc_to_fixed(32, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2671  		dceip.graphics_vscaler_efficiency12_bit_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2672  			bw_int_to_fixed(3);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2673  		dceip.alpha_vscaler_efficiency = bw_int_to_fixed(3);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2674  		dceip.max_dmif_buffer_allocated = 4;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2675  		dceip.graphics_dmif_size = 24576;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2676  		dceip.underlay_luma_dmif_size = 19456;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2677  		dceip.underlay_chroma_dmif_size = 23552;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2678  		dceip.pre_downscaler_enabled = true;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2679  		dceip.underlay_downscale_prefetch_enabled = false;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2680  		dceip.lb_write_pixels_per_dispclk = bw_int_to_fixed(1);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2681  		dceip.lb_size_per_component444 = bw_int_to_fixed(245952);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2682  		dceip.graphics_lb_nodownscaling_multi_line_prefetching = true;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2683  		dceip.stutter_and_dram_clock_state_change_gated_before_cursor =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2684  			bw_int_to_fixed(1);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2685  		dceip.underlay420_luma_lb_size_per_component = bw_int_to_fixed(
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2686  			82176);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2687  		dceip.underlay420_chroma_lb_size_per_component =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2688  			bw_int_to_fixed(164352);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2689  		dceip.underlay422_lb_size_per_component = bw_int_to_fixed(
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2690  			82176);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2691  		dceip.cursor_chunk_width = bw_int_to_fixed(64);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2692  		dceip.cursor_dcp_buffer_lines = bw_int_to_fixed(4);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2693  		dceip.underlay_maximum_width_efficient_for_tiling =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2694  			bw_int_to_fixed(1920);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2695  		dceip.underlay_maximum_height_efficient_for_tiling =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2696  			bw_int_to_fixed(1080);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2697  		dceip.peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2698  			bw_frc_to_fixed(3, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2699  		dceip.peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2700  			bw_int_to_fixed(25);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2701  		dceip.minimum_outstanding_pte_request_limit = bw_int_to_fixed(
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2702  			2);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2703  		dceip.maximum_total_outstanding_pte_requests_allowed_by_saw =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2704  			bw_int_to_fixed(128);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2705  		dceip.limit_excessive_outstanding_dmif_requests = true;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2706  		dceip.linear_mode_line_request_alternation_slice =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2707  			bw_int_to_fixed(64);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2708  		dceip.scatter_gather_lines_of_pte_prefetching_in_linear_mode =
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2709  			32;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2710  		dceip.display_write_back420_luma_mcifwr_buffer_size = 12288;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2711  		dceip.display_write_back420_chroma_mcifwr_buffer_size = 8192;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2712  		dceip.request_efficiency = bw_frc_to_fixed(8, 10);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2713  		dceip.dispclk_per_request = bw_int_to_fixed(2);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2714  		dceip.dispclk_ramping_factor = bw_frc_to_fixed(105, 100);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2715  		dceip.display_pipe_throughput_factor = bw_frc_to_fixed(105, 100);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2716  		dceip.scatter_gather_pte_request_rows_in_tiling_mode = 2;
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2717  		dceip.mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0);
2c8ad2d5 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c       Alex Deucher       2017-06-15  2718  		break;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2719  	default:
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2720  		break;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2721  	}
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2722  	*bw_dceip = dceip;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2723  	*bw_vbios = vbios;
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2724  
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12 @2725  }
4562236b drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c Harry Wentland     2017-09-12  2726  

:::::: The code at line 2725 was first introduced by commit
:::::: 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c drm/amd/dc: Add dc display driver (v2)

:::::: TO: Harry Wentland <harry.wentland@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux