/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 2718 double Read256BytesBlockHeightY; local 2761 Read256BytesBlockHeightY = 1; 2763 Read256BytesBlockHeightY = 4; 2766 Read256BytesBlockHeightY = 8; 2768 Read256BytesBlockHeightY = 16; 2771 / Read256BytesBlockHeightY; 2776 Read256BytesBlockHeightY = 1; 2779 Read256BytesBlockHeightY = 16; 2782 Read256BytesBlockHeightY = 8; 2786 / Read256BytesBlockHeightY; [all...] |
H A D | display_mode_vba_20v2.c | 2791 double Read256BytesBlockHeightY; local 2834 Read256BytesBlockHeightY = 1; 2836 Read256BytesBlockHeightY = 4; 2839 Read256BytesBlockHeightY = 8; 2841 Read256BytesBlockHeightY = 16; 2844 / Read256BytesBlockHeightY; 2849 Read256BytesBlockHeightY = 1; 2852 Read256BytesBlockHeightY = 16; 2855 Read256BytesBlockHeightY = 8; 2859 / Read256BytesBlockHeightY; [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 2816 double Read256BytesBlockHeightY; local 2859 Read256BytesBlockHeightY = 1; 2861 Read256BytesBlockHeightY = 4; 2864 Read256BytesBlockHeightY = 8; 2866 Read256BytesBlockHeightY = 16; 2869 / Read256BytesBlockHeightY; 2874 Read256BytesBlockHeightY = 1; 2877 Read256BytesBlockHeightY = 16; 2880 Read256BytesBlockHeightY = 8; 2884 / Read256BytesBlockHeightY; [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 563 int Read256BytesBlockHeightY[], 601 int Read256BytesBlockHeightY[], 3058 int Read256BytesBlockHeightY[DC__NUM_DPP__MAX] = { 0 }; local 3081 &Read256BytesBlockHeightY[k], 3101 Read256BytesBlockHeightY, 6114 int Read256BytesBlockHeightY[], 6167 Read256BytesBlockHeightY, 6304 int Read256BytesBlockHeightY[], 6367 surface_height_ub_l = dml_ceil(SurfaceHeightY[k], Read256BytesBlockHeightY[k]); 6370 MaximumSwathHeightY[k] = Read256BytesBlockHeightY[ 6099 CalculateSwathAndDETConfiguration( bool ForceSingleDPP, int NumberOfActivePlanes, unsigned int DETBufferSizeInKByte, double MaximumSwathWidthLuma[], double MaximumSwathWidthChroma[], enum scan_direction_class SourceScan[], enum source_format_class SourcePixelFormat[], enum dm_swizzle_mode SurfaceTiling[], int ViewportWidth[], int ViewportHeight[], int SurfaceWidthY[], int SurfaceWidthC[], int SurfaceHeightY[], int SurfaceHeightC[], int Read256BytesBlockHeightY[], int Read256BytesBlockHeightC[], int Read256BytesBlockWidthY[], int Read256BytesBlockWidthC[], enum odm_combine_mode ODMCombineEnabled[], int BlendingAndTiming[], int BytePerPixY[], int BytePerPixC[], double BytePerPixDETY[], double BytePerPixDETC[], int HActive[], double HRatio[], double HRatioChroma[], int DPPPerPlane[], int swath_width_luma_ub[], int swath_width_chroma_ub[], double SwathWidth[], double SwathWidthChroma[], int SwathHeightY[], int SwathHeightC[], unsigned int DETBufferSizeY[], unsigned int DETBufferSizeC[], bool ViewportSizeSupportPerPlane[], bool *ViewportSizeSupport) argument 6290 CalculateSwathWidth( bool ForceSingleDPP, int NumberOfActivePlanes, enum source_format_class SourcePixelFormat[], enum scan_direction_class SourceScan[], unsigned int ViewportWidth[], unsigned int ViewportHeight[], unsigned int SurfaceWidthY[], unsigned int SurfaceWidthC[], unsigned int SurfaceHeightY[], unsigned int SurfaceHeightC[], enum odm_combine_mode ODMCombineEnabled[], int BytePerPixY[], int BytePerPixC[], int Read256BytesBlockHeightY[], int Read256BytesBlockHeightC[], int Read256BytesBlockWidthY[], int Read256BytesBlockWidthC[], int BlendingAndTiming[], unsigned int HActive[], double HRatio[], int DPPPerPlane[], double SwathWidthSingleDPPY[], double SwathWidthSingleDPPC[], double SwathWidthY[], double SwathWidthC[], int MaximumSwathHeightY[], int MaximumSwathHeightC[], unsigned int swath_width_luma_ub[], unsigned int swath_width_chroma_ub[]) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 548 int Read256BytesBlockHeightY[], 586 int Read256BytesBlockHeightY[], 3284 int Read256BytesBlockHeightY[DC__NUM_DPP__MAX]; local 3308 &Read256BytesBlockHeightY[k], 3330 Read256BytesBlockHeightY, 6639 int Read256BytesBlockHeightY[], 6692 Read256BytesBlockHeightY, 6821 int Read256BytesBlockHeightY[], 6893 int surface_height_ub_l = dml_ceil(SurfaceHeightY[k], Read256BytesBlockHeightY[k]); 6900 MaximumSwathHeightY[k] = Read256BytesBlockHeightY[ 6623 CalculateSwathAndDETConfiguration( bool ForceSingleDPP, int NumberOfActivePlanes, bool DETSharedByAllDPP, unsigned int DETBufferSizeInKByteA[], double MaximumSwathWidthLuma[], double MaximumSwathWidthChroma[], enum scan_direction_class SourceScan[], enum source_format_class SourcePixelFormat[], enum dm_swizzle_mode SurfaceTiling[], int ViewportWidth[], int ViewportHeight[], int SurfaceWidthY[], int SurfaceWidthC[], int SurfaceHeightY[], int SurfaceHeightC[], int Read256BytesBlockHeightY[], int Read256BytesBlockHeightC[], int Read256BytesBlockWidthY[], int Read256BytesBlockWidthC[], enum odm_combine_mode ODMCombineEnabled[], int BlendingAndTiming[], int BytePerPixY[], int BytePerPixC[], double BytePerPixDETY[], double BytePerPixDETC[], int HActive[], double HRatio[], double HRatioChroma[], int DPPPerPlane[], int swath_width_luma_ub[], int swath_width_chroma_ub[], double SwathWidth[], double SwathWidthChroma[], int SwathHeightY[], int SwathHeightC[], unsigned int DETBufferSizeY[], unsigned int DETBufferSizeC[], bool ViewportSizeSupportPerPlane[], bool *ViewportSizeSupport) argument 6807 CalculateSwathWidth( bool ForceSingleDPP, int NumberOfActivePlanes, enum source_format_class SourcePixelFormat[], enum scan_direction_class SourceScan[], int ViewportWidth[], int ViewportHeight[], int SurfaceWidthY[], int SurfaceWidthC[], int SurfaceHeightY[], int SurfaceHeightC[], enum odm_combine_mode ODMCombineEnabled[], int BytePerPixY[], int BytePerPixC[], int Read256BytesBlockHeightY[], int Read256BytesBlockHeightC[], int Read256BytesBlockWidthY[], int Read256BytesBlockWidthC[], int BlendingAndTiming[], int HActive[], double HRatio[], int DPPPerPlane[], double SwathWidthSingleDPPY[], double SwathWidthSingleDPPC[], double SwathWidthY[], double SwathWidthC[], int MaximumSwathHeightY[], int MaximumSwathHeightC[], int swath_width_luma_ub[], int swath_width_chroma_ub[]) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 559 int Read256BytesBlockHeightY[], 597 int Read256BytesBlockHeightY[], 3306 int Read256BytesBlockHeightY[DC__NUM_DPP__MAX]; local 3330 &Read256BytesBlockHeightY[k], 3351 Read256BytesBlockHeightY, 6736 int Read256BytesBlockHeightY[], 6789 Read256BytesBlockHeightY, 6915 int Read256BytesBlockHeightY[], 6986 int surface_height_ub_l = dml_ceil(SurfaceHeightY[k], Read256BytesBlockHeightY[k]); 6993 MaximumSwathHeightY[k] = Read256BytesBlockHeightY[ 6721 CalculateSwathAndDETConfiguration( bool ForceSingleDPP, int NumberOfActivePlanes, unsigned int DETBufferSizeInKByte, double MaximumSwathWidthLuma[], double MaximumSwathWidthChroma[], enum scan_direction_class SourceScan[], enum source_format_class SourcePixelFormat[], enum dm_swizzle_mode SurfaceTiling[], int ViewportWidth[], int ViewportHeight[], int SurfaceWidthY[], int SurfaceWidthC[], int SurfaceHeightY[], int SurfaceHeightC[], int Read256BytesBlockHeightY[], int Read256BytesBlockHeightC[], int Read256BytesBlockWidthY[], int Read256BytesBlockWidthC[], enum odm_combine_mode ODMCombineEnabled[], int BlendingAndTiming[], int BytePerPixY[], int BytePerPixC[], double BytePerPixDETY[], double BytePerPixDETC[], int HActive[], double HRatio[], double HRatioChroma[], int DPPPerPlane[], int swath_width_luma_ub[], int swath_width_chroma_ub[], double SwathWidth[], double SwathWidthChroma[], int SwathHeightY[], int SwathHeightC[], unsigned int DETBufferSizeY[], unsigned int DETBufferSizeC[], bool ViewportSizeSupportPerPlane[], bool *ViewportSizeSupport) argument 6901 CalculateSwathWidth( bool ForceSingleDPP, int NumberOfActivePlanes, enum source_format_class SourcePixelFormat[], enum scan_direction_class SourceScan[], int ViewportWidth[], int ViewportHeight[], int SurfaceWidthY[], int SurfaceWidthC[], int SurfaceHeightY[], int SurfaceHeightC[], enum odm_combine_mode ODMCombineEnabled[], int BytePerPixY[], int BytePerPixC[], int Read256BytesBlockHeightY[], int Read256BytesBlockHeightC[], int Read256BytesBlockWidthY[], int Read256BytesBlockWidthC[], int BlendingAndTiming[], int HActive[], double HRatio[], int DPPPerPlane[], double SwathWidthSingleDPPY[], double SwathWidthSingleDPPC[], double SwathWidthY[], double SwathWidthC[], int MaximumSwathHeightY[], int MaximumSwathHeightC[], int swath_width_luma_ub[], int swath_width_chroma_ub[]) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 428 unsigned int Read256BytesBlockHeightY[], 496 Read256BytesBlockHeightY, 700 unsigned int Read256BytesBlockHeightY[], 788 surface_height_ub_l = dml_ceil(SurfaceHeightY[k], Read256BytesBlockHeightY[k]); 791 MaximumSwathHeightY[k] = Read256BytesBlockHeightY[k]; 831 SwathWidthY[k] + Read256BytesBlockHeightY[k] - 1, 832 Read256BytesBlockHeightY[k]) - 833 dml_floor(ViewportYStart[k], Read256BytesBlockHeightY[k])); 836 Read256BytesBlockHeightY[k]) + Read256BytesBlockHeightY[ 395 dml32_CalculateSwathAndDETConfiguration( unsigned int DETSizeOverride[], enum dm_use_mall_for_pstate_change_mode UseMALLForPStateChange[], unsigned int ConfigReturnBufferSizeInKByte, unsigned int MaxTotalDETInKByte, unsigned int MinCompressedBufferSizeInKByte, double ForceSingleDPP, unsigned int NumberOfActiveSurfaces, unsigned int nomDETInKByte, enum unbounded_requesting_policy UseUnboundedRequestingFinal, bool DisableUnboundRequestIfCompBufReservedSpaceNeedAdjustment, unsigned int PixelChunkSizeKBytes, unsigned int ROBSizeKBytes, unsigned int CompressedBufferSegmentSizeInkByteFinal, enum output_encoder_class Output[], double ReadBandwidthLuma[], double ReadBandwidthChroma[], double MaximumSwathWidthLuma[], double MaximumSwathWidthChroma[], enum dm_rotation_angle SourceRotation[], bool ViewportStationary[], enum source_format_class SourcePixelFormat[], enum dm_swizzle_mode SurfaceTiling[], unsigned int ViewportWidth[], unsigned int ViewportHeight[], unsigned int ViewportXStart[], unsigned int ViewportYStart[], unsigned int ViewportXStartC[], unsigned int ViewportYStartC[], unsigned int SurfaceWidthY[], unsigned int SurfaceWidthC[], unsigned int SurfaceHeightY[], unsigned int SurfaceHeightC[], unsigned int Read256BytesBlockHeightY[], unsigned int Read256BytesBlockHeightC[], unsigned int Read256BytesBlockWidthY[], unsigned int Read256BytesBlockWidthC[], enum odm_combine_mode ODMMode[], unsigned int BlendingAndTiming[], unsigned int BytePerPixY[], unsigned int BytePerPixC[], double BytePerPixDETY[], double BytePerPixDETC[], unsigned int HActive[], double HRatio[], double HRatioChroma[], unsigned int DPPPerSurface[], unsigned int swath_width_luma_ub[], unsigned int swath_width_chroma_ub[], double SwathWidth[], double SwathWidthChroma[], unsigned int SwathHeightY[], unsigned int SwathHeightC[], unsigned int DETBufferSizeInKByte[], unsigned int DETBufferSizeY[], unsigned int DETBufferSizeC[], bool *UnboundedRequestEnabled, unsigned int *CompressedBufferSizeInkByte, unsigned int *CompBufReservedSpaceKBytes, bool *CompBufReservedSpaceNeedAdjustment, bool ViewportSizeSupportPerSurface[], bool *ViewportSizeSupport) argument 681 dml32_CalculateSwathWidth( bool ForceSingleDPP, unsigned int NumberOfActiveSurfaces, enum source_format_class SourcePixelFormat[], enum dm_rotation_angle SourceRotation[], bool ViewportStationary[], unsigned int ViewportWidth[], unsigned int ViewportHeight[], unsigned int ViewportXStart[], unsigned int ViewportYStart[], unsigned int ViewportXStartC[], unsigned int ViewportYStartC[], unsigned int SurfaceWidthY[], unsigned int SurfaceWidthC[], unsigned int SurfaceHeightY[], unsigned int SurfaceHeightC[], enum odm_combine_mode ODMMode[], unsigned int BytePerPixY[], unsigned int BytePerPixC[], unsigned int Read256BytesBlockHeightY[], unsigned int Read256BytesBlockHeightC[], unsigned int Read256BytesBlockWidthY[], unsigned int Read256BytesBlockWidthC[], unsigned int BlendingAndTiming[], unsigned int HActive[], double HRatio[], unsigned int DPPPerSurface[], double SwathWidthdoubleDPPY[], double SwathWidthdoubleDPPC[], double SwathWidthY[], double SwathWidthC[], unsigned int MaximumSwathHeightY[], unsigned int MaximumSwathHeightC[], unsigned int swath_width_luma_ub[], unsigned int swath_width_chroma_ub[]) argument 1767 dml32_CalculateSurfaceSizeInMall( unsigned int NumberOfActiveSurfaces, unsigned int MALLAllocatedForDCN, enum dm_use_mall_for_static_screen_mode UseMALLForStaticScreen[], enum dm_use_mall_for_pstate_change_mode UsesMALLForPStateChange[], bool DCCEnable[], bool ViewportStationary[], unsigned int ViewportXStartY[], unsigned int ViewportYStartY[], unsigned int ViewportXStartC[], unsigned int ViewportYStartC[], unsigned int ViewportWidthY[], unsigned int ViewportHeightY[], unsigned int BytesPerPixelY[], unsigned int ViewportWidthC[], unsigned int ViewportHeightC[], unsigned int BytesPerPixelC[], unsigned int SurfaceWidthY[], unsigned int SurfaceWidthC[], unsigned int SurfaceHeightY[], unsigned int SurfaceHeightC[], unsigned int Read256BytesBlockWidthY[], unsigned int Read256BytesBlockWidthC[], unsigned int Read256BytesBlockHeightY[], unsigned int Read256BytesBlockHeightC[], unsigned int ReadBlockWidthY[], unsigned int ReadBlockWidthC[], unsigned int ReadBlockHeightY[], unsigned int ReadBlockHeightC[], unsigned int DCCMetaPitchY[], unsigned int DCCMetaPitchC[], unsigned int SurfaceSizeInMALL[], bool *ExceededMALLSize) argument [all...] |
H A D | display_mode_vba_util_32.h | 117 unsigned int Read256BytesBlockHeightY[], 168 unsigned int Read256BytesBlockHeightY[], 356 unsigned int Read256BytesBlockHeightY[],
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.c | 595 dml_uint_t Read256BytesBlockHeightY[], 684 dml_uint_t Read256BytesBlockHeightY[], 4127 p->Read256BytesBlockHeightY, 4312 dml_uint_t Read256BytesBlockHeightY[], 4398 surface_height_ub_l = (dml_uint_t)dml_ceil(SurfaceHeightY[k], Read256BytesBlockHeightY[k]); 4401 MaximumSwathHeightY[k] = Read256BytesBlockHeightY[k]; 4423 swath_width_luma_ub[k] = (dml_uint_t)(dml_min(surface_height_ub_l, dml_floor(ViewportYStart[k] + SwathWidthY[k] + Read256BytesBlockHeightY[k] - 1, Read256BytesBlockHeightY[k]) - dml_floor(ViewportYStart[k], Read256BytesBlockHeightY[k]))); 4425 swath_width_luma_ub[k] = (dml_uint_t)(dml_min(surface_height_ub_l, dml_ceil(SwathWidthY[k] - 1, Read256BytesBlockHeightY[ 4293 CalculateSwathWidth( dml_bool_t ForceSingleDPP, dml_uint_t NumberOfActiveSurfaces, enum dml_source_format_class SourcePixelFormat[], enum dml_rotation_angle SourceScan[], dml_bool_t ViewportStationary[], dml_uint_t ViewportWidth[], dml_uint_t ViewportHeight[], dml_uint_t ViewportXStart[], dml_uint_t ViewportYStart[], dml_uint_t ViewportXStartC[], dml_uint_t ViewportYStartC[], dml_uint_t SurfaceWidthY[], dml_uint_t SurfaceWidthC[], dml_uint_t SurfaceHeightY[], dml_uint_t SurfaceHeightC[], enum dml_odm_mode ODMMode[], dml_uint_t BytePerPixY[], dml_uint_t BytePerPixC[], dml_uint_t Read256BytesBlockHeightY[], dml_uint_t Read256BytesBlockHeightC[], dml_uint_t Read256BytesBlockWidthY[], dml_uint_t Read256BytesBlockWidthC[], dml_uint_t BlendingAndTiming[], dml_uint_t HActive[], dml_float_t HRatio[], dml_uint_t DPPPerSurface[], dml_uint_t SwathWidthSingleDPPY[], dml_uint_t SwathWidthSingleDPPC[], dml_uint_t SwathWidthY[], dml_uint_t SwathWidthC[], dml_uint_t MaximumSwathHeightY[], dml_uint_t MaximumSwathHeightC[], dml_uint_t swath_width_luma_ub[], dml_uint_t swath_width_chroma_ub[]) argument 4723 CalculateSurfaceSizeInMall( dml_uint_t NumberOfActiveSurfaces, dml_uint_t MALLAllocatedForDCN, enum dml_use_mall_for_static_screen_mode UseMALLForStaticScreen[], dml_bool_t DCCEnable[], dml_bool_t ViewportStationary[], dml_uint_t ViewportXStartY[], dml_uint_t ViewportYStartY[], dml_uint_t ViewportXStartC[], dml_uint_t ViewportYStartC[], dml_uint_t ViewportWidthY[], dml_uint_t ViewportHeightY[], dml_uint_t BytesPerPixelY[], dml_uint_t ViewportWidthC[], dml_uint_t ViewportHeightC[], dml_uint_t BytesPerPixelC[], dml_uint_t SurfaceWidthY[], dml_uint_t SurfaceWidthC[], dml_uint_t SurfaceHeightY[], dml_uint_t SurfaceHeightC[], dml_uint_t Read256BytesBlockWidthY[], dml_uint_t Read256BytesBlockWidthC[], dml_uint_t Read256BytesBlockHeightY[], dml_uint_t Read256BytesBlockHeightC[], dml_uint_t ReadBlockWidthY[], dml_uint_t ReadBlockWidthC[], dml_uint_t ReadBlockHeightY[], dml_uint_t ReadBlockHeightC[], dml_uint_t SurfaceSizeInMALL[], dml_bool_t *ExceededMALLSize) argument [all...] |
H A D | display_mode_core_structs.h | 1432 dml_uint_t *Read256BytesBlockHeightY; member in struct:CalculateSwathAndDETConfiguration_params_st
|