/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 52 unsigned int *BytePerPixelY, 559 unsigned int BytePerPixelY[], 632 unsigned int BytePerPixelY[], 903 unsigned int BytePerPixelY[], 980 unsigned int BytePerPixelY, 1018 unsigned int BytePerPixelY[],
|
H A D | display_mode_vba_util_32.c | 257 unsigned int *BytePerPixelY, in dml32_CalculateBytePerPixelAndBlockSizes() argument 273 *BytePerPixelY = 8; in dml32_CalculateBytePerPixelAndBlockSizes() 278 *BytePerPixelY = 4; in dml32_CalculateBytePerPixelAndBlockSizes() 283 *BytePerPixelY = 2; in dml32_CalculateBytePerPixelAndBlockSizes() 288 *BytePerPixelY = 1; in dml32_CalculateBytePerPixelAndBlockSizes() 293 *BytePerPixelY = 4; in dml32_CalculateBytePerPixelAndBlockSizes() 298 *BytePerPixelY = 1; in dml32_CalculateBytePerPixelAndBlockSizes() 303 *BytePerPixelY = 2; in dml32_CalculateBytePerPixelAndBlockSizes() 308 *BytePerPixelY = 2; in dml32_CalculateBytePerPixelAndBlockSizes() 315 dml_print("DML::%s: BytePerPixelY = %d\n", __func__, *BytePerPixelY); in dml32_CalculateBytePerPixelAndBlockSizes() [all …]
|
H A D | display_mode_vba_32.c | 150 &v->BytePerPixelY[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 184 v->BytePerPixelY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 206 v->ReadBandwidthSurfaceLuma[k] = v->SwathWidthSingleDPPY[k] * v->BytePerPixelY[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 267 v->BytePerPixelY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 314 v->BytePerPixelY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 398 v->BytePerPixelY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 442 …metersWatermarksAndPerformanceCalculation.SurfaceParameters[k].BytePerPixelY = v->BytePerPixelY[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 782 …epPrefetchParametersWatermarksAndPerformanceCalculation.myPipe.BytePerPixelY = v->BytePerPixelY[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1300 v->BytePerPixelY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1402 v->BytePerPixelY[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 114 int BytePerPixelY, 160 unsigned int BytePerPixelY, 356 int BytePerPixelY[], 448 int BytePerPixelY[], 519 int BytePerPixelY[], 844 int BytePerPixelY, in CalculatePrefetchSchedule() 1009 …prefetch_bw_oto = (PrefetchSourceLinesY * swath_width_luma_ub * BytePerPixelY + PrefetchSourceLine… in CalculatePrefetchSchedule() 1064 + PrefetchSourceLinesY * swath_width_luma_ub * BytePerPixelY in CalculatePrefetchSchedule() 1077 swath_width_luma_ub * BytePerPixelY + in CalculatePrefetchSchedule() 1087 swath_width_luma_ub * BytePerPixelY + PrefetchSourceLinesC * in CalculatePrefetchSchedule() [all …]
|
H A D | display_mode_vba_30.h | 45 unsigned int *BytePerPixelY,
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 81 int BytePerPixelY; member 92 unsigned int *BytePerPixelY, 186 unsigned int BytePerPixelY, 330 int BytePerPixelY[], 421 int BytePerPixelY[], 506 int BytePerPixelY[], 1071 bytes_pp = myPipe->BytePerPixelY + myPipe->BytePerPixelC / 4; 1073 bytes_pp = myPipe->BytePerPixelY + myPipe->BytePerPixelC; 1078 …prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchS… 1093 dml_print("DML: BytePerPixelY: %d\n", myPipe->BytePerPixelY); [all …]
|
H A D | display_rq_dlg_calc_314.c | 35 unsigned int *BytePerPixelY, in CalculateBytePerPixelAnd256BBlockSizes() argument 47 *BytePerPixelY = 8; in CalculateBytePerPixelAnd256BBlockSizes() 52 *BytePerPixelY = 4; in CalculateBytePerPixelAnd256BBlockSizes() 57 *BytePerPixelY = 2; in CalculateBytePerPixelAnd256BBlockSizes() 62 *BytePerPixelY = 1; in CalculateBytePerPixelAnd256BBlockSizes() 67 *BytePerPixelY = 4; in CalculateBytePerPixelAnd256BBlockSizes() 72 *BytePerPixelY = 1; in CalculateBytePerPixelAnd256BBlockSizes() 77 *BytePerPixelY = 2; in CalculateBytePerPixelAnd256BBlockSizes() 82 *BytePerPixelY = 2; in CalculateBytePerPixelAnd256BBlockSizes() 97 *BlockWidth256BytesY = 256U / *BytePerPixelY / *BlockHeight256BytesY; in CalculateBytePerPixelAnd256BBlockSizes() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 83 int BytePerPixelY; member 177 unsigned int BytePerPixelY, 321 int BytePerPixelY[], 412 int BytePerPixelY[], 497 int BytePerPixelY[], 1053 bytes_pp = myPipe->BytePerPixelY + myPipe->BytePerPixelC / 4; 1055 bytes_pp = myPipe->BytePerPixelY + myPipe->BytePerPixelC; 1060 …prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchS… 1075 dml_print("DML: BytePerPixelY: %d\n", myPipe->BytePerPixelY); 1357 dml_print("DML::%s: BytePerPixelY = %d\n", __func__, myPipe->BytePerPixelY); [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.c | 43 dml_uint_t *BytePerPixelY, 202 dml_uint_t BytePerPixelY, 398 dml_uint_t BytePerPixelY[], 506 dml_uint_t BytePerPixelY[], 1179 s->bytes_pp = p->myPipe->BytePerPixelY + p->myPipe->BytePerPixelC / 4; in CalculatePrefetchSchedule() 1181 s->bytes_pp = p->myPipe->BytePerPixelY + p->myPipe->BytePerPixelC; in CalculatePrefetchSchedule() 1190 …s->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY… in CalculatePrefetchSchedule() 1232 dml_print("DML::%s: BytePerPixelY = %u\n", __func__, p->myPipe->BytePerPixelY); in CalculatePrefetchSchedule() 1490 * p->myPipe->BytePerPixelY in CalculatePrefetchSchedule() 1494 dml_print("DML::%s: BytePerPixelY = %u\n", __func__, p->myPipe->BytePerPixelY); in CalculatePrefetchSchedule() [all …]
|
H A D | display_mode_core_structs.h | 421 dml_uint_t BytePerPixelY; member 860 dml_uint_t BytePerPixelY[__DML_NUM_PLANES__]; member 963 dml_uint_t BytePerPixelY[__DML_NUM_PLANES__]; member 1257 dml_uint_t *BytePerPixelY; member 1490 dml_uint_t *BytePerPixelY; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared_types.h | 126 unsigned int BytePerPixelY; 419 unsigned int BytePerPixelY[DML2_MAX_PLANES]; 563 unsigned int BytePerPixelY[DML2_MAX_PLANES]; 1463 unsigned int *BytePerPixelY; 1672 unsigned int *BytePerPixelY; 117 unsigned int BytePerPixelY; global() member 410 unsigned int BytePerPixelY[DML2_MAX_PLANES]; global() member 554 unsigned int BytePerPixelY[DML2_MAX_PLANES]; global() member 1440 unsigned int *BytePerPixelY; global() member 1649 unsigned int *BytePerPixelY; global() member
|
H A D | dml2_core_shared.c | 54 unsigned int *BytePerPixelY, 205 unsigned int BytePerPixelY, 341 unsigned int BytePerPixelY[], 878 &mode_lib->ms.BytePerPixelY[k], in dml2_core_shared_mode_support() 906 mode_lib->ms.SurfaceReadBandwidthLuma[k] = mode_lib->ms.SwathWidthYSingleDPP[k] * math_ceil2(mode_lib->ms.BytePerPixelY[k], 1.0) / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio; in dml2_core_shared_mode_support() 1015 } else if (dml_is_vertical_rotation(display_cfg->plane_descriptors[k].composition.rotation_angle) && mode_lib->ms.BytePerPixelY[k] == 8 && display_cfg->plane_descriptors[k].surface.dcc.enable == true) { // vert 64bpp in dml2_core_shared_mode_support() 1148 CalculateSwathAndDETConfiguration_params->BytePerPixY = mode_lib->ms.BytePerPixelY; in dml2_core_shared_mode_support() 1629 mode_lib->ms.BytePerPixelY, in dml2_core_shared_mode_support() 1671 s->SurfParameters[k].BytePerPixelY = mode_lib->ms.BytePerPixelY[ in dml2_core_shared_mode_support() 3247 CalculateBytePerPixelAndBlockSizes(enum dml2_source_format_class SourcePixelFormat,enum dml2_swizzle_mode SurfaceTiling,unsigned int pitch_y,unsigned int pitch_c,unsigned int * BytePerPixelY,unsigned int * BytePerPixelC,double * BytePerPixelDETY,double * BytePerPixelDETC,unsigned int * BlockHeight256BytesY,unsigned int * BlockHeight256BytesC,unsigned int * BlockWidth256BytesY,unsigned int * BlockWidth256BytesC,unsigned int * MacroTileHeightY,unsigned int * MacroTileHeightC,unsigned int * MacroTileWidthY,unsigned int * MacroTileWidthC,bool * surf_linear128_l,bool * surf_linear128_c) CalculateBytePerPixelAndBlockSizes() argument 4709 CalculateDCCConfiguration(bool DCCEnabled,bool DCCProgrammingAssumesScanDirectionUnknown,enum dml2_source_format_class SourcePixelFormat,unsigned int SurfaceWidthLuma,unsigned int SurfaceWidthChroma,unsigned int SurfaceHeightLuma,unsigned int SurfaceHeightChroma,unsigned int nomDETInKByte,unsigned int RequestHeight256ByteLuma,unsigned int RequestHeight256ByteChroma,enum dml2_swizzle_mode TilingFormat,unsigned int BytePerPixelY,unsigned int BytePerPixelC,double BytePerPixelDETY,double BytePerPixelDETC,enum dml2_rotation_angle RotationAngle,enum dml2_core_internal_request_type * RequestLuma,enum dml2_core_internal_request_type * RequestChroma,unsigned int * MaxUncompressedBlockLuma,unsigned int * MaxUncompressedBlockChroma,unsigned int * MaxCompressedBlockLuma,unsigned int * MaxCompressedBlockChroma,unsigned int * IndependentBlockLuma,unsigned int * IndependentBlockChroma) CalculateDCCConfiguration() argument 6186 CalculateDCFCLKDeepSleep(const struct dml2_display_cfg * display_cfg,unsigned int NumberOfActiveSurfaces,unsigned int BytePerPixelY[],unsigned int BytePerPixelC[],unsigned int SwathWidthY[],unsigned int SwathWidthC[],unsigned int DPPPerSurface[],double PSCL_THROUGHPUT[],double PSCL_THROUGHPUT_CHROMA[],double Dppclk[],double ReadBandwidthLuma[],double ReadBandwidthChroma[],unsigned int ReturnBusWidth,double * DCFClkDeepSleep) CalculateDCFCLKDeepSleep() argument [all...] |
H A D | dml2_core_dcn4_calcs.c | 564 unsigned int *BytePerPixelY, in CalculateBytePerPixelAndBlockSizes() 581 *BytePerPixelY = 0; in CalculateBytePerPixelAndBlockSizes() 587 *BytePerPixelY = 8; in CalculateBytePerPixelAndBlockSizes() 592 *BytePerPixelY = 4; in CalculateBytePerPixelAndBlockSizes() 597 *BytePerPixelY = 2; in CalculateBytePerPixelAndBlockSizes() 602 *BytePerPixelY = 1; in CalculateBytePerPixelAndBlockSizes() 607 *BytePerPixelY = 4; in CalculateBytePerPixelAndBlockSizes() 612 *BytePerPixelY = 1; in CalculateBytePerPixelAndBlockSizes() 617 *BytePerPixelY = 2; in CalculateBytePerPixelAndBlockSizes() 622 *BytePerPixelY in CalculateBytePerPixelAndBlockSizes() 530 CalculateBytePerPixelAndBlockSizes(enum dml2_source_format_class SourcePixelFormat,enum dml2_swizzle_mode SurfaceTiling,unsigned int pitch_y,unsigned int pitch_c,unsigned int * BytePerPixelY,unsigned int * BytePerPixelC,double * BytePerPixelDETY,double * BytePerPixelDETC,unsigned int * BlockHeight256BytesY,unsigned int * BlockHeight256BytesC,unsigned int * BlockWidth256BytesY,unsigned int * BlockWidth256BytesC,unsigned int * MacroTileHeightY,unsigned int * MacroTileHeightC,unsigned int * MacroTileWidthY,unsigned int * MacroTileWidthC,bool * surf_linear128_l,bool * surf_linear128_c) CalculateBytePerPixelAndBlockSizes() argument 2002 CalculateDCCConfiguration(bool DCCEnabled,bool DCCProgrammingAssumesScanDirectionUnknown,enum dml2_source_format_class SourcePixelFormat,unsigned int SurfaceWidthLuma,unsigned int SurfaceWidthChroma,unsigned int SurfaceHeightLuma,unsigned int SurfaceHeightChroma,unsigned int nomDETInKByte,unsigned int RequestHeight256ByteLuma,unsigned int RequestHeight256ByteChroma,enum dml2_swizzle_mode TilingFormat,unsigned int BytePerPixelY,unsigned int BytePerPixelC,double BytePerPixelDETY,double BytePerPixelDETC,enum dml2_rotation_angle RotationAngle,enum dml2_core_internal_request_type * RequestLuma,enum dml2_core_internal_request_type * RequestChroma,unsigned int * MaxUncompressedBlockLuma,unsigned int * MaxUncompressedBlockChroma,unsigned int * MaxCompressedBlockLuma,unsigned int * MaxCompressedBlockChroma,unsigned int * IndependentBlockLuma,unsigned int * IndependentBlockChroma) CalculateDCCConfiguration() argument 3490 CalculateDCFCLKDeepSleep(const struct dml2_display_cfg * display_cfg,unsigned int NumberOfActiveSurfaces,unsigned int BytePerPixelY[],unsigned int BytePerPixelC[],unsigned int SwathWidthY[],unsigned int SwathWidthC[],unsigned int DPPPerSurface[],double PSCL_THROUGHPUT[],double PSCL_THROUGHPUT_CHROMA[],double Dppclk[],double ReadBandwidthLuma[],double ReadBandwidthChroma[],unsigned int ReturnBusWidth,double * DCFClkDeepSleep) CalculateDCFCLKDeepSleep() argument 11512 unsigned int BytePerPixelY; dml2_core_calcs_get_dpte_row_height() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_structs.h | 121 unsigned int BytePerPixelY; member
|
H A D | display_mode_vba.h | 179 unsigned int BytePerPixelY, 1007 unsigned int BytePerPixelY[DC__NUM_DPP__MAX]; member
|
H A D | display_mode_vba.c | 981 unsigned int BytePerPixelY, in Calculate256BBlockSizes() argument 999 *BlockWidth256BytesY = 256 / BytePerPixelY / *BlockHeight256BytesY; in Calculate256BBlockSizes() 1013 *BlockWidth256BytesY = 256 / BytePerPixelY / *BlockHeight256BytesY; in Calculate256BBlockSizes()
|