Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c get_meta_and_pte_attr() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 1-2,4,8
PARAM_VALUE 3 BytePerPixelC 1-2,4
PARAM_VALUE 4 BlockHeight256BytesY 2693337377917898752
PARAM_VALUE 4 *BlockHeight256BytesY 0
PARAM_VALUE 5 BlockHeight256BytesC 2403604126420402176
PARAM_VALUE 5 *BlockHeight256BytesC 0
PARAM_VALUE 6 BlockWidth256BytesY 4323491206310342656
PARAM_VALUE 6 *BlockWidth256BytesY 0
PARAM_VALUE 7 BlockWidth256BytesC 8685647979380072448
PARAM_VALUE 7 *BlockWidth256BytesC 0
DATA_SOURCE 0 SourcePixelFormat $8
DATA_SOURCE 1 SurfaceTiling $9
DATA_SOURCE 2 BytePerPixelY r get_bytes_per_element
DATA_SOURCE 3 BytePerPixelC r get_bytes_per_element
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_rq_dlg_calc_20.c get_meta_and_pte_attr() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 1-2,4,8
PARAM_VALUE 3 BytePerPixelC 1-2,4
PARAM_VALUE 4 BlockHeight256BytesY 5272923832552271872
PARAM_VALUE 4 *BlockHeight256BytesY 0
PARAM_VALUE 5 BlockHeight256BytesC 1177689323975430144
PARAM_VALUE 5 *BlockHeight256BytesC 0
PARAM_VALUE 6 BlockWidth256BytesY 1189576564367421440
PARAM_VALUE 6 *BlockWidth256BytesY 0
PARAM_VALUE 7 BlockWidth256BytesC 651490676305862656
PARAM_VALUE 7 *BlockWidth256BytesC 0
DATA_SOURCE 0 SourcePixelFormat $8
DATA_SOURCE 1 SurfaceTiling $9
DATA_SOURCE 2 BytePerPixelY r get_bytes_per_element
DATA_SOURCE 3 BytePerPixelC r get_bytes_per_element
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 0
PARAM_VALUE 3 BytePerPixelC 0
PARAM_VALUE 4 BlockHeight256BytesY 4096-ptr_max
PARAM_VALUE 5 BlockHeight256BytesC 4096-ptr_max
PARAM_VALUE 6 BlockWidth256BytesY 4096-ptr_max
PARAM_VALUE 7 BlockWidth256BytesC 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20v2.c dml20v2_ModeSupportAndSystemConfigurationFull() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 0
PARAM_VALUE 3 BytePerPixelC 0
PARAM_VALUE 4 BlockHeight256BytesY 4096-ptr_max
PARAM_VALUE 5 BlockHeight256BytesC 4096-ptr_max
PARAM_VALUE 6 BlockWidth256BytesY 4096-ptr_max
PARAM_VALUE 7 BlockWidth256BytesC 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_rq_dlg_calc_21.c get_meta_and_pte_attr() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 1-2,4,8
PARAM_VALUE 3 BytePerPixelC 1-2,4
PARAM_VALUE 4 BlockHeight256BytesY 8312104208243220480
PARAM_VALUE 4 *BlockHeight256BytesY 0
PARAM_VALUE 5 BlockHeight256BytesC 5540439171818844160
PARAM_VALUE 5 *BlockHeight256BytesC 0
PARAM_VALUE 6 BlockWidth256BytesY 4786667183394521088
PARAM_VALUE 6 *BlockWidth256BytesY 0
PARAM_VALUE 7 BlockWidth256BytesC 3736884394261245952
PARAM_VALUE 7 *BlockWidth256BytesC 0
DATA_SOURCE 0 SourcePixelFormat $8
DATA_SOURCE 1 SurfaceTiling $9
DATA_SOURCE 2 BytePerPixelY r get_bytes_per_element
DATA_SOURCE 3 BytePerPixelC r get_bytes_per_element
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20.c dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 0
PARAM_VALUE 3 BytePerPixelC 0
PARAM_VALUE 4 BlockHeight256BytesY 4096-ptr_max
PARAM_VALUE 5 BlockHeight256BytesC 4096-ptr_max
PARAM_VALUE 6 BlockWidth256BytesY 4096-ptr_max
PARAM_VALUE 7 BlockWidth256BytesC 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/display_mode_vba_20.c dml20_ModeSupportAndSystemConfigurationFull() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 0
PARAM_VALUE 3 BytePerPixelC 0
PARAM_VALUE 4 BlockHeight256BytesY 4096-ptr_max
PARAM_VALUE 5 BlockHeight256BytesC 4096-ptr_max
PARAM_VALUE 6 BlockWidth256BytesY 4096-ptr_max
PARAM_VALUE 7 BlockWidth256BytesC 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 0
PARAM_VALUE 3 BytePerPixelC 0
PARAM_VALUE 4 BlockHeight256BytesY 4096-ptr_max
PARAM_VALUE 5 BlockHeight256BytesC 4096-ptr_max
PARAM_VALUE 6 BlockWidth256BytesY 4096-ptr_max
PARAM_VALUE 7 BlockWidth256BytesC 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c dml21_ModeSupportAndSystemConfigurationFull() -> Calculate256BBlockSizes()

Type Parameter Key Value
PARAM_VALUE 2 BytePerPixelY 0
PARAM_VALUE 3 BytePerPixelC 0
PARAM_VALUE 4 BlockHeight256BytesY 4096-ptr_max
PARAM_VALUE 5 BlockHeight256BytesC 4096-ptr_max
PARAM_VALUE 6 BlockWidth256BytesY 4096-ptr_max
PARAM_VALUE 7 BlockWidth256BytesC 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL