Searched refs:bw_frc_to_fixed (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce112/ |
D | dce112_resource.c | 1090 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1092 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1094 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1096 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1098 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1100 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1102 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1104 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1113 dc->bw_vbios->low_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1115 dc->bw_vbios->mid_yclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/ |
D | dce_calcs.c | 562 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875ul, 100000000), bw_int_to_f… in calculate_bandwidth() 565 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(300234375, 10000000), bw_int_to_fixed… in calculate_bandwidth() 615 data->dram_efficiency = bw_frc_to_fixed(5, 10); in calculate_bandwidth() 635 data->dram_efficiency = bw_frc_to_fixed(5, 10); in calculate_bandwidth() 637 data->dram_efficiency = bw_frc_to_fixed(8, 10); in calculate_bandwidth() 803 …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() 832 bw_frc_to_fixed(4, 3))) { in calculate_bandwidth() 835 bw_frc_to_fixed(6, 4))) { in calculate_bandwidth() 1197 …equired_data, (bw_mul(bw_mul(sclk[j], vbios->data_return_bus_width), bw_frc_to_fixed(dceip->percen… in calculate_bandwidth() 1311 …& (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 …]
|
D | bw_fixed.c | 58 struct bw_fixed bw_frc_to_fixed(int64_t numerator, int64_t denominator) in bw_frc_to_fixed() function 178 (tmp >= (uint64_t)(bw_frc_to_fixed(1, 2).value)); in bw_mul()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
D | dce110_resource.c | 1294 dc->bw_vbios->high_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1296 dc->bw_vbios->mid1_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1298 dc->bw_vbios->mid2_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1300 dc->bw_vbios->mid3_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1302 dc->bw_vbios->mid4_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1304 dc->bw_vbios->mid5_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1306 dc->bw_vbios->mid6_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1308 dc->bw_vbios->low_sclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1317 dc->bw_vbios->high_voltage_max_dispclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() 1319 dc->bw_vbios->mid_voltage_max_dispclk = bw_frc_to_fixed( in bw_calcs_data_update_from_pplib() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce120/ |
D | dce120_resource.c | 941 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.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | bw_fixed.h | 85 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()
|