Searched refs:BytePerPixel (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 155 unsigned int BytePerPixel, 177 unsigned int BytePerPixel, 1086 unsigned int BytePerPixel, in CalculateDCCConfiguration() argument 1109 && (BytePerPixel == 2 || BytePerPixel == 4)) in CalculateDCCConfiguration() 1113 && BytePerPixel == 8 in CalculateDCCConfiguration() 1134 if (BytePerPixel == 1) { in CalculateDCCConfiguration() 1140 } else if (BytePerPixel == 2) { in CalculateDCCConfiguration() 1148 } else if (BytePerPixel == 4) { in CalculateDCCConfiguration() 1156 } else if (BytePerPixel == 8) { in CalculateDCCConfiguration() 1265 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 139 unsigned int BytePerPixel, 866 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument 905 *MetaRowByte = MetaSurfWidth * MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 910 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 915 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes() 922 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes() 958 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 971 * BytePerPixel) in CalculateVMAndRowBytes() 986 * BytePerPixel) in CalculateVMAndRowBytes() 1010 PixelPTEReqWidth = 8.0 * VMMPageSize / BytePerPixel; in CalculateVMAndRowBytes() [all …]
|
H A D | display_mode_vba_20v2.c | 163 unsigned int BytePerPixel, 926 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument 965 *MetaRowByte = MetaSurfWidth * MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 970 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 975 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes() 982 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes() 1018 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 1031 * BytePerPixel) in CalculateVMAndRowBytes() 1046 * BytePerPixel) in CalculateVMAndRowBytes() 1070 PixelPTEReqWidth = 8.0 * VMMPageSize / BytePerPixel; in CalculateVMAndRowBytes() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 2268 unsigned int BytePerPixel, in dml32_CalculateVMAndRowBytes() argument 2338 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes() 2347 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes() 2359 DCCMetaSurfaceBytes = DCCMetaPitch * vp_height_meta_ub * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes() 2376 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes() 2388 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes() 2403 dml_print("DML::%s: BytePerPixel = %d\n", __func__, BytePerPixel); in dml32_CalculateVMAndRowBytes() 2424 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes() 2425 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes() 2433 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in dml32_CalculateVMAndRowBytes()
|
H A D | display_mode_vba_util_32.h | 442 unsigned int BytePerPixel,
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 188 unsigned int BytePerPixel, 1664 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument 1721 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 1726 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 1729 + 64 * BlockHeight256Bytes) * BytePerPixel / 256; in CalculateVMAndRowBytes() 1751 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 1755 …* (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes() 1757 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes() 1775 *PixelPTEReqWidth = 32768.0 / BytePerPixel; in CalculateVMAndRowBytes()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 205 unsigned int BytePerPixel, 1798 unsigned int BytePerPixel, argument 1854 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; 1858 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; 1860 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256; 1882 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; 1888 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr… 1894 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… 1924 *PixelPTEReqWidth = 32768.0 / BytePerPixel;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 217 unsigned int BytePerPixel, 1818 unsigned int BytePerPixel, argument 1874 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; 1878 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; 1880 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256; 1902 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; 1908 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr… 1914 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… 1944 *PixelPTEReqWidth = 32768.0 / BytePerPixel;
|