Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_mode_vba_21.c155 unsigned int BytePerPixel,
177 unsigned int BytePerPixel,
1083 unsigned int BytePerPixel, in CalculateDCCConfiguration() argument
1106 && (BytePerPixel == 2 || BytePerPixel == 4)) in CalculateDCCConfiguration()
1110 && BytePerPixel == 8 in CalculateDCCConfiguration()
1131 if (BytePerPixel == 1) { in CalculateDCCConfiguration()
1137 } else if (BytePerPixel == 2) { in CalculateDCCConfiguration()
1145 } else if (BytePerPixel == 4) { in CalculateDCCConfiguration()
1153 } else if (BytePerPixel == 8) { in CalculateDCCConfiguration()
1262 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_mode_vba_20.c139 unsigned int BytePerPixel,
863 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
902 *MetaRowByte = MetaSurfWidth * MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
907 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
912 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
919 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
955 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
968 * BytePerPixel) in CalculateVMAndRowBytes()
983 * BytePerPixel) in CalculateVMAndRowBytes()
1007 PixelPTEReqWidth = 8.0 * VMMPageSize / BytePerPixel; in CalculateVMAndRowBytes()
[all …]
H A Ddisplay_mode_vba_20v2.c163 unsigned int BytePerPixel,
923 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
962 *MetaRowByte = MetaSurfWidth * MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
967 *MetaRowByte = MetaSurfHeight * MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
972 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
979 + 64 * BlockHeight256Bytes) * BytePerPixel in CalculateVMAndRowBytes()
1015 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1028 * BytePerPixel) in CalculateVMAndRowBytes()
1043 * BytePerPixel) in CalculateVMAndRowBytes()
1067 PixelPTEReqWidth = 8.0 * VMMPageSize / BytePerPixel; in CalculateVMAndRowBytes()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c2270 unsigned int BytePerPixel, in dml32_CalculateVMAndRowBytes() argument
2340 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2349 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2361 DCCMetaSurfaceBytes = DCCMetaPitch * vp_height_meta_ub * BytePerPixel / 256.0; in dml32_CalculateVMAndRowBytes()
2378 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in dml32_CalculateVMAndRowBytes()
2390 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()
2405 dml_print("DML::%s: BytePerPixel = %d\n", __func__, BytePerPixel); in dml32_CalculateVMAndRowBytes()
2426 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2427 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2435 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in dml32_CalculateVMAndRowBytes()
H A Ddisplay_mode_vba_util_32.h442 unsigned int BytePerPixel,
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c188 unsigned int BytePerPixel,
1661 unsigned int BytePerPixel, in CalculateVMAndRowBytes() argument
1718 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1723 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0; in CalculateVMAndRowBytes()
1726 + 64 * BlockHeight256Bytes) * BytePerPixel / 256; in CalculateVMAndRowBytes()
1748 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight; in CalculateVMAndRowBytes()
1752 …* (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1754 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz… in CalculateVMAndRowBytes()
1772 *PixelPTEReqWidth = 32768.0 / BytePerPixel; in CalculateVMAndRowBytes()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c205 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.15/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c214 unsigned int BytePerPixel,
1812 unsigned int BytePerPixel, argument
1868 *MetaRowByte = *meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0;
1872 *MetaRowByte = *meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0;
1874 …eil(ViewportHeight - 1, 64 * BlockHeight256Bytes) + 64 * BlockHeight256Bytes) * BytePerPixel / 256;
1896 *MacroTileWidth = MacroTileSizeBytes / BytePerPixel / MacroTileHeight;
1902 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
1908 …l_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - MacroTileSiz…
1938 *PixelPTEReqWidth = 32768.0 / BytePerPixel;
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c1707 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes()
1731 dml2_printf("DML::%s: BytePerPixel = %u\n", __func__, p->BytePerPixel); in CalculateVMAndRowBytes()
1749 *p->PixelPTEReqWidth = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
1750 PixelPTEReqWidth_linear = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
1754 *p->vmpg_width = p->GPUVMMinPageSizeKBytes * 1024 / p->BytePerPixel; in CalculateVMAndRowBytes()
1761 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes()
2945 scratch->calculate_vm_and_row_bytes_params.BytePerPixel = p->myPipe[k].BytePerPixelC; in CalculateVMRowAndSwath()
3023 scratch->calculate_vm_and_row_bytes_params.BytePerPixel = p->myPipe[k].BytePerPixelY; in CalculateVMRowAndSwath()
12126 unsigned int BytePerPixel = is_plane1 ? BytePerPixelC : BytePerPixelY; in dml2_core_calcs_get_dpte_row_height() local
12134 dml2_printf("DML: %s: BytePerPixel = %u\n", __func__, BytePerPixel); in dml2_core_calcs_get_dpte_row_height()
[all …]
H A Ddml2_core_shared_types.h1299 unsigned int BytePerPixel; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c241 dml_uint_t BytePerPixel,
2457 dml_uint_t BytePerPixel, in CalculateVMAndRowBytes() argument
2522 *MetaRowByte = (dml_uint_t)(*meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0); in CalculateVMAndRowBytes()
2549 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in CalculateVMAndRowBytes()
2573 dml_print("DML::%s: BytePerPixel = %u\n", __func__, BytePerPixel); in CalculateVMAndRowBytes()
2591 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in CalculateVMAndRowBytes()
2592 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in CalculateVMAndRowBytes()
9940 dml_uint_t BytePerPixel; in dml_core_get_row_heights() local
9967 BytePerPixel = is_plane1 ? BytePerPixelC : BytePerPixelY; in dml_core_get_row_heights()
9975 dml_print("DML_DLG: %s: BytePerPixel = %u\n", __func__, BytePerPixel); in dml_core_get_row_heights()
[all …]