Home
last modified time | relevance | path

Searched refs:bw_frc_to_fixed (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c1010 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1012 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1014 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1016 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1018 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1020 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1022 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1024 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1033 dc->bw_vbios->low_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1035 dc->bw_vbios->mid_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c549 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875ul, 100000000), bw_int_to_f… in calculate_bandwidth()
552 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(300234375, 10000000), bw_int_to_fixed… in calculate_bandwidth()
602 data->dram_efficiency = bw_frc_to_fixed(5, 10); in calculate_bandwidth()
622 data->dram_efficiency = bw_frc_to_fixed(5, 10); in calculate_bandwidth()
624 data->dram_efficiency = bw_frc_to_fixed(8, 10); in calculate_bandwidth()
790 …ta->vsr[i]), bw_mul(bw_mul(bw_int_to_fixed(data->interlace_mode[i]), bw_frc_to_fixed(5, 10)), data… in calculate_bandwidth()
823 bw_frc_to_fixed(4, 3))) { in calculate_bandwidth()
826 bw_frc_to_fixed(6, 4))) { in calculate_bandwidth()
1188 …equired_data, (bw_mul(bw_mul(sclk[j], vbios->data_return_bus_width), bw_frc_to_fixed(dceip->percen… in calculate_bandwidth()
1302 …& (bw_equ(data->vsr[i], bw_int_to_fixed(1)) || (bw_leq(data->vsr[i], bw_frc_to_fixed(8, 10)) && bw… in calculate_bandwidth()
[all …]
Dbw_fixed.c57 struct bw_fixed bw_frc_to_fixed(int64_t numerator, int64_t denominator) in bw_frc_to_fixed() function
181 (tmp >= (uint64_t)(bw_frc_to_fixed(1, 2).value)); in bw_mul()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c1215 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1217 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1219 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1221 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1223 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1225 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1227 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1229 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1238 dc->bw_vbios->high_voltage_max_dispclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1240 dc->bw_vbios->mid_voltage_max_dispclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c870 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
872 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
874 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
876 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
878 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
880 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
882 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
884 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
914 dc->bw_vbios->low_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
916 dc->bw_vbios->mid_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Dbw_fixed.h85 struct bw_fixed bw_frc_to_fixed(int64_t num, int64_t denum);
123 return bw_frc_to_fixed(arg1.value, arg2.value); in bw_div()