Defined in 4 files as a prototype:
- drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c, line 493 (as a prototype)
- drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c, line 545 (as a prototype)
- drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c, line 554 (as a prototype)
- drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.c, line 578 (as a prototype)
Defined in 5 files as a function:
- drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c, line 6103 (as a function)
- drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c, line 6862 (as a function)
- drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c, line 6954 (as a function)
- drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.c, line 4131 (as a function)
- drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c, line 3759 (as a function)
Referenced in 5 files:
- drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c
- drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
- drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
- drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.c
- drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c DisplayPipeConfiguration() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 0 |
| PARAM_VALUE | 3 | MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 4 | MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 5 | *SourceScan | 0-4294967295 |
| PARAM_VALUE | 6 | *SourcePixelFormat | 0-4294967295 |
| PARAM_VALUE | 7 | *SurfaceTiling | 0-4294967295 |
| PARAM_VALUE | 8 | *ViewportWidth | 0-4294967295 |
| PARAM_VALUE | 9 | *ViewportHeight | 0-4294967295 |
| PARAM_VALUE | 10 | *SurfaceWidthY | 0-4294967295 |
| PARAM_VALUE | 11 | *SurfaceWidthC | 0-4294967295 |
| PARAM_VALUE | 12 | *SurfaceHeightY | 0-4294967295 |
| PARAM_VALUE | 13 | *SurfaceHeightC | 0-4294967295 |
| PARAM_VALUE | 14 | Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 15 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 16 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 17 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 18 | *ODMCombineEnabled | 0-4294967295 |
| PARAM_VALUE | 19 | *BlendingAndTiming | 0-4294967295 |
| PARAM_VALUE | 20 | BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 21 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 22 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 23 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 24 | *HActive | 0-4294967295 |
| PARAM_VALUE | 27 | *DPPPerPlane | 1 |
| PARAM_VALUE | 28 | swath_width_luma_ub | 4096-ptr_max |
| PARAM_VALUE | 29 | swath_width_chroma_ub | 4096-ptr_max |
| PARAM_VALUE | 30 | SwathWidth | 4096-ptr_max |
| PARAM_VALUE | 31 | SwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 36 | ViewportSizeSupportPerPlane | 4096-ptr_max |
| PARAM_VALUE | 37 | ViewportSizeSupport | 4690049588664602624 |
| PARAM_VALUE | 37 | *ViewportSizeSupport | 0 |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 32 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 64 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 32 |
| BUF_SIZE | 25 | HRatio | 64 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 32 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 64 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 32 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 8 |
| CAPPED_DATA | 1 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c dml30_ModeSupportAndSystemConfigurationFull() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 1 |
| PARAM_VALUE | 3 | MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 4 | MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 5 | SourceScan | 4096-ptr_max |
| PARAM_VALUE | 6 | SourcePixelFormat | 4096-ptr_max |
| PARAM_VALUE | 7 | SurfaceTiling | 4096-ptr_max |
| PARAM_VALUE | 14 | Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 15 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 16 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 17 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 20 | BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 21 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 22 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 23 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 25 | HRatio | 4096-ptr_max |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 32 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 64 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 32 |
| BUF_SIZE | 25 | HRatio | 64 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 32 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 64 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 32 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 8 |
| BUF_SIZE | 37 | ViewportSizeSupport | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c dml30_ModeSupportAndSystemConfigurationFull() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 0 |
| PARAM_VALUE | 1 | p | 1-u32max |
| PARAM_VALUE | 3 | MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 4 | MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 5 | SourceScan | 4096-ptr_max |
| PARAM_VALUE | 6 | SourcePixelFormat | 4096-ptr_max |
| PARAM_VALUE | 7 | SurfaceTiling | 4096-ptr_max |
| PARAM_VALUE | 14 | Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 15 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 16 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 17 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 18 | ODMCombineEnabled | 4096-ptr_max |
| PARAM_VALUE | 19 | BlendingAndTiming | 4096-ptr_max |
| PARAM_VALUE | 20 | BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 21 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 22 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 23 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 25 | HRatio | 4096-ptr_max |
| PARAM_VALUE | 27 | DPPPerPlane | 4096-ptr_max |
| PARAM_VALUE | 37 | ViewportSizeSupport | 4096-ptr_max |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 32 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 64 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 32 |
| BUF_SIZE | 25 | HRatio | 64 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 32 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 64 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 32 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 8 |
| CAPPED_DATA | 1 | p | 1 |
| FUZZY_MAX | 1 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/display_mode_core.c dml_core_mode_programming() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->CompressedBufferSizeInkByte | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ForceSingleDPP | 0 |
| PARAM_VALUE | 1 | p->NumberOfActiveSurfaces | 0-2 |
| PARAM_VALUE | 1 | p->UnboundedRequestEnabled | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ViewportSizeSupport | 4096-ptr_max |
| PARAM_VALUE | 1 | p->compbuf_reserved_space_64b | 4096-ptr_max |
| PARAM_VALUE | 1 | p->compbuf_reserved_space_zs | 4096-ptr_max |
| BUF_SIZE | 1 | p | 448 |
| BUF_SIZE | 1 | p->BlendingAndTiming | 32 |
| BUF_SIZE | 1 | p->BytePerPixC | 32 |
| BUF_SIZE | 1 | p->BytePerPixDETC | 64 |
| BUF_SIZE | 1 | p->BytePerPixDETY | 64 |
| BUF_SIZE | 1 | p->BytePerPixY | 32 |
| BUF_SIZE | 1 | p->CompressedBufferSizeInkByte | 4 |
| BUF_SIZE | 1 | p->DETBufferSizeC | 32 |
| BUF_SIZE | 1 | p->DETBufferSizeInKByte | 32 |
| BUF_SIZE | 1 | p->DETBufferSizeY | 32 |
| BUF_SIZE | 1 | p->DETSizeOverride | 32 |
| BUF_SIZE | 1 | p->DPPPerSurface | 32 |
| BUF_SIZE | 1 | p->HActive | 32 |
| BUF_SIZE | 1 | p->HRatio | 64 |
| BUF_SIZE | 1 | p->HRatioChroma | 64 |
| BUF_SIZE | 1 | p->MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 1 | p->MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 1 | p->ODMMode | 32 |
| BUF_SIZE | 1 | p->Output | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 1 | p->ReadBandwidthChroma | 64 |
| BUF_SIZE | 1 | p->ReadBandwidthLuma | 64 |
| BUF_SIZE | 1 | p->SourcePixelFormat | 32 |
| BUF_SIZE | 1 | p->SourceScan | 32 |
| BUF_SIZE | 1 | p->SurfaceHeightC | 32 |
| BUF_SIZE | 1 | p->SurfaceHeightY | 32 |
| BUF_SIZE | 1 | p->SurfaceTiling | 32 |
| BUF_SIZE | 1 | p->SurfaceWidthC | 32 |
| BUF_SIZE | 1 | p->SurfaceWidthY | 32 |
| BUF_SIZE | 1 | p->SwathHeightC | 32 |
| BUF_SIZE | 1 | p->SwathHeightY | 32 |
| BUF_SIZE | 1 | p->SwathWidth | 32 |
| BUF_SIZE | 1 | p->SwathWidthChroma | 32 |
| BUF_SIZE | 1 | p->UseMALLForPStateChange | 32 |
| BUF_SIZE | 1 | p->ViewportHeight | 32 |
| BUF_SIZE | 1 | p->ViewportSizeSupport | 1 |
| BUF_SIZE | 1 | p->ViewportSizeSupportPerSurface | 8 |
| BUF_SIZE | 1 | p->ViewportStationary | 8 |
| BUF_SIZE | 1 | p->ViewportWidth | 32 |
| BUF_SIZE | 1 | p->ViewportXStart | 32 |
| BUF_SIZE | 1 | p->ViewportXStartC | 32 |
| BUF_SIZE | 1 | p->ViewportYStart | 32 |
| BUF_SIZE | 1 | p->ViewportYStartC | 32 |
| BUF_SIZE | 1 | p->compbuf_reserved_space_64b | 4 |
| BUF_SIZE | 1 | p->compbuf_reserved_space_zs | 4 |
| BUF_SIZE | 1 | p->swath_width_chroma_ub | 32 |
| BUF_SIZE | 1 | p->swath_width_luma_ub | 32 |
| CAPPED_DATA | 1 | p->NumberOfActiveSurfaces | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/display_mode_core.c dml_core_mode_support() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BlendingAndTiming | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->CompressedBufferSizeInkByte | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ForceSingleDPP | 1 |
| PARAM_VALUE | 1 | p->HRatio | 4096-ptr_max |
| PARAM_VALUE | 1 | p->MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->NumberOfActiveSurfaces | 1-2 |
| PARAM_VALUE | 1 | p->Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ReadBandwidthChroma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ReadBandwidthLuma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->SourcePixelFormat | 4096-ptr_max |
| PARAM_VALUE | 1 | p->SourceScan | 4096-ptr_max |
| PARAM_VALUE | 1 | p->SurfaceTiling | 4096-ptr_max |
| PARAM_VALUE | 1 | p->UnboundedRequestEnabled | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ViewportSizeSupport | 4096-ptr_max |
| PARAM_VALUE | 1 | p->compbuf_reserved_space_64b | 4096-ptr_max |
| PARAM_VALUE | 1 | p->compbuf_reserved_space_zs | 4096-ptr_max |
| BUF_SIZE | 1 | p | 448 |
| BUF_SIZE | 1 | p->BlendingAndTiming | 32 |
| BUF_SIZE | 1 | p->BytePerPixC | 32 |
| BUF_SIZE | 1 | p->BytePerPixDETC | 64 |
| BUF_SIZE | 1 | p->BytePerPixDETY | 64 |
| BUF_SIZE | 1 | p->BytePerPixY | 32 |
| BUF_SIZE | 1 | p->CompressedBufferSizeInkByte | 12 |
| BUF_SIZE | 1 | p->DETBufferSizeC | 32 |
| BUF_SIZE | 1 | p->DETBufferSizeInKByte | 32 |
| BUF_SIZE | 1 | p->DETBufferSizeY | 32 |
| BUF_SIZE | 1 | p->DETSizeOverride | 32 |
| BUF_SIZE | 1 | p->DPPPerSurface | 32 |
| BUF_SIZE | 1 | p->HActive | 32 |
| BUF_SIZE | 1 | p->HRatio | 64 |
| BUF_SIZE | 1 | p->HRatioChroma | 64 |
| BUF_SIZE | 1 | p->MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 1 | p->MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 1 | p->ODMMode | 32 |
| BUF_SIZE | 1 | p->Output | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 1 | p->ReadBandwidthChroma | 64 |
| BUF_SIZE | 1 | p->ReadBandwidthLuma | 64 |
| BUF_SIZE | 1 | p->SourcePixelFormat | 32 |
| BUF_SIZE | 1 | p->SourceScan | 32 |
| BUF_SIZE | 1 | p->SurfaceHeightC | 32 |
| BUF_SIZE | 1 | p->SurfaceHeightY | 32 |
| BUF_SIZE | 1 | p->SurfaceTiling | 32 |
| BUF_SIZE | 1 | p->SurfaceWidthC | 32 |
| BUF_SIZE | 1 | p->SurfaceWidthY | 32 |
| BUF_SIZE | 1 | p->SwathHeightC | 32 |
| BUF_SIZE | 1 | p->SwathHeightY | 32 |
| BUF_SIZE | 1 | p->SwathWidth | 32 |
| BUF_SIZE | 1 | p->SwathWidthChroma | 32 |
| BUF_SIZE | 1 | p->UnboundedRequestEnabled | 2 |
| BUF_SIZE | 1 | p->UseMALLForPStateChange | 32 |
| BUF_SIZE | 1 | p->ViewportHeight | 32 |
| BUF_SIZE | 1 | p->ViewportSizeSupport | 1 |
| BUF_SIZE | 1 | p->ViewportSizeSupportPerSurface | 8 |
| BUF_SIZE | 1 | p->ViewportStationary | 8 |
| BUF_SIZE | 1 | p->ViewportWidth | 32 |
| BUF_SIZE | 1 | p->ViewportXStart | 32 |
| BUF_SIZE | 1 | p->ViewportXStartC | 32 |
| BUF_SIZE | 1 | p->ViewportYStart | 32 |
| BUF_SIZE | 1 | p->ViewportYStartC | 32 |
| BUF_SIZE | 1 | p->compbuf_reserved_space_64b | 4 |
| BUF_SIZE | 1 | p->compbuf_reserved_space_zs | 8 |
| BUF_SIZE | 1 | p->swath_width_chroma_ub | 32 |
| BUF_SIZE | 1 | p->swath_width_luma_ub | 32 |
| CAPPED_DATA | 1 | p->NumberOfActiveSurfaces | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/display_mode_core.c dml_core_mode_support() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BlendingAndTiming | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->CompressedBufferSizeInkByte | 4096-ptr_max |
| PARAM_VALUE | 1 | p->DPPPerSurface | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ForceSingleDPP | 0 |
| PARAM_VALUE | 1 | p->HActive | 4096-ptr_max |
| PARAM_VALUE | 1 | p->HRatio | 4096-ptr_max |
| PARAM_VALUE | 1 | p->MaximumSwathWidthChroma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->MaximumSwathWidthLuma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->NumberOfActiveSurfaces | 1-2 |
| PARAM_VALUE | 1 | p->ODMMode | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Output | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 1 | p->Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ReadBandwidthChroma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ReadBandwidthLuma | 4096-ptr_max |
| PARAM_VALUE | 1 | p->SourcePixelFormat | 4096-ptr_max |
| PARAM_VALUE | 1 | p->SourceScan | 4096-ptr_max |
| PARAM_VALUE | 1 | p->SurfaceTiling | 4096-ptr_max |
| PARAM_VALUE | 1 | p->UnboundedRequestEnabled | 4096-ptr_max |
| PARAM_VALUE | 1 | p->ViewportSizeSupport | 4096-ptr_max |
| PARAM_VALUE | 1 | p->compbuf_reserved_space_64b | 4096-ptr_max |
| PARAM_VALUE | 1 | p->compbuf_reserved_space_zs | 4096-ptr_max |
| BUF_SIZE | 1 | p | 448 |
| BUF_SIZE | 1 | p->BlendingAndTiming | 32 |
| BUF_SIZE | 1 | p->BytePerPixC | 32 |
| BUF_SIZE | 1 | p->BytePerPixDETC | 64 |
| BUF_SIZE | 1 | p->BytePerPixDETY | 64 |
| BUF_SIZE | 1 | p->BytePerPixY | 32 |
| BUF_SIZE | 1 | p->CompressedBufferSizeInkByte | 4 |
| BUF_SIZE | 1 | p->DETBufferSizeC | 32 |
| BUF_SIZE | 1 | p->DETBufferSizeInKByte | 32 |
| BUF_SIZE | 1 | p->DETBufferSizeY | 32 |
| BUF_SIZE | 1 | p->DETSizeOverride | 32 |
| BUF_SIZE | 1 | p->DPPPerSurface | 32 |
| BUF_SIZE | 1 | p->HActive | 32 |
| BUF_SIZE | 1 | p->HRatio | 64 |
| BUF_SIZE | 1 | p->HRatioChroma | 64 |
| BUF_SIZE | 1 | p->MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 1 | p->MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 1 | p->ODMMode | 32 |
| BUF_SIZE | 1 | p->Output | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 1 | p->Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 1 | p->ReadBandwidthChroma | 64 |
| BUF_SIZE | 1 | p->ReadBandwidthLuma | 64 |
| BUF_SIZE | 1 | p->SourcePixelFormat | 32 |
| BUF_SIZE | 1 | p->SourceScan | 32 |
| BUF_SIZE | 1 | p->SurfaceHeightC | 32 |
| BUF_SIZE | 1 | p->SurfaceHeightY | 32 |
| BUF_SIZE | 1 | p->SurfaceTiling | 32 |
| BUF_SIZE | 1 | p->SurfaceWidthC | 32 |
| BUF_SIZE | 1 | p->SurfaceWidthY | 32 |
| BUF_SIZE | 1 | p->SwathHeightC | 32 |
| BUF_SIZE | 1 | p->SwathHeightY | 32 |
| BUF_SIZE | 1 | p->SwathWidth | 32 |
| BUF_SIZE | 1 | p->SwathWidthChroma | 32 |
| BUF_SIZE | 1 | p->UseMALLForPStateChange | 32 |
| BUF_SIZE | 1 | p->ViewportHeight | 32 |
| BUF_SIZE | 1 | p->ViewportSizeSupportPerSurface | 8 |
| BUF_SIZE | 1 | p->ViewportStationary | 8 |
| BUF_SIZE | 1 | p->ViewportWidth | 32 |
| BUF_SIZE | 1 | p->ViewportXStart | 32 |
| BUF_SIZE | 1 | p->ViewportXStartC | 32 |
| BUF_SIZE | 1 | p->ViewportYStart | 32 |
| BUF_SIZE | 1 | p->ViewportYStartC | 32 |
| BUF_SIZE | 1 | p->compbuf_reserved_space_64b | 4 |
| BUF_SIZE | 1 | p->compbuf_reserved_space_zs | 8 |
| BUF_SIZE | 1 | p->swath_width_chroma_ub | 32 |
| BUF_SIZE | 1 | p->swath_width_luma_ub | 32 |
| CAPPED_DATA | 1 | p->NumberOfActiveSurfaces | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c DisplayPipeConfiguration() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 0 |
| PARAM_VALUE | 15 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 16 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 17 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 18 | ODMCombineEnabled | 4096-ptr_max |
| PARAM_VALUE | 21 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 22 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 23 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 24 | HActive | 4096-ptr_max |
| PARAM_VALUE | 38 | ViewportSizeSupport | 6512717412912517120 |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 32 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 64 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 32 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 64 |
| BUF_SIZE | 25 | HRatio | 32 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 64 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 32 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 64 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 32 |
| BUF_SIZE | 37 | ViewportSizeSupport | 8 |
| CAPPED_DATA | 1 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c dml31_ModeSupportAndSystemConfigurationFull() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 1 |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 32 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 64 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 32 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 64 |
| BUF_SIZE | 25 | HRatio | 32 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 64 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 32 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 64 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 32 |
| BUF_SIZE | 37 | ViewportSizeSupport | 8 |
| BUF_SIZE | 38 | ViewportSizeSupport | 2 |
| CAPPED_DATA | 1 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c DisplayPipeConfiguration() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 0 |
| PARAM_VALUE | 14 | Read256BytesBlockHeightY | 4096-ptr_max |
| PARAM_VALUE | 15 | Read256BytesBlockHeightC | 4096-ptr_max |
| PARAM_VALUE | 16 | Read256BytesBlockWidthY | 4096-ptr_max |
| PARAM_VALUE | 17 | Read256BytesBlockWidthC | 4096-ptr_max |
| PARAM_VALUE | 20 | BytePerPixY | 4096-ptr_max |
| PARAM_VALUE | 21 | BytePerPixC | 4096-ptr_max |
| PARAM_VALUE | 22 | BytePerPixDETY | 4096-ptr_max |
| PARAM_VALUE | 23 | BytePerPixDETC | 4096-ptr_max |
| PARAM_VALUE | 37 | ViewportSizeSupport | 1555643162346377216 |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 32 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 64 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 32 |
| BUF_SIZE | 25 | HRatio | 64 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 32 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 64 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 32 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 8 |
| CAPPED_DATA | 1 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c dml314_ModeSupportAndSystemConfigurationFull() -> CalculateSwathAndDETConfiguration()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scratch | 1 |
| BUF_SIZE | 3 | MaximumSwathWidthLuma | 64 |
| BUF_SIZE | 4 | MaximumSwathWidthChroma | 64 |
| BUF_SIZE | 5 | SourceScan | 32 |
| BUF_SIZE | 6 | SourcePixelFormat | 32 |
| BUF_SIZE | 7 | SurfaceTiling | 32 |
| BUF_SIZE | 8 | ViewportWidth | 32 |
| BUF_SIZE | 9 | ViewportHeight | 32 |
| BUF_SIZE | 10 | SurfaceWidthY | 32 |
| BUF_SIZE | 11 | SurfaceWidthC | 32 |
| BUF_SIZE | 12 | SurfaceHeightY | 32 |
| BUF_SIZE | 13 | SurfaceHeightC | 32 |
| BUF_SIZE | 14 | Read256BytesBlockHeightY | 32 |
| BUF_SIZE | 15 | Read256BytesBlockHeightC | 32 |
| BUF_SIZE | 16 | Read256BytesBlockWidthY | 32 |
| BUF_SIZE | 17 | Read256BytesBlockWidthC | 32 |
| BUF_SIZE | 18 | ODMCombineEnabled | 32 |
| BUF_SIZE | 19 | BlendingAndTiming | 32 |
| BUF_SIZE | 20 | BytePerPixY | 32 |
| BUF_SIZE | 21 | BytePerPixC | 32 |
| BUF_SIZE | 22 | BytePerPixDETY | 64 |
| BUF_SIZE | 23 | BytePerPixDETC | 64 |
| BUF_SIZE | 24 | HActive | 32 |
| BUF_SIZE | 25 | HRatio | 64 |
| BUF_SIZE | 26 | HRatioChroma | 64 |
| BUF_SIZE | 27 | DPPPerPlane | 32 |
| BUF_SIZE | 28 | swath_width_luma_ub | 32 |
| BUF_SIZE | 29 | swath_width_chroma_ub | 32 |
| BUF_SIZE | 30 | SwathWidth | 64 |
| BUF_SIZE | 31 | SwathWidthChroma | 64 |
| BUF_SIZE | 32 | SwathHeightY | 32 |
| BUF_SIZE | 33 | SwathHeightC | 32 |
| BUF_SIZE | 34 | DETBufferSizeY | 32 |
| BUF_SIZE | 35 | DETBufferSizeC | 32 |
| BUF_SIZE | 36 | ViewportSizeSupportPerPlane | 8 |
| BUF_SIZE | 37 | ViewportSizeSupport | 2 |
| CAPPED_DATA | 1 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |