Lines Matching refs:bandwidth

696  * Used for display watermark bandwidth calculations
728 u32 yclk; /* bandwidth per dram data pin in kHz */
743 * dce_v11_0_dram_bandwidth - get the dram bandwidth
747 * Calculate the raw dram bandwidth (CIK).
748 * Used for display watermark bandwidth calculations
749 * Returns the dram bandwidth in MBytes/s
755 fixed20_12 yclk, dram_channels, bandwidth;
765 bandwidth.full = dfixed_mul(dram_channels, yclk);
766 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency);
768 return dfixed_trunc(bandwidth);
772 * dce_v11_0_dram_bandwidth_for_display - get the dram bandwidth for display
776 * Calculate the dram bandwidth used for display (CIK).
777 * Used for display watermark bandwidth calculations
778 * Returns the dram bandwidth for display in MBytes/s
784 fixed20_12 yclk, dram_channels, bandwidth;
794 bandwidth.full = dfixed_mul(dram_channels, yclk);
795 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation);
797 return dfixed_trunc(bandwidth);
801 * dce_v11_0_data_return_bandwidth - get the data return bandwidth
805 * Calculate the data return bandwidth used for display (CIK).
806 * Used for display watermark bandwidth calculations
807 * Returns the data return bandwidth in MBytes/s
813 fixed20_12 sclk, bandwidth;
823 bandwidth.full = dfixed_mul(a, sclk);
824 bandwidth.full = dfixed_mul(bandwidth, return_efficiency);
826 return dfixed_trunc(bandwidth);
830 * dce_v11_0_dmif_request_bandwidth - get the dmif bandwidth
834 * Calculate the dmif bandwidth used for display (CIK).
835 * Used for display watermark bandwidth calculations
836 * Returns the dmif bandwidth in MBytes/s
842 fixed20_12 disp_clk, bandwidth;
855 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency);
857 return dfixed_trunc(bandwidth);
861 * dce_v11_0_available_bandwidth - get the min available bandwidth
865 * Calculate the min available bandwidth used for display (CIK).
866 * Used for display watermark bandwidth calculations
867 * Returns the min available bandwidth in MBytes/s
871 /* Calculate the Available bandwidth. Display can use this temporarily but not in average. */
880 * dce_v11_0_average_bandwidth - get the average available bandwidth
884 * Calculate the average available bandwidth used for display (CIK).
885 * Used for display watermark bandwidth calculations
886 * Returns the average available bandwidth in MBytes/s
897 fixed20_12 bandwidth;
905 bandwidth.full = dfixed_mul(src_width, bpp);
906 bandwidth.full = dfixed_mul(bandwidth, wm->vsc);
907 bandwidth.full = dfixed_div(bandwidth, line_time);
909 return dfixed_trunc(bandwidth);
918 * Used for display watermark bandwidth calculations
973 * average and available dram bandwidth
977 * Check if the display average bandwidth fits in the display
978 * dram bandwidth (CIK).
979 * Used for display watermark bandwidth calculations
993 * average and available bandwidth
997 * Check if the display average bandwidth fits in the display
998 * available bandwidth (CIK).
999 * Used for display watermark bandwidth calculations
1017 * Used for display watermark bandwidth calculations