Home
last modified time | relevance | path

Searched refs:yclk (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c498 u32 yclk; /* bandwidth per dram data pin in kHz */ member
525 fixed20_12 yclk, dram_channels, bandwidth; in dce_v6_0_dram_bandwidth() local
529 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth()
530 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth()
535 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth()
554 fixed20_12 yclk, dram_channels, bandwidth; in dce_v6_0_dram_bandwidth_for_display() local
558 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth_for_display()
559 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth_for_display()
564 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display()
856 wm_high.yclk = in dce_v6_0_program_watermarks()
[all …]
Ddce_v8_0.c633 u32 yclk; /* bandwidth per dram data pin in kHz */ member
660 fixed20_12 yclk, dram_channels, bandwidth; in dce_v8_0_dram_bandwidth() local
664 yclk.full = dfixed_const(wm->yclk); in dce_v8_0_dram_bandwidth()
665 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth()
670 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth()
689 fixed20_12 yclk, dram_channels, bandwidth; in dce_v8_0_dram_bandwidth_for_display() local
693 yclk.full = dfixed_const(wm->yclk); in dce_v8_0_dram_bandwidth_for_display()
694 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth_for_display()
699 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display()
982 wm_high.yclk = in dce_v8_0_program_watermarks()
[all …]
Ddce_v10_0.c694 u32 yclk; /* bandwidth per dram data pin in kHz */ member
721 fixed20_12 yclk, dram_channels, bandwidth; in dce_v10_0_dram_bandwidth() local
725 yclk.full = dfixed_const(wm->yclk); in dce_v10_0_dram_bandwidth()
726 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth()
731 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth()
750 fixed20_12 yclk, dram_channels, bandwidth; in dce_v10_0_dram_bandwidth_for_display() local
754 yclk.full = dfixed_const(wm->yclk); in dce_v10_0_dram_bandwidth_for_display()
755 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth_for_display()
760 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display()
1043 wm_high.yclk = in dce_v10_0_program_watermarks()
[all …]
Ddce_v11_0.c726 u32 yclk; /* bandwidth per dram data pin in kHz */ member
753 fixed20_12 yclk, dram_channels, bandwidth; in dce_v11_0_dram_bandwidth() local
757 yclk.full = dfixed_const(wm->yclk); in dce_v11_0_dram_bandwidth()
758 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth()
763 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth()
782 fixed20_12 yclk, dram_channels, bandwidth; in dce_v11_0_dram_bandwidth_for_display() local
786 yclk.full = dfixed_const(wm->yclk); in dce_v11_0_dram_bandwidth_for_display()
787 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth_for_display()
792 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display()
1075 wm_high.yclk = in dce_v11_0_program_watermarks()
[all …]
/linux-6.6.21/drivers/gpu/drm/radeon/
Devergreen.c1935 u32 yclk; /* bandwidth per dram data pin in kHz */ member
1953 fixed20_12 yclk, dram_channels, bandwidth; in evergreen_dram_bandwidth() local
1957 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth()
1958 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth()
1963 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth()
1973 fixed20_12 yclk, dram_channels, bandwidth; in evergreen_dram_bandwidth_for_display() local
1977 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth_for_display()
1978 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth_for_display()
1983 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display()
2183 wm_high.yclk = in evergreen_program_watermarks()
[all …]
Dsi.c2054 u32 yclk; /* bandwidth per dram data pin in kHz */ member
2072 fixed20_12 yclk, dram_channels, bandwidth; in dce6_dram_bandwidth() local
2076 yclk.full = dfixed_const(wm->yclk); in dce6_dram_bandwidth()
2077 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth()
2082 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth()
2092 fixed20_12 yclk, dram_channels, bandwidth; in dce6_dram_bandwidth_for_display() local
2096 yclk.full = dfixed_const(wm->yclk); in dce6_dram_bandwidth_for_display()
2097 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth_for_display()
2102 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display()
2325 wm_high.yclk = in dce6_program_watermarks()
[all …]
Dcik.c8900 u32 yclk; /* bandwidth per dram data pin in kHz */ member
8927 fixed20_12 yclk, dram_channels, bandwidth; in dce8_dram_bandwidth() local
8931 yclk.full = dfixed_const(wm->yclk); in dce8_dram_bandwidth()
8932 yclk.full = dfixed_div(yclk, a); in dce8_dram_bandwidth()
8937 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth()
8956 fixed20_12 yclk, dram_channels, bandwidth; in dce8_dram_bandwidth_for_display() local
8960 yclk.full = dfixed_const(wm->yclk); in dce8_dram_bandwidth_for_display()
8961 yclk.full = dfixed_div(yclk, a); in dce8_dram_bandwidth_for_display()
8966 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth_for_display()
9250 wm_high.yclk = in dce8_program_watermarks()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c101 struct bw_fixed *yclk; in calculate_bandwidth() local
125 yclk = kcalloc(3, sizeof(*yclk), GFP_KERNEL); in calculate_bandwidth()
126 if (!yclk) in calculate_bandwidth()
141 yclk[low] = vbios->low_yclk; in calculate_bandwidth()
142 yclk[mid] = vbios->mid_yclk; in calculate_bandwidth()
143 yclk[high] = vbios->high_yclk; in calculate_bandwidth()
1199 …red_dram_access_data, (bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[i]), bw_int_to_fixe… in calculate_bandwidth()
1201 …red_dram_access_data, (bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[i]), bw_int_to_fixe… in calculate_bandwidth()
1537 …data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_f… in calculate_bandwidth()
1543 …data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_f… in calculate_bandwidth()
[all …]