Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> dml32_CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 ForceSingleDPP 0
PARAM_VALUE 2 *SourcePixelFormat 0-4294967295
PARAM_VALUE 3 *SourceRotation 0-4294967295
PARAM_VALUE 4 *ViewportStationary 0-1
PARAM_VALUE 5 *ViewportWidth 0-4294967295
PARAM_VALUE 6 *ViewportHeight 0-4294967295
PARAM_VALUE 7 *ViewportXStart 0-4294967295
PARAM_VALUE 8 *ViewportYStart 0-4294967295
PARAM_VALUE 9 *ViewportXStartC 0-4294967295
PARAM_VALUE 10 *ViewportYStartC 0-4294967295
PARAM_VALUE 11 *SurfaceWidthY 0-4294967295
PARAM_VALUE 12 *SurfaceWidthC 0-4294967295
PARAM_VALUE 13 *SurfaceHeightY 0-4294967295
PARAM_VALUE 14 *SurfaceHeightC 0-4294967295
PARAM_VALUE 15 *ODMMode 0-4294967295
PARAM_VALUE 22 *BlendingAndTiming 0-4294967295
PARAM_VALUE 23 *HActive 0-4294967295
PARAM_VALUE 25 *DPPPerSurface 1
BUF_SIZE 2 SourcePixelFormat 32
BUF_SIZE 3 SourceRotation 32
BUF_SIZE 4 ViewportStationary 8
BUF_SIZE 5 ViewportWidth 32
BUF_SIZE 6 ViewportHeight 32
BUF_SIZE 7 ViewportXStart 32
BUF_SIZE 8 ViewportYStart 32
BUF_SIZE 9 ViewportXStartC 32
BUF_SIZE 10 ViewportYStartC 32
BUF_SIZE 11 SurfaceWidthY 32
BUF_SIZE 12 SurfaceWidthC 32
BUF_SIZE 13 SurfaceHeightY 32
BUF_SIZE 14 SurfaceHeightC 32
BUF_SIZE 15 ODMMode 32
BUF_SIZE 16 BytePerPixY 32
BUF_SIZE 17 BytePerPixC 32
BUF_SIZE 18 Read256BytesBlockHeightY 32
BUF_SIZE 19 Read256BytesBlockHeightC 32
BUF_SIZE 20 Read256BytesBlockWidthY 32
BUF_SIZE 21 Read256BytesBlockWidthC 32
BUF_SIZE 22 BlendingAndTiming 32
BUF_SIZE 23 HActive 32
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthdoubleDPPY 64
BUF_SIZE 27 SwathWidthdoubleDPPC 64
BUF_SIZE 28 SwathWidthY 64
BUF_SIZE 29 SwathWidthC 64
BUF_SIZE 30 MaximumSwathHeightY 32
BUF_SIZE 31 MaximumSwathHeightC 32
BUF_SIZE 32 swath_width_luma_ub 32
BUF_SIZE 33 swath_width_chroma_ub 32
CAPPED_DATA 1 NumberOfActiveSurfaces 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_util_32.c dml32_CalculateSwathAndDETConfiguration() -> dml32_CalculateSwathWidth()

Type Parameter Key Value
BUF_SIZE 2 SourcePixelFormat 32
BUF_SIZE 2 SourcePixelFormat 32
BUF_SIZE 3 SourceRotation 32
BUF_SIZE 3 SourceRotation 32
BUF_SIZE 4 ViewportStationary 8
BUF_SIZE 4 ViewportStationary 8
BUF_SIZE 5 ViewportWidth 32
BUF_SIZE 5 ViewportWidth 32
BUF_SIZE 6 ViewportHeight 32
BUF_SIZE 6 ViewportHeight 32
BUF_SIZE 7 ViewportXStart 32
BUF_SIZE 7 ViewportXStart 32
BUF_SIZE 8 ViewportYStart 32
BUF_SIZE 8 ViewportYStart 32
BUF_SIZE 9 ViewportXStartC 32
BUF_SIZE 9 ViewportXStartC 32
BUF_SIZE 10 ViewportYStartC 32
BUF_SIZE 10 ViewportYStartC 32
BUF_SIZE 11 SurfaceWidthY 32
BUF_SIZE 11 SurfaceWidthY 32
BUF_SIZE 12 SurfaceWidthC 32
BUF_SIZE 12 SurfaceWidthC 32
BUF_SIZE 13 SurfaceHeightY 32
BUF_SIZE 13 SurfaceHeightY 32
BUF_SIZE 14 SurfaceHeightC 32
BUF_SIZE 14 SurfaceHeightC 32
BUF_SIZE 15 ODMMode 32
BUF_SIZE 15 ODMMode 32
BUF_SIZE 16 BytePerPixY 32
BUF_SIZE 16 BytePerPixY 32
BUF_SIZE 17 BytePerPixC 32
BUF_SIZE 17 BytePerPixC 32
BUF_SIZE 18 Read256BytesBlockHeightY 32
BUF_SIZE 18 Read256BytesBlockHeightY 32
BUF_SIZE 19 Read256BytesBlockHeightC 32
BUF_SIZE 19 Read256BytesBlockHeightC 32
BUF_SIZE 20 Read256BytesBlockWidthY 32
BUF_SIZE 20 Read256BytesBlockWidthY 32
BUF_SIZE 21 Read256BytesBlockWidthC 32
BUF_SIZE 21 Read256BytesBlockWidthC 32
BUF_SIZE 22 BlendingAndTiming 32
BUF_SIZE 22 BlendingAndTiming 32
BUF_SIZE 23 HActive 32
BUF_SIZE 23 HActive 32
BUF_SIZE 24 HRatio 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthdoubleDPPY 64
BUF_SIZE 27 SwathWidthdoubleDPPC 64
BUF_SIZE 28 SwathWidthY 64
BUF_SIZE 28 SwathWidthY 64
BUF_SIZE 29 SwathWidthC 64
BUF_SIZE 29 SwathWidthC 64
BUF_SIZE 30 MaximumSwathHeightY 32
BUF_SIZE 31 MaximumSwathHeightC 32
BUF_SIZE 32 swath_width_luma_ub 32
BUF_SIZE 32 swath_width_luma_ub 32
BUF_SIZE 33 swath_width_chroma_ub 32
BUF_SIZE 33 swath_width_chroma_ub 32
DATA_SOURCE 0 ForceSingleDPP $5
DATA_SOURCE 1 NumberOfActiveSurfaces $6
DATA_SOURCE 2 SourcePixelFormat $20
DATA_SOURCE 3 SourceRotation $18
DATA_SOURCE 4 ViewportStationary $19
DATA_SOURCE 5 ViewportWidth $22
DATA_SOURCE 6 ViewportHeight $23
DATA_SOURCE 7 ViewportXStart $24
DATA_SOURCE 8 ViewportYStart $25
DATA_SOURCE 9 ViewportXStartC $26
DATA_SOURCE 10 ViewportYStartC $27
DATA_SOURCE 11 SurfaceWidthY $28
DATA_SOURCE 12 SurfaceWidthC $29
DATA_SOURCE 13 SurfaceHeightY $30
DATA_SOURCE 14 SurfaceHeightC $31
DATA_SOURCE 15 ODMMode $36
DATA_SOURCE 16 BytePerPixY $38
DATA_SOURCE 17 BytePerPixC $39
DATA_SOURCE 18 Read256BytesBlockHeightY $32
DATA_SOURCE 19 Read256BytesBlockHeightC $33
DATA_SOURCE 20 Read256BytesBlockWidthY $34
DATA_SOURCE 21 Read256BytesBlockWidthC $35
DATA_SOURCE 22 BlendingAndTiming $37
DATA_SOURCE 23 HActive $42
DATA_SOURCE 24 HRatio $43
DATA_SOURCE 25 DPPPerSurface $45
DATA_SOURCE 28 SwathWidthY $48
DATA_SOURCE 29 SwathWidthC $49
DATA_SOURCE 32 swath_width_luma_ub $46
DATA_SOURCE 33 swath_width_chroma_ub $47
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL