Lines Matching refs:bandwidth

670  * Used for display watermark bandwidth calculations
702 u32 yclk; /* bandwidth per dram data pin in kHz */
717 * dce_v10_0_dram_bandwidth - get the dram bandwidth
721 * Calculate the raw dram bandwidth (CIK).
722 * Used for display watermark bandwidth calculations
723 * Returns the dram bandwidth in MBytes/s
729 fixed20_12 yclk, dram_channels, bandwidth;
739 bandwidth.full = dfixed_mul(dram_channels, yclk);
740 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency);
742 return dfixed_trunc(bandwidth);
746 * dce_v10_0_dram_bandwidth_for_display - get the dram bandwidth for display
750 * Calculate the dram bandwidth used for display (CIK).
751 * Used for display watermark bandwidth calculations
752 * Returns the dram bandwidth for display in MBytes/s
758 fixed20_12 yclk, dram_channels, bandwidth;
768 bandwidth.full = dfixed_mul(dram_channels, yclk);
769 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation);
771 return dfixed_trunc(bandwidth);
775 * dce_v10_0_data_return_bandwidth - get the data return bandwidth
779 * Calculate the data return bandwidth used for display (CIK).
780 * Used for display watermark bandwidth calculations
781 * Returns the data return bandwidth in MBytes/s
787 fixed20_12 sclk, bandwidth;
797 bandwidth.full = dfixed_mul(a, sclk);
798 bandwidth.full = dfixed_mul(bandwidth, return_efficiency);
800 return dfixed_trunc(bandwidth);
804 * dce_v10_0_dmif_request_bandwidth - get the dmif bandwidth
808 * Calculate the dmif bandwidth used for display (CIK).
809 * Used for display watermark bandwidth calculations
810 * Returns the dmif bandwidth in MBytes/s
816 fixed20_12 disp_clk, bandwidth;
829 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency);
831 return dfixed_trunc(bandwidth);
835 * dce_v10_0_available_bandwidth - get the min available bandwidth
839 * Calculate the min available bandwidth used for display (CIK).
840 * Used for display watermark bandwidth calculations
841 * Returns the min available bandwidth in MBytes/s
845 /* Calculate the Available bandwidth. Display can use this temporarily but not in average. */
854 * dce_v10_0_average_bandwidth - get the average available bandwidth
858 * Calculate the average available bandwidth used for display (CIK).
859 * Used for display watermark bandwidth calculations
860 * Returns the average available bandwidth in MBytes/s
871 fixed20_12 bandwidth;
879 bandwidth.full = dfixed_mul(src_width, bpp);
880 bandwidth.full = dfixed_mul(bandwidth, wm->vsc);
881 bandwidth.full = dfixed_div(bandwidth, line_time);
883 return dfixed_trunc(bandwidth);
892 * Used for display watermark bandwidth calculations
947 * average and available dram bandwidth
951 * Check if the display average bandwidth fits in the display
952 * dram bandwidth (CIK).
953 * Used for display watermark bandwidth calculations
967 * average and available bandwidth
971 * Check if the display average bandwidth fits in the display
972 * available bandwidth (CIK).
973 * Used for display watermark bandwidth calculations
991 * Used for display watermark bandwidth calculations