Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/riva/
H A Driva_hw.h402 U032 Pitch; member
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c2283 unsigned int Pitch, in dml32_CalculateVMAndRowBytes() argument
2390 …*DPDE0BytesFrame = 64 * (dml_ceil((Pitch * vp_height_dpte_ub * BytePerPixel - MacroTileSizeBytes) / in dml32_CalculateVMAndRowBytes()
2445 dml_print("DML::%s: Pitch = %d\n", __func__, Pitch); in dml32_CalculateVMAndRowBytes()
2449 …*dpte_row_width_ub_one_row_per_frame = (dml_ceil(((double)Pitch * (double)*dpte_row_height_one_row… in dml32_CalculateVMAndRowBytes()
2457 *PixelPTEReqWidth / Pitch), 1)); in dml32_CalculateVMAndRowBytes()
2460 PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch); in dml32_CalculateVMAndRowBytes()
2462 dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch)); in dml32_CalculateVMAndRowBytes()
2464 dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1)); in dml32_CalculateVMAndRowBytes()
2467 *PixelPTEReqWidth / Pitch), 1)); in dml32_CalculateVMAndRowBytes()
2470 *dpte_row_width_ub = dml_ceil(((double) Pitch * (double) *dpte_row_height - 1), in dml32_CalculateVMAndRowBytes()
[all …]
H A Ddisplay_mode_vba_util_32.h455 unsigned int Pitch,
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c250 dml_uint_t Pitch,
2466 dml_uint_t Pitch, in CalculateVMAndRowBytes() argument
2559 …*DPDE0BytesFrame = (dml_uint_t)(64 * (dml_ceil((dml_float_t) (Pitch * vp_height_dpte_ub * BytePerP… in CalculateVMAndRowBytes()
2609 dml_print("DML::%s: Pitch = %u\n", __func__, Pitch); in CalculateVMAndRowBytes()
2613 …*dpte_row_width_ub_one_row_per_frame = (dml_uint_t)((dml_ceil(((dml_float_t)Pitch * (dml_float_t) … in CalculateVMAndRowBytes()
2617 …8, 1 << (dml_uint_t) dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1))); in CalculateVMAndRowBytes()
2618 …%s: dpte_row_height term 1 = %u\n", __func__, PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch); in CalculateVMAndRowBytes()
2619 …ow_height term 2 = %f\n", __func__, dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch)); in CalculateVMAndRowBytes()
2620 … 3 = %f\n", __func__, dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1)); in CalculateVMAndRowBytes()
2621 …__, 1 << (dml_uint_t) dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1)); in CalculateVMAndRowBytes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h1303 unsigned int Pitch; member
H A Ddml2_core_dcn4_calcs.c1717 …*p->dpde0_bytes_per_frame_ub = (unsigned int)(64 * (math_ceil2((double)(p->Pitch * vp_height_dpte_… in CalculateVMAndRowBytes()
1792 dml2_printf("DML::%s: Pitch = %u\n", __func__, p->Pitch); in CalculateVMAndRowBytes()
1798 …*p->dpte_row_width_ub_one_row_per_frame = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*… in CalculateVMAndRowBytes()
1803 …floor2(math_log((float)(p->PTEBufferSizeInRequests * *p->PixelPTEReqWidth / p->Pitch), 2.0), 1)))); in CalculateVMAndRowBytes()
1804 …*p->dpte_row_width_ub = (unsigned int)(math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height … in CalculateVMAndRowBytes()
1808 …floor2(math_log((float)(p->PTEBufferSizeInRequests * PixelPTEReqWidth_linear / p->Pitch), 2.0), 1); in CalculateVMAndRowBytes()
1820 …*p->dpte_row_width_ub = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height… in CalculateVMAndRowBytes()
2942 scratch->calculate_vm_and_row_bytes_params.Pitch = p->myPipe[k].PitchC; in CalculateVMRowAndSwath()
3020 scratch->calculate_vm_and_row_bytes_params.Pitch = p->myPipe[k].PitchY; in CalculateVMRowAndSwath()
12122 mode_lib->scratch.calculate_vm_and_row_bytes_params.Pitch = pitch; in dml2_core_calcs_get_dpte_row_height()
H A Ddml2_core_shared.c4378 …*p->dpde0_bytes_per_frame_ub = (unsigned int)(64 * (math_ceil2((double)(p->Pitch * vp_height_dpte_… in CalculateVMAndRowBytes()
4455 dml2_printf("DML::%s: Pitch = %u\n", __func__, p->Pitch); in CalculateVMAndRowBytes()
4461 …*p->dpte_row_width_ub_one_row_per_frame = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*… in CalculateVMAndRowBytes()
4465 …floor2(math_log((float)(p->PTEBufferSizeInRequests * *p->PixelPTEReqWidth / p->Pitch), 2.0), 1)))); in CalculateVMAndRowBytes()
4466 …*p->dpte_row_width_ub = (unsigned int)(math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height … in CalculateVMAndRowBytes()
4471 …floor2(math_log((float)(p->PTEBufferSizeInRequests * PixelPTEReqWidth_linear / p->Pitch), 2.0), 1); in CalculateVMAndRowBytes()
4483 …*p->dpte_row_width_ub = (unsigned int)((math_ceil2(((double)p->Pitch * (double)*p->dpte_row_height… in CalculateVMAndRowBytes()
5599 scratch->calculate_vm_and_row_bytes_params.Pitch = p->myPipe[k].PitchC; in CalculateVMRowAndSwath()
5677 scratch->calculate_vm_and_row_bytes_params.Pitch = p->myPipe[k].PitchY; in CalculateVMRowAndSwath()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c215 unsigned int Pitch,
1805 unsigned int Pitch, argument
1885 …((Pitch * (dml_ceil(ViewportHeight - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) - Macr…
1891 …((Pitch * (dml_ceil((double) SwathWidth - 1, MacroTileHeight) + MacroTileHeight) * BytePerPixel) -…
1939 …, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *PixelPTEReqWidth / Pitch), 1));
1940 …*dpte_row_width_ub = (dml_ceil((double)(Pitch * *dpte_row_height - 1) / *PixelPTEReqWidth, 1) + 1)…