Defined in 4 files as a prototype:

Defined in 5 files as a function:

Referenced in 5 files:

Smatch caller information:

5b3f9f3a27e33f8 CalculateSwathAndDETConfiguration() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 15 SwathWidthSingleDPPY 4096-ptr_max
PARAM_VALUE 16 SwathWidthSingleDPPC 4096-ptr_max
PARAM_VALUE 19 MaximumSwathHeightY 4096-ptr_max
PARAM_VALUE 20 MaximumSwathHeightC 4096-ptr_max
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 19 MaximumSwathHeightY 32
BUF_SIZE 20 MaximumSwathHeightC 32
CAPPED_DATA 2 NumberOfActiveSurfaces 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c CalculateSwathAndDETConfiguration() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 11 surf_linear128_c 4096-ptr_max
PARAM_VALUE 12 DPPPerSurface 4096-ptr_max
PARAM_VALUE 13 req_per_swath_ub_l 4096-ptr_max
PARAM_VALUE 14 req_per_swath_ub_c 4096-ptr_max
PARAM_VALUE 15 SwathWidthSingleDPPY 4096-ptr_max
PARAM_VALUE 16 SwathWidthSingleDPPC 4096-ptr_max
PARAM_VALUE 21 swath_width_luma_ub 4096-ptr_max
PARAM_VALUE 22 swath_width_chroma_ub 4096-ptr_max
PARAM_VALUE 25 DPPPerSurface 4096-ptr_max
PARAM_VALUE 26 SwathWidthSingleDPPY 4096-ptr_max
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 64
BUF_SIZE 22 swath_width_chroma_ub 64
BUF_SIZE 23 HActive 64
BUF_SIZE 23 HActive 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
BUF_SIZE 28 SwathWidthY 32
DATA_SOURCE 0 display_cfg $0
DATA_SOURCE 1 ForceSingleDPP $1
DATA_SOURCE 2 NumberOfActiveSurfaces $6
DATA_SOURCE 3 ODMMode $5
DATA_SOURCE 4 BytePerPixY $8
DATA_SOURCE 5 BytePerPixC $9
DATA_SOURCE 6 Read256BytesBlockHeightY $10
DATA_SOURCE 7 Read256BytesBlockHeightC $11
DATA_SOURCE 8 Read256BytesBlockWidthY $12
DATA_SOURCE 9 Read256BytesBlockWidthC $13
DATA_SOURCE 10 surf_linear128_l $18
DATA_SOURCE 11 surf_linear128_c $20
DATA_SOURCE 12 DPPPerSurface $21
DATA_SOURCE 13 req_per_swath_ub_l $14
DATA_SOURCE 14 req_per_swath_ub_c $15
DATA_SOURCE 15 SwathWidthSingleDPPY $16
DATA_SOURCE 16 SwathWidthSingleDPPC $17
DATA_SOURCE 17 SwathWidthY $19
DATA_SOURCE 18 SwathWidthC $24
DATA_SOURCE 19 MaximumSwathHeightY $25
DATA_SOURCE 20 MaximumSwathHeightC $27
DATA_SOURCE 23 HActive $30
DATA_SOURCE 24 HRatio $31
DATA_SOURCE 27 SwathWidthSingleDPPC $28
DATA_SOURCE 28 SwathWidthY $29
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 display_cfg 0
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 64
BUF_SIZE 22 swath_width_chroma_ub 64
BUF_SIZE 23 HActive 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
CAPPED_DATA 1 ForceSingleDPP 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/display_mode_core.c CalculateSwathAndDETConfiguration() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 1 ForceSingleDPP 0-2
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 8
BUF_SIZE 4 BytePerPixY 8
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 32
BUF_SIZE 19 MaximumSwathHeightY 32
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 32
BUF_SIZE 21 swath_width_luma_ub 32
BUF_SIZE 22 swath_width_chroma_ub 32
BUF_SIZE 22 swath_width_chroma_ub 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 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
BUF_SIZE 28 SwathWidthY 32
BUF_SIZE 29 SwathWidthC 32
BUF_SIZE 29 SwathWidthC 32
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
CAPPED_DATA 1 ForceSingleDPP 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_programming() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 display_cfg 0
PARAM_VALUE 1 ForceSingleDPP 0-2
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 8
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 32
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 32
BUF_SIZE 22 swath_width_chroma_ub 32
BUF_SIZE 23 HActive 32
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
BUF_SIZE 29 SwathWidthC 32
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 ForceSingleDPP 1
DATA_SOURCE 1 ForceSingleDPP r dml_get_num_active_planes
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c CalculateSwathAndDETConfiguration() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 display_cfg 0
PARAM_VALUE 11 surf_linear128_c 4096-ptr_max
PARAM_VALUE 12 DPPPerSurface 4096-ptr_max
PARAM_VALUE 13 req_per_swath_ub_l 4096-ptr_max
PARAM_VALUE 14 req_per_swath_ub_c 4096-ptr_max
PARAM_VALUE 15 SwathWidthSingleDPPY 4096-ptr_max
PARAM_VALUE 16 SwathWidthSingleDPPC 4096-ptr_max
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 64
BUF_SIZE 22 swath_width_chroma_ub 64
BUF_SIZE 23 HActive 64
BUF_SIZE 23 HActive 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
BUF_SIZE 28 SwathWidthY 32
CAPPED_DATA 1 ForceSingleDPP 1
DATA_SOURCE 0 display_cfg $0
DATA_SOURCE 1 ForceSingleDPP $1
DATA_SOURCE 2 NumberOfActiveSurfaces $7
DATA_SOURCE 3 ODMMode $6
DATA_SOURCE 4 BytePerPixY $9
DATA_SOURCE 5 BytePerPixC $10
DATA_SOURCE 6 Read256BytesBlockHeightY $11
DATA_SOURCE 7 Read256BytesBlockHeightC $12
DATA_SOURCE 8 Read256BytesBlockWidthY $13
DATA_SOURCE 9 Read256BytesBlockWidthC $14
DATA_SOURCE 10 surf_linear128_l $19
DATA_SOURCE 11 surf_linear128_c $21
DATA_SOURCE 12 DPPPerSurface $22
DATA_SOURCE 13 req_per_swath_ub_l $15
DATA_SOURCE 14 req_per_swath_ub_c $16
DATA_SOURCE 15 SwathWidthSingleDPPY $17
DATA_SOURCE 16 SwathWidthSingleDPPC $18
DATA_SOURCE 17 SwathWidthY $20
DATA_SOURCE 18 SwathWidthC $25
DATA_SOURCE 19 MaximumSwathHeightY $26
DATA_SOURCE 20 MaximumSwathHeightC $28
DATA_SOURCE 23 HActive $31
DATA_SOURCE 24 HRatio $32
DATA_SOURCE 27 SwathWidthSingleDPPC $29
DATA_SOURCE 28 SwathWidthY $30
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 display_cfg 0
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 64
BUF_SIZE 22 swath_width_chroma_ub 64
BUF_SIZE 23 HActive 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
CAPPED_DATA 1 ForceSingleDPP 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c CalculateSwathAndDETConfiguration() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 display_cfg 0
PARAM_VALUE 11 surf_linear128_c 4096-ptr_max
PARAM_VALUE 12 DPPPerSurface 4096-ptr_max
PARAM_VALUE 13 req_per_swath_ub_l 4096-ptr_max
PARAM_VALUE 14 req_per_swath_ub_c 4096-ptr_max
PARAM_VALUE 15 SwathWidthSingleDPPY 4096-ptr_max
PARAM_VALUE 16 SwathWidthSingleDPPC 4096-ptr_max
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 64
BUF_SIZE 22 swath_width_chroma_ub 64
BUF_SIZE 23 HActive 64
BUF_SIZE 23 HActive 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
BUF_SIZE 28 SwathWidthY 32
CAPPED_DATA 1 ForceSingleDPP 1
DATA_SOURCE 0 display_cfg $0
DATA_SOURCE 1 ForceSingleDPP $1
DATA_SOURCE 2 NumberOfActiveSurfaces $6
DATA_SOURCE 3 ODMMode $5
DATA_SOURCE 4 BytePerPixY $8
DATA_SOURCE 5 BytePerPixC $9
DATA_SOURCE 6 Read256BytesBlockHeightY $10
DATA_SOURCE 7 Read256BytesBlockHeightC $11
DATA_SOURCE 8 Read256BytesBlockWidthY $12
DATA_SOURCE 9 Read256BytesBlockWidthC $13
DATA_SOURCE 10 surf_linear128_l $18
DATA_SOURCE 11 surf_linear128_c $20
DATA_SOURCE 12 DPPPerSurface $21
DATA_SOURCE 13 req_per_swath_ub_l $14
DATA_SOURCE 14 req_per_swath_ub_c $15
DATA_SOURCE 15 SwathWidthSingleDPPY $16
DATA_SOURCE 16 SwathWidthSingleDPPC $17
DATA_SOURCE 17 SwathWidthY $19
DATA_SOURCE 18 SwathWidthC $24
DATA_SOURCE 19 MaximumSwathHeightY $25
DATA_SOURCE 20 MaximumSwathHeightC $27
DATA_SOURCE 23 HActive $30
DATA_SOURCE 24 HRatio $31
DATA_SOURCE 27 SwathWidthSingleDPPC $28
DATA_SOURCE 28 SwathWidthY $29
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> CalculateSwathWidth()

Type Parameter Key Value
PARAM_VALUE 0 display_cfg 0
BUF_SIZE 2 NumberOfActiveSurfaces 32
BUF_SIZE 3 ODMMode 32
BUF_SIZE 4 BytePerPixY 32
BUF_SIZE 5 BytePerPixC 32
BUF_SIZE 6 Read256BytesBlockHeightY 32
BUF_SIZE 7 Read256BytesBlockHeightC 32
BUF_SIZE 8 Read256BytesBlockWidthY 32
BUF_SIZE 9 Read256BytesBlockWidthC 32
BUF_SIZE 10 surf_linear128_l 32
BUF_SIZE 11 surf_linear128_c 32
BUF_SIZE 12 DPPPerSurface 32
BUF_SIZE 13 req_per_swath_ub_l 32
BUF_SIZE 14 req_per_swath_ub_c 32
BUF_SIZE 15 SwathWidthSingleDPPY 32
BUF_SIZE 16 SwathWidthSingleDPPC 32
BUF_SIZE 17 SwathWidthY 32
BUF_SIZE 18 SwathWidthC 32
BUF_SIZE 19 MaximumSwathHeightY 64
BUF_SIZE 20 MaximumSwathHeightC 32
BUF_SIZE 21 swath_width_luma_ub 64
BUF_SIZE 22 swath_width_chroma_ub 64
BUF_SIZE 23 HActive 64
BUF_SIZE 24 HRatio 64
BUF_SIZE 25 DPPPerSurface 32
BUF_SIZE 26 SwathWidthSingleDPPY 32
BUF_SIZE 27 SwathWidthSingleDPPC 32
BUF_SIZE 28 SwathWidthY 32
CAPPED_DATA 1 ForceSingleDPP 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL