Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c2268 unsigned int BytePerPixel, in dml32_CalculateVMAndRowBytes() argument
2338 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2347 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2359 DCCMetaSurfaceBytes = DCCMetaPitch * vp_height_meta_ub * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2376 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2388 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()
2403 dml_print("DML::%s: BytePerPixel = %d\n", __func__, BytePerPixel); in dml32_CalculateVMAndRowBytes()
2424 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2425 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2433 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in dml32_CalculateVMAndRowBytes()
Ddisplay_mode_vba_util_32.h442 unsigned int BytePerPixel,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c188 unsigned int BytePerPixel,
1664 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
1721 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1726 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1729 + 64 * BlockHeight256Bytes) * BytePerPixel / 256; in CalculateVMAndRowBytes()
1751 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1755 …* (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1757 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1775 *PixelPTEReqWidth = 32768.0 / BytePerPixel; in CalculateVMAndRowBytes()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c205 unsigned int BytePerPixel,
1798 unsigned int BytePerPixel, argument
1854 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
1858 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
1860 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256;
1882 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1888 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
1894 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz…
1924 *PixelPTEReqWidth = 32768.0 / BytePerPixel;
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c217 unsigned int BytePerPixel,
1818 unsigned int BytePerPixel, argument
1874 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
1878 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
1880 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256;
1902 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1908 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
1914 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz…
1944 *PixelPTEReqWidth = 32768.0 / BytePerPixel;