Home
last modified time | relevance | path

Searched refs:SourcePixelFormat (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c137 enum source_format_class SourcePixelFormat,
181 enum source_format_class SourcePixelFormat,
204 enum source_format_class SourcePixelFormat,
864 enum source_format_class SourcePixelFormat, in CalculateVMAndRowBytes() argument
1033 if (SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10) in CalculateVMAndRowBytes()
1152 if ((mode_lib->vba.SourcePixelFormat[k] != dm_420_8 in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1153 && mode_lib->vba.SourcePixelFormat[k] != dm_420_10)) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1363 if (mode_lib->vba.SourcePixelFormat[k] == dm_444_64) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1366 } else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_32) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1369 } else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_16) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
Ddisplay_mode_vba_20v2.c161 enum source_format_class SourcePixelFormat,
205 enum source_format_class SourcePixelFormat,
228 enum source_format_class SourcePixelFormat,
924 enum source_format_class SourcePixelFormat, in CalculateVMAndRowBytes() argument
1093 if (SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10) in CalculateVMAndRowBytes()
1212 if ((mode_lib->vba.SourcePixelFormat[k] != dm_420_8 in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1213 && mode_lib->vba.SourcePixelFormat[k] != dm_420_10)) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1423 if (mode_lib->vba.SourcePixelFormat[k] == dm_444_64) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1426 } else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_32) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1429 } else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_16) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c151 enum source_format_class SourcePixelFormat,
186 enum source_format_class SourcePixelFormat,
224 enum source_format_class SourcePixelFormat,
255 enum source_format_class SourcePixelFormat,
555 enum source_format_class SourcePixelFormat[],
590 enum source_format_class SourcePixelFormat[],
1311 enum source_format_class SourcePixelFormat, in CalculateDCCConfiguration() argument
1375 …yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==… in CalculateDCCConfiguration()
1415 if (SourcePixelFormat == dm_420_10) { in CalculateDCCConfiguration()
1446 if (SourcePixelFormat == dm_420_10) { in CalculateDCCConfiguration()
[all …]
Ddisplay_mode_vba_30.h43 enum source_format_class SourcePixelFormat,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c80 enum source_format_class SourcePixelFormat; member
90 enum source_format_class SourcePixelFormat,
177 enum source_format_class SourcePixelFormat,
212 enum source_format_class SourcePixelFormat,
246 enum source_format_class SourcePixelFormat,
548 enum source_format_class SourcePixelFormat[],
583 enum source_format_class SourcePixelFormat[],
1070 …if (myPipe->SourcePixelFormat == dm_420_8 || myPipe->SourcePixelFormat == dm_420_10 || myPipe->Sou…
1492 enum source_format_class SourcePixelFormat, argument
1551 …yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==…
[all …]
Ddisplay_rq_dlg_calc_314.c33 enum source_format_class SourcePixelFormat, in CalculateBytePerPixelAnd256BBlockSizes() argument
44 if (SourcePixelFormat == dm_444_64) { in CalculateBytePerPixelAnd256BBlockSizes()
49 } else if (SourcePixelFormat == dm_444_32 || SourcePixelFormat == dm_rgbe) { in CalculateBytePerPixelAnd256BBlockSizes()
54 } else if (SourcePixelFormat == dm_444_16) { in CalculateBytePerPixelAnd256BBlockSizes()
59 } else if (SourcePixelFormat == dm_444_8) { in CalculateBytePerPixelAnd256BBlockSizes()
64 } else if (SourcePixelFormat == dm_rgbe_alpha) { in CalculateBytePerPixelAnd256BBlockSizes()
69 } else if (SourcePixelFormat == dm_420_8) { in CalculateBytePerPixelAnd256BBlockSizes()
74 } else if (SourcePixelFormat == dm_420_12) { in CalculateBytePerPixelAnd256BBlockSizes()
86SourcePixelFormat == dm_444_64 || SourcePixelFormat == dm_444_32 || SourcePixelFormat == dm_444_16… in CalculateBytePerPixelAnd256BBlockSizes()
87 || SourcePixelFormat == dm_mono_8 || SourcePixelFormat == dm_rgbe)) { in CalculateBytePerPixelAnd256BBlockSizes()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c175 enum source_format_class SourcePixelFormat,
233 enum source_format_class SourcePixelFormat,
263 enum source_format_class SourcePixelFormat,
1263 enum source_format_class SourcePixelFormat, in CalculateVMAndRowBytes() argument
1536 if ((mode_lib->vba.SourcePixelFormat[k] != dm_420_8 in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1537 && mode_lib->vba.SourcePixelFormat[k] != dm_420_10)) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1711 if (mode_lib->vba.SourcePixelFormat[k] == dm_444_64) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1714 } else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_32) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1717 …} else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_16 || mode_lib->vba.SourcePixelFormat[k] =… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1720 …} else if (mode_lib->vba.SourcePixelFormat[k] == dm_444_8 || mode_lib->vba.SourcePixelFormat[k] ==… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c82 enum source_format_class SourcePixelFormat; member
168 enum source_format_class SourcePixelFormat,
203 enum source_format_class SourcePixelFormat,
237 enum source_format_class SourcePixelFormat,
540 enum source_format_class SourcePixelFormat[],
575 enum source_format_class SourcePixelFormat[],
1052 …if (myPipe->SourcePixelFormat == dm_420_8 || myPipe->SourcePixelFormat == dm_420_10 || myPipe->Sou…
1475 enum source_format_class SourcePixelFormat, argument
1534 …yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==…
1562 if (SourcePixelFormat == dm_420_10) {
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h48 enum source_format_class SourcePixelFormat,
73 enum source_format_class SourcePixelFormat,
105 enum source_format_class SourcePixelFormat[],
152 enum source_format_class SourcePixelFormat[],
206 enum source_format_class SourcePixelFormat[],
440 enum source_format_class SourcePixelFormat,
508 enum source_format_class SourcePixelFormat,
786 enum source_format_class SourcePixelFormat,
971 enum source_format_class SourcePixelFormat,
Ddisplay_mode_vba_util_32.c206 enum source_format_class SourcePixelFormat, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() argument
233 …if ((SourcePixelFormat != dm_420_8 && SourcePixelFormat != dm_420_10 && SourcePixelFormat != dm_42… in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
234 SourcePixelFormat != dm_rgbe_alpha)) { in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
253 enum source_format_class SourcePixelFormat, in dml32_CalculateBytePerPixelAndBlockSizes() argument
270 if (SourcePixelFormat == dm_444_64) { in dml32_CalculateBytePerPixelAndBlockSizes()
275 } else if (SourcePixelFormat == dm_444_32 || SourcePixelFormat == dm_rgbe) { in dml32_CalculateBytePerPixelAndBlockSizes()
280 } else if (SourcePixelFormat == dm_444_16) { in dml32_CalculateBytePerPixelAndBlockSizes()
285 } else if (SourcePixelFormat == dm_444_8) { in dml32_CalculateBytePerPixelAndBlockSizes()
290 } else if (SourcePixelFormat == dm_rgbe_alpha) { in dml32_CalculateBytePerPixelAndBlockSizes()
295 } else if (SourcePixelFormat == dm_420_8) { in dml32_CalculateBytePerPixelAndBlockSizes()
[all …]
Ddisplay_mode_vba_32.c124 mode_lib->vba.SourcePixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
146 mode_lib->vba.SourcePixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
170 mode_lib->vba.SourcePixelFormat, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
249 mode_lib->vba.SourcePixelFormat, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
440 …arksAndPerformanceCalculation.SurfaceParameters[k].SourcePixelFormat = mode_lib->vba.SourcePixelFo… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
781 …rametersWatermarksAndPerformanceCalculation.myPipe.SourcePixelFormat = mode_lib->vba.SourcePixelFo… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1051 mode_lib->vba.SourcePixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1394 mode_lib->vba.SourcePixelFormat[k], mode_lib->vba.SurfaceWidthY[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1750 && ((mode_lib->vba.SourcePixelFormat[k] != dm_444_64 in dml32_ModeSupportAndSystemConfigurationFull()
1751 && mode_lib->vba.SourcePixelFormat[k] != dm_444_32 in dml32_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c40 enum dml_source_format_class SourcePixelFormat,
142 enum dml_source_format_class SourcePixelFormat,
193 enum dml_source_format_class SourcePixelFormat,
238 enum dml_source_format_class SourcePixelFormat,
292 enum dml_source_format_class SourcePixelFormat,
323 enum dml_source_format_class SourcePixelFormat,
582 enum dml_source_format_class SourcePixelFormat[],
710 enum dml_source_format_class SourcePixelFormat[],
1178 …if (p->myPipe->SourcePixelFormat == dml_420_8 || p->myPipe->SourcePixelFormat == dml_420_10 || p->… in CalculatePrefetchSchedule()
1594 enum dml_source_format_class SourcePixelFormat, in CalculateBytePerPixelAndBlockSizes() argument
[all …]
Ddml2_translation_helper.c864 out->SourcePixelFormat[location] = dml_444_32; in populate_dummy_dml_surface_cfg()
905 out->SourcePixelFormat[location] = dml_420_8; in populate_dml_surface_cfg_from_plane_state()
909 out->SourcePixelFormat[location] = dml_420_10; in populate_dml_surface_cfg_from_plane_state()
914 out->SourcePixelFormat[location] = dml_444_64; in populate_dml_surface_cfg_from_plane_state()
918 out->SourcePixelFormat[location] = dml_444_16; in populate_dml_surface_cfg_from_plane_state()
921 out->SourcePixelFormat[location] = dml_444_8; in populate_dml_surface_cfg_from_plane_state()
924 out->SourcePixelFormat[location] = dml_rgbe_alpha; in populate_dml_surface_cfg_from_plane_state()
927 out->SourcePixelFormat[location] = dml_444_32; in populate_dml_surface_cfg_from_plane_state()
Ddisplay_mode_core.h42 enum dml_source_format_class SourcePixelFormat,
Ddml_display_rq_dlg_calc.c44 …e_format_class source_format = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[plane_idx]; in dml_rq_dlg_get_rq_reg()
203 …e_format_class source_format = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[plane_idx]; in dml_rq_dlg_get_dlg_reg()
Ddml2_utils.c98 dml_surface_array->SourcePixelFormat[dst_index] = dml_surface_array->SourcePixelFormat[src_index]; in dml2_util_copy_dml_surface()
Ddisplay_mode_core_structs.h419 enum dml_source_format_class SourcePixelFormat; member
527 enum dml_source_format_class SourcePixelFormat[__DML_NUM_PLANES__]; member
1422 enum dml_source_format_class *SourcePixelFormat; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_dcn4_calcs.h34 …y_mode_lib *mode_lib, bool is_plane1, enum dml2_source_format_class SourcePixelFormat, enum dml2_s…
Ddml2_core_shared.c48 static void CalculateBytePerPixelAndBlockSizes(enum dml2_source_format_class SourcePixelFormat,
76 enum dml2_source_format_class SourcePixelFormat,
165 enum dml2_source_format_class SourcePixelFormat,
196 enum dml2_source_format_class SourcePixelFormat,
642 enum dml2_source_format_class SourcePixelFormat,
1669 s->SurfParameters[k].SourcePixelFormat = display_cfg->plane_descriptors[k].pixel_format; in dml2_core_shared_mode_support()
2314 myPipe->SourcePixelFormat = display_cfg->plane_descriptors[k].pixel_format; in dml2_core_shared_mode_support()
3245 enum dml2_source_format_class SourcePixelFormat, in CalculateBytePerPixelAndBlockSizes() argument
3271 if (SourcePixelFormat == dml2_444_64) { in CalculateBytePerPixelAndBlockSizes()
3276 } else if (SourcePixelFormat == dml2_444_32 || SourcePixelFormat == dml2_rgbe) { in CalculateBytePerPixelAndBlockSizes()
[all …]
Ddml2_core_dcn4_calcs.c558 enum dml2_source_format_class SourcePixelFormat, in CalculateBytePerPixelAndBlockSizes() argument
584 if (SourcePixelFormat == dml2_444_64) { in CalculateBytePerPixelAndBlockSizes()
589 } else if (SourcePixelFormat == dml2_444_32 || SourcePixelFormat == dml2_rgbe) { in CalculateBytePerPixelAndBlockSizes()
594 } else if (SourcePixelFormat == dml2_444_16 || SourcePixelFormat == dml2_mono_16) { in CalculateBytePerPixelAndBlockSizes()
599 } else if (SourcePixelFormat == dml2_444_8 || SourcePixelFormat == dml2_mono_8) { in CalculateBytePerPixelAndBlockSizes()
604 } else if (SourcePixelFormat == dml2_rgbe_alpha) { in CalculateBytePerPixelAndBlockSizes()
609 } else if (SourcePixelFormat == dml2_420_8) { in CalculateBytePerPixelAndBlockSizes()
614 } else if (SourcePixelFormat == dml2_420_12) { in CalculateBytePerPixelAndBlockSizes()
619 } else if (SourcePixelFormat == dml2_420_10) { in CalculateBytePerPixelAndBlockSizes()
625 …ml2_printf("ERROR: DML::%s: SourcePixelFormat = %u not supported!\n", __func__, SourcePixelFormat); in CalculateBytePerPixelAndBlockSizes()
[all …]
Ddml2_core_shared_types.h124 enum dml2_source_format_class SourcePixelFormat; member
1264 enum dml2_source_format_class SourcePixelFormat; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c616 …mode_lib->vba.SourcePixelFormat[mode_lib->vba.NumberOfActivePlanes] = (enum source_format_class) (… in fetch_pipe_params()
979 enum source_format_class SourcePixelFormat, in Calculate256BBlockSizes() argument
988 if ((SourcePixelFormat == dm_444_64 || SourcePixelFormat == dm_444_32 in Calculate256BBlockSizes()
989 || SourcePixelFormat == dm_444_16 || SourcePixelFormat == dm_444_8)) { in Calculate256BBlockSizes()
992 } else if (SourcePixelFormat == dm_444_64) { in Calculate256BBlockSizes()
994 } else if (SourcePixelFormat == dm_444_8) { in Calculate256BBlockSizes()
1006 } else if (SourcePixelFormat == dm_420_8) { in Calculate256BBlockSizes()
Ddisplay_mode_structs.h119 enum source_format_class SourcePixelFormat; member
Ddisplay_mode_vba.h177 enum source_format_class SourcePixelFormat,
483 enum source_format_class SourcePixelFormat[DC__NUM_DPP__MAX]; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn315/
Ddcn315_resource.c1617 static int source_format_to_bpp (enum source_format_class SourcePixelFormat) in source_format_to_bpp() argument
1619 if (SourcePixelFormat == dm_444_64) in source_format_to_bpp()
1621 else if (SourcePixelFormat == dm_444_16) in source_format_to_bpp()
1623 else if (SourcePixelFormat == dm_444_8) in source_format_to_bpp()
1625 else if (SourcePixelFormat == dm_rgbe_alpha) in source_format_to_bpp()
1627 else if (SourcePixelFormat == dm_420_8) in source_format_to_bpp()
1629 else if (SourcePixelFormat == dm_420_12) in source_format_to_bpp()