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/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_init() -> amdgpu_dm_plane_get_plane_formats()

Type Parameter Key Value
PARAM_VALUE 0 plane 4096-ptr_max
PARAM_VALUE 0 plane->type 0-2
PARAM_VALUE 1 plane_cap 0,4096-ptr_max
PARAM_VALUE 2 formats 7784047557117325312
PARAM_VALUE 3 max_formats 32
BUF_SIZE 0 plane 1488
BUF_SIZE 2 formats 128
DATA_SOURCE 0 plane $1
DATA_SOURCE 1 plane_cap $3
UNITS 3 max_formats unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_get_plane_formats() -> amdgpu_dm_plane_get_plane_formats()

Type Parameter Key Value
PARAM_VALUE 0 plane 4096-ptr_max
PARAM_VALUE 0 plane->type 1
PARAM_VALUE 1 plane_cap 0
PARAM_VALUE 2 formats 4096-ptr_max
PARAM_VALUE 3 max_formats 32
BUF_SIZE 0 plane 1488
BUF_SIZE 2 formats 128
DATA_SOURCE 0 plane r kunit_kzalloc
MEM_ZERO 0 plane

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_get_plane_formats() -> amdgpu_dm_plane_get_plane_formats()

Type Parameter Key Value
PARAM_VALUE 0 plane 4096-ptr_max
PARAM_VALUE 0 plane->type 1
PARAM_VALUE 1 plane_cap 4096-ptr_max
PARAM_VALUE 1 plane_cap->pixel_format_support.fp16 1
PARAM_VALUE 1 plane_cap->pixel_format_support.nv12 1
PARAM_VALUE 1 plane_cap->pixel_format_support.p010 1
PARAM_VALUE 2 formats 4096-ptr_max
PARAM_VALUE 2 *formats 808530000,808665665,808665688,808669761,808669784,825382478,842094158,875708754,875708993,875709016,875713089,875713112,909199186,942948929,942948952,942953025,942953048,1211384385
PARAM_VALUE 3 max_formats 32
BUF_SIZE 0 plane 1488
BUF_SIZE 1 plane_cap 44
BUF_SIZE 2 formats 128
DATA_SOURCE 0 plane r kunit_kzalloc
DATA_SOURCE 1 plane_cap r kunit_kzalloc
MEM_ZERO 0 plane
MEM_ZERO 1 plane_cap

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_get_plane_formats() -> amdgpu_dm_plane_get_plane_formats()

Type Parameter Key Value
PARAM_VALUE 0 plane 4096-ptr_max
PARAM_VALUE 0 plane->type 0
PARAM_VALUE 1 plane_cap 0
PARAM_VALUE 2 formats 4096-ptr_max
PARAM_VALUE 3 max_formats 32
BUF_SIZE 0 plane 1488
BUF_SIZE 2 formats 128
DATA_SOURCE 0 plane r kunit_kzalloc
MEM_ZERO 0 plane

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_get_plane_formats() -> amdgpu_dm_plane_get_plane_formats()

Type Parameter Key Value
PARAM_VALUE 0 plane 4096-ptr_max
PARAM_VALUE 0 plane->type 2
PARAM_VALUE 1 plane_cap 0
PARAM_VALUE 2 formats 4096-ptr_max
PARAM_VALUE 3 max_formats 32
BUF_SIZE 0 plane 1488
BUF_SIZE 2 formats 128
DATA_SOURCE 0 plane r kunit_kzalloc
MEM_ZERO 0 plane

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_get_plane_formats_overlay_universal_cap() -> amdgpu_dm_plane_get_plane_formats()

Type Parameter Key Value
PARAM_VALUE 0 plane 4096-ptr_max
PARAM_VALUE 0 plane->type 0
PARAM_VALUE 1 plane_cap 4096-ptr_max
PARAM_VALUE 1 plane_cap->type 3
PARAM_VALUE 2 formats 4096-ptr_max
PARAM_VALUE 3 max_formats 32
BUF_SIZE 0 plane 1488
BUF_SIZE 1 plane_cap 44
BUF_SIZE 2 formats 128
DATA_SOURCE 0 plane r kunit_kzalloc
DATA_SOURCE 1 plane_cap r kunit_kzalloc
MEM_ZERO 0 plane
MEM_ZERO 1 plane_cap