Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c155 unsigned int BytePerPixel,
177 unsigned int BytePerPixel,
1086 unsigned int BytePerPixel, in CalculateDCCConfiguration() argument
1102 if (DETBufferSize >= RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration()
1108 < RequestHeight256Byte * ViewportWidth * BytePerPixel in CalculateDCCConfiguration()
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()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2263 unsigned int BytePerPixel, in dml32_CalculateVMAndRowBytes() argument
2333 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2342 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2354 DCCMetaSurfaceBytes = DCCMetaPitch * vp_height_meta_ub * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2371 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2383 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()
2398 dml_print("DML::%s: BytePerPixel = %d\n", __func__, BytePerPixel); in dml32_CalculateVMAndRowBytes()
2419 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2420 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2428 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in dml32_CalculateVMAndRowBytes()
Ddisplay_mode_vba_util_32.h439 unsigned int BytePerPixel,
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c190 unsigned int BytePerPixel,
1667 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
1724 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1729 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1732 + 64 * BlockHeight256Bytes) * BytePerPixel / 256; in CalculateVMAndRowBytes()
1754 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1758 …* (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1760 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1778 *PixelPTEReqWidth = 32768.0 / BytePerPixel; in CalculateVMAndRowBytes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c206 unsigned int BytePerPixel,
1795 unsigned int BytePerPixel, argument
1851 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
1855 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
1857 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256;
1879 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1885 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
1891 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz…
1921 *PixelPTEReqWidth = 32768.0 / BytePerPixel;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c218 unsigned int BytePerPixel,
1816 unsigned int BytePerPixel, argument
1872 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
1876 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
1878 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256;
1900 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1906 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
1912 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz…
1942 *PixelPTEReqWidth = 32768.0 / BytePerPixel;