Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c1089 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1091 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1093 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1095 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1097 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1099 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1101 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1103 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1112 dc->bw_vbios->low_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1114 dc->bw_vbios->mid_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c564 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875ul, 100000000), bw_int_to_f… in calculate_bandwidth()
567 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(300234375, 10000000), bw_int_to_fixed… in calculate_bandwidth()
617 data->dram_efficiency = bw_frc_to_fixed(5, 10); in calculate_bandwidth()
637 data->dram_efficiency = bw_frc_to_fixed(5, 10); in calculate_bandwidth()
639 data->dram_efficiency = bw_frc_to_fixed(8, 10); in calculate_bandwidth()
805 …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()
834 bw_frc_to_fixed(4, 3))) { in calculate_bandwidth()
837 bw_frc_to_fixed(6, 4))) { in calculate_bandwidth()
1199 …equired_data, (bw_mul(bw_mul(sclk[j], vbios->data_return_bus_width), bw_frc_to_fixed(dceip->percen… in calculate_bandwidth()
1313 …& (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
179 (tmp >= (uint64_t)(bw_frc_to_fixed(1, 2).value)); in bw_mul()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c1293 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1295 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1297 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1299 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1301 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1303 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1305 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1307 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1316 dc->bw_vbios->high_voltage_max_dispclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
1318 dc->bw_vbios->mid_voltage_max_dispclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c941 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
943 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
945 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
947 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
949 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
951 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
953 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
955 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
985 dc->bw_vbios->low_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
987 dc->bw_vbios->mid_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib()
[all …]
/linux-6.6.21/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()