Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_plane_state() -> amdgpu_dm_plane_helper_check_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtc 4096-ptr_max
DATA_SOURCE 0 state $4
DATA_SOURCE 1 new_crtc_state r drm_atomic_get_new_crtc_state

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_atomic_check() -> amdgpu_dm_plane_helper_check_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtc 4096-ptr_max
PARAM_VALUE 1 new_crtc_state 1-u64max
DATA_SOURCE 0 state r drm_atomic_get_new_plane_state
DATA_SOURCE 1 new_crtc_state r drm_atomic_get_new_crtc_state
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtc 16,4096-ptr_max
PARAM_VALUE 0 state->crtc_h 100
PARAM_VALUE 0 state->crtc_w 100
PARAM_VALUE 0 state->crtc_x 0
PARAM_VALUE 0 state->crtc_y 95
PARAM_VALUE 0 state->fb 16,4096-ptr_max
PARAM_VALUE 0 state->plane 4096-ptr_max
PARAM_VALUE 0 state->plane->type 0
PARAM_VALUE 1 new_crtc_state 4096-ptr_max
PARAM_VALUE 1 new_crtc_state->mode.crtc_hdisplay 1920
PARAM_VALUE 1 new_crtc_state->mode.crtc_vdisplay 100
BUF_SIZE 0 state 184
BUF_SIZE 0 state->crtc 2048
BUF_SIZE 0 state->fb 192
BUF_SIZE 0 state->plane 1488
BUF_SIZE 1 new_crtc_state 352
DATA_SOURCE 0 state r kunit_kzalloc
DATA_SOURCE 1 new_crtc_state r kunit_kzalloc
MEM_ZERO 0 state
MEM_ZERO 1 new_crtc_state

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

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtc 16,4096-ptr_max
PARAM_VALUE 0 state->crtc_h 100
PARAM_VALUE 0 state->crtc_w 100
PARAM_VALUE 0 state->crtc_x (-2)
PARAM_VALUE 0 state->crtc_y (-95)
PARAM_VALUE 0 state->fb 16,4096-ptr_max
PARAM_VALUE 0 state->plane 4096-ptr_max
PARAM_VALUE 0 state->plane->type 0
PARAM_VALUE 1 new_crtc_state 4096-ptr_max
PARAM_VALUE 1 new_crtc_state->mode.crtc_hdisplay 1920
PARAM_VALUE 1 new_crtc_state->mode.crtc_vdisplay 1080
BUF_SIZE 0 state 184
BUF_SIZE 0 state->crtc 2048
BUF_SIZE 0 state->fb 192
BUF_SIZE 0 state->plane 1488
BUF_SIZE 1 new_crtc_state 352
DATA_SOURCE 0 state r kunit_kzalloc
DATA_SOURCE 1 new_crtc_state r kunit_kzalloc
MEM_ZERO 0 state
MEM_ZERO 1 new_crtc_state

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

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtc 16,4096-ptr_max
PARAM_VALUE 0 state->crtc_h 100
PARAM_VALUE 0 state->crtc_w 10
PARAM_VALUE 0 state->crtc_x 0
PARAM_VALUE 0 state->crtc_y 0
PARAM_VALUE 0 state->fb 16,4096-ptr_max
PARAM_VALUE 0 state->plane 4096-ptr_max
PARAM_VALUE 0 state->plane->type 0
PARAM_VALUE 1 new_crtc_state 4096-ptr_max
PARAM_VALUE 1 new_crtc_state->mode.crtc_hdisplay 1920
PARAM_VALUE 1 new_crtc_state->mode.crtc_vdisplay 1080
BUF_SIZE 0 state 184
BUF_SIZE 0 state->crtc 2048
BUF_SIZE 0 state->fb 192
BUF_SIZE 0 state->plane 1488
BUF_SIZE 1 new_crtc_state 352
DATA_SOURCE 0 state r kunit_kzalloc
DATA_SOURCE 1 new_crtc_state r kunit_kzalloc
MEM_ZERO 0 state
MEM_ZERO 1 new_crtc_state

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

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtc 16,4096-ptr_max
PARAM_VALUE 0 state->crtc_h 100
PARAM_VALUE 0 state->crtc_w 100
PARAM_VALUE 0 state->crtc_x 200
PARAM_VALUE 0 state->crtc_y 0
PARAM_VALUE 0 state->fb 16,4096-ptr_max
PARAM_VALUE 0 state->plane 4096-ptr_max
PARAM_VALUE 0 state->plane->type 0
PARAM_VALUE 1 new_crtc_state 4096-ptr_max
PARAM_VALUE 1 new_crtc_state->mode.crtc_hdisplay 100
PARAM_VALUE 1 new_crtc_state->mode.crtc_vdisplay 100
BUF_SIZE 0 state 184
BUF_SIZE 0 state->crtc 2048
BUF_SIZE 0 state->fb 192
BUF_SIZE 0 state->plane 1488
BUF_SIZE 1 new_crtc_state 352
DATA_SOURCE 0 state r kunit_kzalloc
DATA_SOURCE 1 new_crtc_state r kunit_kzalloc
MEM_ZERO 0 state
MEM_ZERO 1 new_crtc_state