Home
last modified time | relevance | path

Searched refs:GPUVMMinPageSizeKBytes (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_dcn4_calcs.h34 …, enum dml2_rotation_angle ScanDirection, unsigned int pitch, unsigned int GPUVMMinPageSizeKBytes);
Ddml2_core_dcn4_calcs.c1733 *p->PixelPTEReqWidth = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
1734 PixelPTEReqWidth_linear = p->GPUVMMinPageSizeKBytes * 1024 * 8 / p->BytePerPixel; in CalculateVMAndRowBytes()
1738 *p->vmpg_width = p->GPUVMMinPageSizeKBytes * 1024 / p->BytePerPixel; in CalculateVMAndRowBytes()
1739 …} else if (p->GPUVMMinPageSizeKBytes * 1024 >= dml_get_tile_block_size_bytes(p->SurfaceTiling)) { … in CalculateVMAndRowBytes()
1741 …*p->PixelPTEReqWidth = 8 * 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixe… in CalculateVMAndRowBytes()
1745 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes()
1747 …} else if (p->GPUVMMinPageSizeKBytes == 4 && dml_get_tile_block_size_bytes(p->SurfaceTiling) == 65… in CalculateVMAndRowBytes()
1758 …*p->PixelPTEReqWidth = 8 * 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixe… in CalculateVMAndRowBytes()
1762 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes()
1766 …__func__, p->GPUVMMinPageSizeKBytes, p->SurfaceTiling, dml_get_tile_block_size_bytes(p->SurfaceTil… in CalculateVMAndRowBytes()
[all …]
Ddml2_core_shared.c4411 *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()
4417 …} else if (p->GPUVMMinPageSizeKBytes * 1024 >= dml_get_tile_block_size_bytes(p->SurfaceTiling)) { … in CalculateVMAndRowBytes()
4419 …*p->PixelPTEReqWidth = 8 * 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixe… in CalculateVMAndRowBytes()
4423 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes()
4425 …} else if (p->GPUVMMinPageSizeKBytes == 4 && dml_get_tile_block_size_bytes(p->SurfaceTiling) == 65… in CalculateVMAndRowBytes()
4436 …*p->PixelPTEReqWidth = 8 * 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixe… in CalculateVMAndRowBytes()
4440 *p->vmpg_width = 1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); in CalculateVMAndRowBytes()
4444 …__func__, p->GPUVMMinPageSizeKBytes, p->SurfaceTiling, dml_get_tile_block_size_bytes(p->SurfaceTil… in CalculateVMAndRowBytes()
[all …]
Ddml2_core_shared_types.h1274 unsigned int GPUVMMinPageSizeKBytes; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h385 unsigned int GPUVMMinPageSizeKBytes[],
452 unsigned int GPUVMMinPageSizeKBytes,
Ddisplay_mode_vba_util_32.c1922 unsigned int GPUVMMinPageSizeKBytes[], in dml32_CalculateVMRowAndSwath() argument
1994 if (GPUVMMinPageSizeKBytes[k] >= 64 && IsVertical(myPipe[k].SourceRotation)) in dml32_CalculateVMRowAndSwath()
2034 GPUVMMinPageSizeKBytes[k], in dml32_CalculateVMRowAndSwath()
2108 GPUVMMinPageSizeKBytes[k], in dml32_CalculateVMRowAndSwath()
2180 (GPUVMMinPageSizeKBytes[k] > 64); in dml32_CalculateVMRowAndSwath()
2181 BIGK_FRAGMENT_SIZE[k] = dml_log2(GPUVMMinPageSizeKBytes[k] * 1024) - 12; in dml32_CalculateVMRowAndSwath()
2192 (GPUVMMinPageSizeKBytes[k] > 64 && IsVertical(myPipe[k].SourceRotation)); in dml32_CalculateVMRowAndSwath()
2276 unsigned int GPUVMMinPageSizeKBytes, in dml32_CalculateVMAndRowBytes() argument
2422 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
2423 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in dml32_CalculateVMAndRowBytes()
[all …]
Ddisplay_mode_vba_32.c481 mode_lib->vba.GPUVMMinPageSizeKBytes, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
2774 mode_lib->vba.GPUVMMinPageSizeKBytes, in dml32_ModeSupportAndSystemConfigurationFull()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.h46 dml_uint_t GPUVMMinPageSizeKBytes);
Ddml2_utils.c52 …dml_plane_array->GPUVMMinPageSizeKBytes[dst_index] = dml_plane_array->GPUVMMinPageSizeKBytes[src_i… in dml2_util_copy_dml_plane()
Ddisplay_mode_core.c248 dml_uint_t GPUVMMinPageSizeKBytes,
2463 dml_uint_t GPUVMMinPageSizeKBytes, in CalculateVMAndRowBytes() argument
2589 *PixelPTEReqWidth = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in CalculateVMAndRowBytes()
2590 PixelPTEReqWidth_linear = GPUVMMinPageSizeKBytes * 1024 * 8 / BytePerPixel; in CalculateVMAndRowBytes()
2592 } else if (GPUVMMinPageSizeKBytes == 4) { in CalculateVMAndRowBytes()
2598 *PixelPTEReqWidth = 8 * 1024 * GPUVMMinPageSizeKBytes / (MacroTileHeight * BytePerPixel); in CalculateVMAndRowBytes()
2602 dml_print("DML::%s: GPUVMMinPageSizeKBytes = %u\n", __func__, GPUVMMinPageSizeKBytes); in CalculateVMAndRowBytes()
2638 if (GPUVMMinPageSizeKBytes > 64) { in CalculateVMAndRowBytes()
2673 dml_print("DML::%s: GPUVMMinPageSizeKBytes = %u\n", __func__, GPUVMMinPageSizeKBytes); in CalculateVMAndRowBytes()
5063 if (p->GPUVMMinPageSizeKBytes[k] >= 64 && dml_is_vertical_rotation(p->myPipe[k].SourceScan)) { in CalculateVMRowAndSwath()
[all …]
Ddisplay_mode_core_structs.h481 dml_uint_t GPUVMMinPageSizeKBytes[__DML_NUM_PLANES__]; member
1349 dml_uint_t *GPUVMMinPageSizeKBytes; member
Ddml2_translation_helper.c975 out->GPUVMMinPageSizeKBytes[location] = soc->gpuvm_min_page_size_kbytes; in populate_dummy_dml_plane_cfg()
1025 out->GPUVMMinPageSizeKBytes[location] = soc->gpuvm_min_page_size_kbytes; in populate_dml_plane_cfg_from_plane_state()
Ddisplay_mode_util.c552 …nt("DML: plane_cfg: plane=%d, GPUVMMinPageSizeKBytes = %d\n", i, plane->GPUVMMinPageSizeKBytes[i]); in dml_print_dml_display_cfg_plane()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c569 …mode_lib->vba.GPUVMMinPageSizeKBytes[mode_lib->vba.NumberOfActivePlanes] = src->gpuvm_min_page_siz… in fetch_pipe_params()
914 (mode_lib->vba.GPUVMMinPageSizeKBytes[k] > 64*1024) || in fetch_pipe_params()
923 __func__, mode_lib->vba.GPUVMMinPageSizeKBytes[k]); in fetch_pipe_params()
Ddisplay_mode_vba.h445 unsigned int GPUVMMinPageSizeKBytes[DC__NUM_DPP__MAX]; member