Searched refs:BytePerPixel (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| H A D | display_mode_vba_21.c | 155 unsigned int BytePerPixel, 177 unsigned int BytePerPixel, 1081 unsigned int BytePerPixel, in CalculateDCCConfiguration() argument 1097 if (DETBufferSize >= RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration() 1103 < RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration() 1104 && (BytePerPixel == 2 || BytePerPixel == 4)) in CalculateDCCConfiguration() 1108 && BytePerPixel == 8 in CalculateDCCConfiguration() 1129 if (BytePerPixel == 1) { in CalculateDCCConfiguration() 1135 } else if (BytePerPixel == 2) { in CalculateDCCConfiguration() 1143 } else if (BytePerPixel == 4) { in CalculateDCCConfiguration() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_mode_vba_30.c | 190 unsigned int BytePerPixel, 1733 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument 1790 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 1795 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes() 1798 + 64 * BlockHeight256Bytes) * BytePerPixel / 256; in CalculateVMAndRowBytes() 1820 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes() 1824 …* (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes() 1826 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes() 1844 *PixelPTEReqWidth = 32768.0 / BytePerPixel; in CalculateVMAndRowBytes()
|