Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> dml32_CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *DETSizeOverride | 0-4294967295 |
| PARAM_VALUE | 1 | *UseMALLForPStateChange | 0-4294967295 |
| PARAM_VALUE | 3 | MaxTotalDETInKByte | 0 |
| PARAM_VALUE | 5 | ForceSingleDPP | 0.000000e+00 |
| PARAM_VALUE | 7 | nomDETInKByte | 0 |
| PARAM_VALUE | 8 | UseUnboundedRequestingFinal | 0,2 |
| PARAM_VALUE | 9 | DisableUnboundRequestIfCompBufReservedSpaceNeedAdjustment | 0 |
| PARAM_VALUE | 18 | *SourceRotation | 0-4294967295 |
| PARAM_VALUE | 19 | *ViewportStationary | 0-1 |
| PARAM_VALUE | 20 | *SourcePixelFormat | 0-4294967295 |
| PARAM_VALUE | 21 | *SurfaceTiling | 0-4294967295 |
| PARAM_VALUE | 22 | *ViewportWidth | 0-4294967295 |
| PARAM_VALUE | 23 | *ViewportHeight | 0-4294967295 |
| PARAM_VALUE | 24 | *ViewportXStart | 0-4294967295 |
| PARAM_VALUE | 25 | *ViewportYStart | 0-4294967295 |
| PARAM_VALUE | 26 | *ViewportXStartC | 0-4294967295 |
| PARAM_VALUE | 27 | *ViewportYStartC | 0-4294967295 |
| PARAM_VALUE | 28 | *SurfaceWidthY | 0-4294967295 |
| PARAM_VALUE | 29 | *SurfaceWidthC | 0-4294967295 |
| PARAM_VALUE | 30 | *SurfaceHeightY | 0-4294967295 |
| PARAM_VALUE | 31 | *SurfaceHeightC | 0-4294967295 |
| PARAM_VALUE | 36 | *ODMMode | 0-4294967295 |
| PARAM_VALUE | 37 | *BlendingAndTiming | 0-4294967295 |
| PARAM_VALUE | 42 | *HActive | 0-4294967295 |
| PARAM_VALUE | 45 | *DPPPerSurface | 1 |
| PARAM_VALUE | 52 | *DETBufferSizeInKByte | 0-4294967295 |
| PARAM_VALUE | 55 | UnboundedRequestEnabled | 4096-ptr_max |
| PARAM_VALUE | 56 | CompressedBufferSizeInkByte | 4096-ptr_max |
| PARAM_VALUE | 57 | CompBufReservedSpaceKBytes | 4096-ptr_max |
| PARAM_VALUE | 58 | CompBufReservedSpaceNeedAdjustment | 4096-ptr_max |
| PARAM_VALUE | 60 | ViewportSizeSupport | 4096-ptr_max |
| BUF_SIZE | 0 | DETSizeOverride | 32 |
| BUF_SIZE | 1 | UseMALLForPStateChange | 32 |
| BUF_SIZE | 13 | Output | 32 |
| BUF_SIZE | 14 | ReadBandwidthLuma | 64 |
| BUF_SIZE | 15 | ReadBandwidthChroma | 64 |
| BUF_SIZE | 16 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 17 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 18 | SourceRotation | 32 |
| BUF_SIZE | 19 | ViewportStationary | 8 |
| BUF_SIZE | 20 | SourcePixelFormat | 32 |
| BUF_SIZE | 21 | SurfaceTiling | 32 |
| BUF_SIZE | 22 | ViewportWidth | 32 |
| BUF_SIZE | 23 | ViewportHeight | 32 |
| BUF_SIZE | 24 | ViewportXStart | 32 |
| BUF_SIZE | 25 | ViewportYStart | 32 |
| BUF_SIZE | 26 | ViewportXStartC | 32 |
| BUF_SIZE | 27 | ViewportYStartC | 32 |
| BUF_SIZE | 28 | SurfaceWidthY | 32 |
| BUF_SIZE | 29 | SurfaceWidthC | 32 |
| BUF_SIZE | 30 | SurfaceHeightY | 32 |
| BUF_SIZE | 31 | SurfaceHeightC | 32 |
| BUF_SIZE | 32 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 33 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 34 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 35 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 36 | ODMMode | 32 |
| BUF_SIZE | 37 | BlendingAndTiming | 32 |
| BUF_SIZE | 38 | BytePerPixY | 32 |
| BUF_SIZE | 39 | BytePerPixC | 32 |
| BUF_SIZE | 40 | BytePerPixDETY | 64 |
| BUF_SIZE | 41 | BytePerPixDETC | 64 |
| BUF_SIZE | 42 | HActive | 32 |
| BUF_SIZE | 43 | HRatio | 64 |
| BUF_SIZE | 44 | HRatioChroma | 64 |
| BUF_SIZE | 45 | DPPPerSurface | 32 |
| BUF_SIZE | 46 | swath_width_luma_ub | 32 |
| BUF_SIZE | 47 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 48 | SwathWidth | 64 |
| BUF_SIZE | 49 | SwathWidthChroma | 64 |
| BUF_SIZE | 50 | SwathHeightY | 32 |
| BUF_SIZE | 51 | SwathHeightC | 32 |
| BUF_SIZE | 52 | DETBufferSizeInKByte | 32 |
| BUF_SIZE | 53 | DETBufferSizeY | 32 |
| BUF_SIZE | 54 | DETBufferSizeC | 32 |
| BUF_SIZE | 59 | ViewportSizeSupportPerSurface | 8 |
| CAPPED_DATA | 6 | NumberOfActiveSurfaces | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c dml32_ModeSupportAndSystemConfigurationFull() -> dml32_CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *DETSizeOverride | 0-4294967295 |
| PARAM_VALUE | 1 | *UseMALLForPStateChange | 0-4294967295 |
| PARAM_VALUE | 5 | ForceSingleDPP | 1.000000e+00 |
| PARAM_VALUE | 8 | UseUnboundedRequestingFinal | 0,2 |
| PARAM_VALUE | 9 | DisableUnboundRequestIfCompBufReservedSpaceNeedAdjustment | 0 |
| PARAM_VALUE | 13 | *Output | 0-4294967295 |
| PARAM_VALUE | 14 | ReadBandwidthLuma | 4096-ptr_max |
| PARAM_VALUE | 15 | ReadBandwidthChroma | 4096-ptr_max |
| PARAM_VALUE | 16 | MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 17 | MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 18 | SourceRotation | 4096-ptr_max |
| PARAM_VALUE | 18 | *SourceRotation | 0-4294967295 |
| PARAM_VALUE | 19 | *ViewportStationary | 0-1 |
| PARAM_VALUE | 20 | SourcePixelFormat | 4096-ptr_max |
| PARAM_VALUE | 20 | *SourcePixelFormat | 0-4294967295 |
| PARAM_VALUE | 21 | SurfaceTiling | 4096-ptr_max |
| PARAM_VALUE | 21 | *SurfaceTiling | 0-4294967295 |
| PARAM_VALUE | 22 | *ViewportWidth | 0-4294967295 |
| PARAM_VALUE | 23 | *ViewportHeight | 0-4294967295 |
| PARAM_VALUE | 24 | *ViewportXStart | 0-4294967295 |
| PARAM_VALUE | 25 | *ViewportYStart | 0-4294967295 |
| PARAM_VALUE | 26 | *ViewportXStartC | 0-4294967295 |
| PARAM_VALUE | 27 | *ViewportYStartC | 0-4294967295 |
| PARAM_VALUE | 28 | *SurfaceWidthY | 0-4294967295 |
| PARAM_VALUE | 29 | *SurfaceWidthC | 0-4294967295 |
| PARAM_VALUE | 30 | *SurfaceHeightY | 0-4294967295 |
| PARAM_VALUE | 31 | *SurfaceHeightC | 0-4294967295 |
| PARAM_VALUE | 32 | Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 33 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 34 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 35 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 37 | *BlendingAndTiming | 0-4294967295 |
| PARAM_VALUE | 38 | BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 39 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 40 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 41 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 42 | *HActive | 0-4294967295 |
| PARAM_VALUE | 43 | HRatio | 4096-ptr_max |
| PARAM_VALUE | 44 | HRatioChroma | 4096-ptr_max |
| PARAM_VALUE | 58 | CompBufReservedSpaceNeedAdjustment | 1578595844056199168 |
| BUF_SIZE | 0 | DETSizeOverride | 32 |
| BUF_SIZE | 1 | UseMALLForPStateChange | 32 |
| BUF_SIZE | 13 | Output | 32 |
| BUF_SIZE | 14 | ReadBandwidthLuma | 64 |
| BUF_SIZE | 15 | ReadBandwidthChroma | 64 |
| BUF_SIZE | 16 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 17 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 18 | SourceRotation | 32 |
| BUF_SIZE | 19 | ViewportStationary | 8 |
| BUF_SIZE | 20 | SourcePixelFormat | 32 |
| BUF_SIZE | 21 | SurfaceTiling | 32 |
| BUF_SIZE | 22 | ViewportWidth | 32 |
| BUF_SIZE | 23 | ViewportHeight | 32 |
| BUF_SIZE | 24 | ViewportXStart | 32 |
| BUF_SIZE | 25 | ViewportYStart | 32 |
| BUF_SIZE | 26 | ViewportXStartC | 32 |
| BUF_SIZE | 27 | ViewportYStartC | 32 |
| BUF_SIZE | 28 | SurfaceWidthY | 32 |
| BUF_SIZE | 29 | SurfaceWidthC | 32 |
| BUF_SIZE | 30 | SurfaceHeightY | 32 |
| BUF_SIZE | 31 | SurfaceHeightC | 32 |
| BUF_SIZE | 32 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 33 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 34 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 35 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 36 | ODMMode | 32 |
| BUF_SIZE | 37 | BlendingAndTiming | 32 |
| BUF_SIZE | 38 | BytePerPixY | 32 |
| BUF_SIZE | 39 | BytePerPixC | 32 |
| BUF_SIZE | 40 | BytePerPixDETY | 64 |
| BUF_SIZE | 41 | BytePerPixDETC | 64 |
| BUF_SIZE | 42 | HActive | 32 |
| BUF_SIZE | 43 | HRatio | 64 |
| BUF_SIZE | 44 | HRatioChroma | 64 |
| BUF_SIZE | 45 | DPPPerSurface | 32 |
| BUF_SIZE | 46 | swath_width_luma_ub | 32 |
| BUF_SIZE | 47 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 48 | SwathWidth | 64 |
| BUF_SIZE | 49 | SwathWidthChroma | 64 |
| BUF_SIZE | 50 | SwathHeightY | 32 |
| BUF_SIZE | 51 | SwathHeightC | 32 |
| BUF_SIZE | 52 | DETBufferSizeInKByte | 32 |
| BUF_SIZE | 53 | DETBufferSizeY | 32 |
| BUF_SIZE | 54 | DETBufferSizeC | 32 |
| BUF_SIZE | 55 | UnboundedRequestEnabled | 8 |
| BUF_SIZE | 56 | CompressedBufferSizeInkByte | 32 |
| BUF_SIZE | 57 | CompBufReservedSpaceKBytes | 32 |
| BUF_SIZE | 59 | ViewportSizeSupportPerSurface | 8 |
| BUF_SIZE | 60 | ViewportSizeSupport | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c dml32_ModeSupportAndSystemConfigurationFull() -> dml32_CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *DETSizeOverride | 0-4294967295 |
| PARAM_VALUE | 1 | *UseMALLForPStateChange | 0-4294967295 |
| PARAM_VALUE | 5 | ForceSingleDPP | 0.000000e+00 |
| PARAM_VALUE | 6 | NumberOfActiveSurfaces | 1-u32max |
| PARAM_VALUE | 8 | UseUnboundedRequestingFinal | 0,2 |
| PARAM_VALUE | 9 | DisableUnboundRequestIfCompBufReservedSpaceNeedAdjustment | 0 |
| PARAM_VALUE | 13 | *Output | 0-4294967295 |
| PARAM_VALUE | 14 | ReadBandwidthLuma | 4096-ptr_max |
| PARAM_VALUE | 15 | ReadBandwidthChroma | 4096-ptr_max |
| PARAM_VALUE | 16 | MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 17 | MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 18 | SourceRotation | 4096-ptr_max |
| PARAM_VALUE | 18 | *SourceRotation | 0-4294967295 |
| PARAM_VALUE | 19 | *ViewportStationary | 0-1 |
| PARAM_VALUE | 20 | SourcePixelFormat | 4096-ptr_max |
| PARAM_VALUE | 20 | *SourcePixelFormat | 0-4294967295 |
| PARAM_VALUE | 21 | SurfaceTiling | 4096-ptr_max |
| PARAM_VALUE | 21 | *SurfaceTiling | 0-4294967295 |
| PARAM_VALUE | 22 | *ViewportWidth | 0-4294967295 |
| PARAM_VALUE | 23 | *ViewportHeight | 0-4294967295 |
| PARAM_VALUE | 24 | *ViewportXStart | 0-4294967295 |
| PARAM_VALUE | 25 | *ViewportYStart | 0-4294967295 |
| PARAM_VALUE | 26 | *ViewportXStartC | 0-4294967295 |
| PARAM_VALUE | 27 | *ViewportYStartC | 0-4294967295 |
| PARAM_VALUE | 28 | *SurfaceWidthY | 0-4294967295 |
| PARAM_VALUE | 29 | *SurfaceWidthC | 0-4294967295 |
| PARAM_VALUE | 30 | *SurfaceHeightY | 0-4294967295 |
| PARAM_VALUE | 31 | *SurfaceHeightC | 0-4294967295 |
| PARAM_VALUE | 32 | Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 33 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 34 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 35 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 36 | ODMMode | 4096-ptr_max |
| PARAM_VALUE | 37 | BlendingAndTiming | 4096-ptr_max |
| PARAM_VALUE | 37 | *BlendingAndTiming | 0-4294967295 |
| PARAM_VALUE | 38 | BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 39 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 40 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 41 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 42 | *HActive | 0-4294967295 |
| PARAM_VALUE | 43 | HRatio | 4096-ptr_max |
| PARAM_VALUE | 44 | HRatioChroma | 4096-ptr_max |
| PARAM_VALUE | 45 | DPPPerSurface | 4096-ptr_max |
| PARAM_VALUE | 55 | UnboundedRequestEnabled | 4096-ptr_max |
| PARAM_VALUE | 56 | CompressedBufferSizeInkByte | 4096-ptr_max |
| PARAM_VALUE | 57 | CompBufReservedSpaceKBytes | 4096-ptr_max |
| PARAM_VALUE | 58 | CompBufReservedSpaceNeedAdjustment | 4096-ptr_max |
| PARAM_VALUE | 60 | ViewportSizeSupport | 4096-ptr_max |
| BUF_SIZE | 0 | DETSizeOverride | 32 |
| BUF_SIZE | 1 | UseMALLForPStateChange | 32 |
| BUF_SIZE | 13 | Output | 32 |
| BUF_SIZE | 14 | ReadBandwidthLuma | 64 |
| BUF_SIZE | 15 | ReadBandwidthChroma | 64 |
| BUF_SIZE | 16 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 17 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 18 | SourceRotation | 32 |
| BUF_SIZE | 19 | ViewportStationary | 8 |
| BUF_SIZE | 20 | SourcePixelFormat | 32 |
| BUF_SIZE | 21 | SurfaceTiling | 32 |
| BUF_SIZE | 22 | ViewportWidth | 32 |
| BUF_SIZE | 23 | ViewportHeight | 32 |
| BUF_SIZE | 24 | ViewportXStart | 32 |
| BUF_SIZE | 25 | ViewportYStart | 32 |
| BUF_SIZE | 26 | ViewportXStartC | 32 |
| BUF_SIZE | 27 | ViewportYStartC | 32 |
| BUF_SIZE | 28 | SurfaceWidthY | 32 |
| BUF_SIZE | 29 | SurfaceWidthC | 32 |
| BUF_SIZE | 30 | SurfaceHeightY | 32 |
| BUF_SIZE | 31 | SurfaceHeightC | 32 |
| BUF_SIZE | 32 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 33 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 34 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 35 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 36 | ODMMode | 32 |
| BUF_SIZE | 37 | BlendingAndTiming | 32 |
| BUF_SIZE | 38 | BytePerPixY | 32 |
| BUF_SIZE | 39 | BytePerPixC | 32 |
| BUF_SIZE | 40 | BytePerPixDETY | 64 |
| BUF_SIZE | 41 | BytePerPixDETC | 64 |
| BUF_SIZE | 42 | HActive | 32 |
| BUF_SIZE | 43 | HRatio | 64 |
| BUF_SIZE | 44 | HRatioChroma | 64 |
| BUF_SIZE | 45 | DPPPerSurface | 32 |
| BUF_SIZE | 46 | swath_width_luma_ub | 32 |
| BUF_SIZE | 47 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 48 | SwathWidth | 64 |
| BUF_SIZE | 49 | SwathWidthChroma | 64 |
| BUF_SIZE | 50 | SwathHeightY | 32 |
| BUF_SIZE | 51 | SwathHeightC | 32 |
| BUF_SIZE | 52 | DETBufferSizeInKByte | 32 |
| BUF_SIZE | 53 | DETBufferSizeY | 32 |
| BUF_SIZE | 54 | DETBufferSizeC | 32 |
| BUF_SIZE | 57 | CompBufReservedSpaceKBytes | 16 |
| BUF_SIZE | 58 | CompBufReservedSpaceNeedAdjustment | 2 |
| BUF_SIZE | 59 | ViewportSizeSupportPerSurface | 8 |
| CAPPED_DATA | 6 | NumberOfActiveSurfaces | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |