Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c155 unsigned int BytePerPixel,
177 unsigned int BytePerPixel,
1084 unsigned int BytePerPixel, in CalculateDCCConfiguration() argument
1100 if (DETBufferSize >= RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration()
1106 < RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration()
1107 && (BytePerPixel == 2 || BytePerPixel == 4)) in CalculateDCCConfiguration()
1111 && BytePerPixel == 8 in CalculateDCCConfiguration()
1132 if (BytePerPixel == 1) { in CalculateDCCConfiguration()
1138 } else if (BytePerPixel == 2) { in CalculateDCCConfiguration()
1146 } else if (BytePerPixel == 4) { in CalculateDCCConfiguration()
[all …]
/Linux-v5.15/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.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c190 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()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c212 unsigned int BytePerPixel,
1906 unsigned int BytePerPixel, argument
1962 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
1966 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
1968 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256;
1990 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1996 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
2002 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz…
2032 *PixelPTEReqWidth = 32768.0 / BytePerPixel;