Lines Matching full:bandwidth
618 * Used for display watermark bandwidth calculations
650 u32 yclk; /* bandwidth per dram data pin in kHz */
665 * dce_v8_0_dram_bandwidth - get the dram bandwidth
669 * Calculate the raw dram bandwidth (CIK).
670 * Used for display watermark bandwidth calculations
671 * Returns the dram bandwidth in MBytes/s
675 /* Calculate raw DRAM Bandwidth */ in dce_v8_0_dram_bandwidth()
677 fixed20_12 yclk, dram_channels, bandwidth; in dce_v8_0_dram_bandwidth() local
687 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth()
688 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth()
690 return dfixed_trunc(bandwidth); in dce_v8_0_dram_bandwidth()
694 * dce_v8_0_dram_bandwidth_for_display - get the dram bandwidth for display
698 * Calculate the dram bandwidth used for display (CIK).
699 * Used for display watermark bandwidth calculations
700 * Returns the dram bandwidth for display in MBytes/s
704 /* Calculate DRAM Bandwidth and the part allocated to display. */ in dce_v8_0_dram_bandwidth_for_display()
706 fixed20_12 yclk, dram_channels, bandwidth; in dce_v8_0_dram_bandwidth_for_display() local
716 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display()
717 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display()
719 return dfixed_trunc(bandwidth); in dce_v8_0_dram_bandwidth_for_display()
723 * dce_v8_0_data_return_bandwidth - get the data return bandwidth
727 * Calculate the data return bandwidth used for display (CIK).
728 * Used for display watermark bandwidth calculations
729 * Returns the data return bandwidth in MBytes/s
733 /* Calculate the display Data return Bandwidth */ in dce_v8_0_data_return_bandwidth()
735 fixed20_12 sclk, bandwidth; in dce_v8_0_data_return_bandwidth() local
745 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth()
746 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth()
748 return dfixed_trunc(bandwidth); in dce_v8_0_data_return_bandwidth()
752 * dce_v8_0_dmif_request_bandwidth - get the dmif bandwidth
756 * Calculate the dmif bandwidth used for display (CIK).
757 * Used for display watermark bandwidth calculations
758 * Returns the dmif bandwidth in MBytes/s
762 /* Calculate the DMIF Request Bandwidth */ in dce_v8_0_dmif_request_bandwidth()
764 fixed20_12 disp_clk, bandwidth; in dce_v8_0_dmif_request_bandwidth() local
777 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth()
779 return dfixed_trunc(bandwidth); in dce_v8_0_dmif_request_bandwidth()
783 * dce_v8_0_available_bandwidth - get the min available bandwidth
787 * Calculate the min available bandwidth used for display (CIK).
788 * Used for display watermark bandwidth calculations
789 * Returns the min available bandwidth in MBytes/s
793 /* Calculate the Available bandwidth. Display can use this temporarily but not in average. */ in dce_v8_0_available_bandwidth()
802 * dce_v8_0_average_bandwidth - get the average available bandwidth
806 * Calculate the average available bandwidth used for display (CIK).
807 * Used for display watermark bandwidth calculations
808 * Returns the average available bandwidth in MBytes/s
812 /* Calculate the display mode Average Bandwidth in dce_v8_0_average_bandwidth()
819 fixed20_12 bandwidth; in dce_v8_0_average_bandwidth() local
827 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth()
828 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
829 bandwidth.full = dfixed_div(bandwidth, line_time); in dce_v8_0_average_bandwidth()
831 return dfixed_trunc(bandwidth); in dce_v8_0_average_bandwidth()
840 * Used for display watermark bandwidth calculations
895 * average and available dram bandwidth
899 * Check if the display average bandwidth fits in the display
900 * dram bandwidth (CIK).
901 * Used for display watermark bandwidth calculations
915 * average and available bandwidth
919 * Check if the display average bandwidth fits in the display
920 * available bandwidth (CIK).
921 * Used for display watermark bandwidth calculations
939 * Used for display watermark bandwidth calculations