Home
last modified time | relevance | path

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

/linux/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/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/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c1641 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestHeight * p->BytePerPixel /… in CalculateVMAndRowBytes()
1649 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestHeight * p->BytePerPixel /… in CalculateVMAndRowBytes()
1657 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestWidth * p->BytePerPixel / … in CalculateVMAndRowBytes()
1668 meta_surface_bytes = (unsigned int)(p->DCCMetaPitch * vp_height_meta_ub * p->BytePerPixel / 256.0); in CalculateVMAndRowBytes()
1706 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes()
1717 …gned int)(64 * (math_ceil2((double)(p->Pitch * vp_height_dpte_ub * p->BytePerPixel - MacroTileSize… in CalculateVMAndRowBytes()
1730 dml2_printf("DML::%s: BytePerPixel = %u\n", __func__, p->BytePerPixel); in CalculateVMAndRowBytes()
1748 *p->PixelPTEReqWidth = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
1749 PixelPTEReqWidth_linear = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
1753 *p->vmpg_width = p->GPUVMMinPageSizeKBytes * 1024 / p->BytePerPixel; in CalculateVMAndRowBytes()
[all …]
H A Ddml2_core_shared.c4302 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestHeight * p->BytePerPixel /… in CalculateVMAndRowBytes()
4310 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestHeight * p->BytePerPixel /… in CalculateVMAndRowBytes()
4318 …*p->meta_row_bytes = (unsigned int)(*p->meta_row_width * *p->MetaRequestWidth * p->BytePerPixel / … in CalculateVMAndRowBytes()
4329 meta_surface_bytes = (unsigned int)(p->DCCMetaPitch * vp_height_meta_ub * p->BytePerPixel / 256.0); in CalculateVMAndRowBytes()
4367 MacroTileSizeBytes = p->MacroTileWidth * p->BytePerPixel * p->MacroTileHeight; in CalculateVMAndRowBytes()
4378 …gned int)(64 * (math_ceil2((double)(p->Pitch * vp_height_dpte_ub * p->BytePerPixel - MacroTileSize… in CalculateVMAndRowBytes()
4391 dml2_printf("DML::%s: BytePerPixel = %u\n", __func__, p->BytePerPixel); in CalculateVMAndRowBytes()
4411 *p->PixelPTEReqWidth = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
4412 PixelPTEReqWidth_linear = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
4416 *p->vmpg_width = p->GPUVMMinPageSizeKBytes * 1024 / p->BytePerPixel; in CalculateVMAndRowBytes()
[all …]
H A Ddml2_core_shared_types.h1293 unsigned int BytePerPixel; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c240 dml_uint_t BytePerPixel,
2456 dml_uint_t BytePerPixel, in CalculateVMAndRowBytes() argument
2513 *MetaRowByte = (dml_uint_t)(*meta_row_width * *MetaRequestHeight * BytePerPixel / 256.0); in CalculateVMAndRowBytes()
2521 *MetaRowByte = (dml_uint_t)(*meta_row_width * *MetaRequestWidth * BytePerPixel / 256.0); in CalculateVMAndRowBytes()
2532 DCCMetaSurfaceBytes = (dml_uint_t)(DCCMetaPitch * vp_height_meta_ub * BytePerPixel / 256.0); in CalculateVMAndRowBytes()
2548 MacroTileSizeBytes = MacroTileWidth * BytePerPixel * MacroTileHeight; in CalculateVMAndRowBytes()
2559 …dml_uint_t)(64 * (dml_ceil((dml_float_t) (Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSize… in CalculateVMAndRowBytes()
2572 dml_print("DML::%s: BytePerPixel = %u\n", __func__, BytePerPixel); in CalculateVMAndRowBytes()
2590 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in CalculateVMAndRowBytes()
2591 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in CalculateVMAndRowBytes()
[all …]