Home
last modified time | relevance | path

Searched refs:BytePerPixel (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c155 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 …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c139 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 …]
Ddisplay_mode_vba_20v2.c163 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 …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c189 unsigned int BytePerPixel,
1732 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
1789 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1794 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1797 + 64 * BlockHeight256Bytes) * BytePerPixel / 256; in CalculateVMAndRowBytes()
1819 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1823 …* (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1825 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1843 *PixelPTEReqWidth = 32768.0 / BytePerPixel; in CalculateVMAndRowBytes()