/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 135 double SwathWidth[], 444 double SwathWidth, 487 double SwathWidth,
|
H A D | display_mode_vba_util_32.c | 446 double SwathWidth[], in dml32_CalculateSwathAndDETConfiguration() 508 SwathWidth, in dml32_CalculateSwathAndDETConfiguration() 634 || SwathWidth[k] > MaximumSwathWidthLuma[k] || (SwathHeightC[k] > 0 && in dml32_CalculateSwathAndDETConfiguration() 2270 double SwathWidth, in dml32_CalculateVMAndRowBytes() argument 2333 *meta_row_width = dml_floor(ViewportXStart + SwathWidth + *MetaRequestWidth - 1, in dml32_CalculateVMAndRowBytes() 2415 dml_print("DML::%s: SwathWidth = %d\n", __func__, SwathWidth); in dml32_CalculateVMAndRowBytes() 2485 *dpte_row_width_ub = dml_floor(ViewportXStart + SwathWidth + in dml32_CalculateVMAndRowBytes() 2489 *dpte_row_width_ub = (dml_ceil((SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * in dml32_CalculateVMAndRowBytes() 2501 *dpte_row_width_ub = (dml_ceil((SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) in dml32_CalculateVMAndRowBytes() 2540 double SwathWidth, in dml32_CalculatePrefetchSourceLines() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 164 double SwathWidth, 870 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument 982 (double) SwathWidth in CalculateVMAndRowBytes() 1067 ((double) SwathWidth - 1) in CalculateVMAndRowBytes() 2726 double SwathWidth; in dml20_DisplayPipeConfiguration() local 2863 SwathWidth = dml_min( in dml20_DisplayPipeConfiguration() 2864 SwathWidth, in dml20_DisplayPipeConfiguration() 2868 SwathWidth = 0; in dml20_DisplayPipeConfiguration() 2870 SwathWidth = SwathWidth / mode_lib->vba.DPPPerPlane[k]; in dml20_DisplayPipeConfiguration() 2875 (double) (SwathWidth - 1), in dml20_DisplayPipeConfiguration() [all …]
|
H A D | display_mode_vba_20v2.c | 188 double SwathWidth, 930 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument 1042 (double) SwathWidth in CalculateVMAndRowBytes() 1127 ((double) SwathWidth - 1) in CalculateVMAndRowBytes() 2799 double SwathWidth; in dml20v2_DisplayPipeConfiguration() local 2936 SwathWidth = dml_min( in dml20v2_DisplayPipeConfiguration() 2937 SwathWidth, in dml20v2_DisplayPipeConfiguration() 2941 SwathWidth = 0; in dml20v2_DisplayPipeConfiguration() 2943 SwathWidth = SwathWidth / mode_lib->vba.DPPPerPlane[k]; in dml20v2_DisplayPipeConfiguration() 2948 (double) (SwathWidth - 1), in dml20v2_DisplayPipeConfiguration() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 216 double SwathWidth, 1269 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument 2824 double SwathWidth; in DisplayPipeConfiguration() local 2945 SwathWidth = mode_lib->vba.ViewportWidth[k]; in DisplayPipeConfiguration() 2947 SwathWidth = mode_lib->vba.ViewportHeight[k]; in DisplayPipeConfiguration() 2961 SwathWidth = dml_min( in DisplayPipeConfiguration() 2962 SwathWidth, in DisplayPipeConfiguration() 2965 SwathWidth = SwathWidth / mode_lib->vba.DPPPerPlane[k]; in DisplayPipeConfiguration() 2970 (double) (SwathWidth - 1), in DisplayPipeConfiguration() 2981 (double) (SwathWidth / 2.0 - 1), in DisplayPipeConfiguration() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 190 unsigned int SwathWidth, 579 double SwathWidth[], 1666 unsigned int SwathWidth, in CalculateVMAndRowBytes() argument 1719 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) in CalculateVMAndRowBytes() 1724 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) in CalculateVMAndRowBytes() 1806 …*dpte_row_width_ub = (dml_ceil(((double) SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes() 1810 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… in CalculateVMAndRowBytes() 1814 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… in CalculateVMAndRowBytes() 6125 double SwathWidth[], in CalculateSwathAndDETConfiguration() 6172 SwathWidth, in CalculateSwathAndDETConfiguration() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 207 unsigned int SwathWidth, 564 double SwathWidth[], 1800 unsigned int SwathWidth, argument 1853 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth; 1857 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight; 1894 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -… 1956 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… 1960 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… 6655 double SwathWidth[], 6702 SwathWidth, [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 219 unsigned int SwathWidth, 575 double SwathWidth[], 1820 unsigned int SwathWidth, argument 1873 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestWidth) + *MetaRequestWidth; 1877 *meta_row_width = dml_ceil((double) SwathWidth - 1, *MetaRequestHeight) + *MetaRequestHeight; 1914 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -… 1976 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqWidth, 1) + 1) * *PixelPTER… 1980 …*dpte_row_width_ub = (dml_ceil((double) (SwathWidth - 1) / *PixelPTEReqHeight, 1) + 1) * *PixelPTE… 6750 double SwathWidth[], 6797 SwathWidth, [all …]
|