Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c154 unsigned int BytePerPixel,
176 unsigned int BytePerPixel,
1080 unsigned int BytePerPixel, in CalculateDCCConfiguration() argument
1096 if (DETBufferSize >= RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration()
1102 < RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration()
1103 && (BytePerPixel == 2 || BytePerPixel == 4)) in CalculateDCCConfiguration()
1107 && BytePerPixel == 8 in CalculateDCCConfiguration()
1128 if (BytePerPixel == 1) { in CalculateDCCConfiguration()
1134 } else if (BytePerPixel == 2) { in CalculateDCCConfiguration()
1142 } else if (BytePerPixel == 4) { in CalculateDCCConfiguration()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c138 unsigned int BytePerPixel,
865 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
904 *MetaRowByte = MetaSurfWidth * MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
909 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
914 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
921 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
957 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
970 * BytePerPixel) in CalculateVMAndRowBytes()
985 * BytePerPixel) in CalculateVMAndRowBytes()
1009 PixelPTEReqWidth = 8.0 * VMMPageSize / BytePerPixel; in CalculateVMAndRowBytes()
[all …]
Ddisplay_mode_vba_20v2.c161 unsigned int BytePerPixel,
924 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
963 *MetaRowByte = MetaSurfWidth * MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
968 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
973 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
980 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
1016 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1029 * BytePerPixel) in CalculateVMAndRowBytes()
1044 * BytePerPixel) in CalculateVMAndRowBytes()
1068 PixelPTEReqWidth = 8.0 * VMMPageSize / BytePerPixel; in CalculateVMAndRowBytes()
[all …]