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/tests/amdgpu_dm_cursor_test.c dm_test_should_update_native_cursor_disable_native() -> amdgpu_dm_should_update_native_cursor()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtcs 4096-ptr_max
PARAM_VALUE 1 old_plane_crtc 4096-ptr_max
PARAM_VALUE 1 old_plane_crtc->index 0
PARAM_VALUE 2 new_plane_crtc 0
PARAM_VALUE 3 enable 0
BUF_SIZE 0 state 176
BUF_SIZE 0 state->crtcs 56
BUF_SIZE 1 old_plane_crtc 2048
DATA_SOURCE 0 state r kunit_kzalloc
DATA_SOURCE 1 old_plane_crtc r kunit_kzalloc
MEM_ZERO 0 state
MEM_ZERO 0 state->crtcs
MEM_ZERO 1 old_plane_crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_cursor_test.c dm_test_should_update_native_cursor_enable_overlay() -> amdgpu_dm_should_update_native_cursor()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->crtcs 4096-ptr_max
PARAM_VALUE 1 old_plane_crtc 0
PARAM_VALUE 2 new_plane_crtc 4096-ptr_max
PARAM_VALUE 2 new_plane_crtc->index 0
PARAM_VALUE 3 enable 1
BUF_SIZE 0 state 176
BUF_SIZE 0 state->crtcs 56
BUF_SIZE 2 new_plane_crtc 2048
DATA_SOURCE 0 state r kunit_kzalloc
DATA_SOURCE 2 new_plane_crtc r kunit_kzalloc
MEM_ZERO 0 state
MEM_ZERO 0 state->crtcs
MEM_ZERO 2 new_plane_crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_cursor_test.c dm_test_should_update_native_cursor_without_crtc() -> amdgpu_dm_should_update_native_cursor()

Type Parameter Key Value
PARAM_VALUE 0 state 0
PARAM_VALUE 1 old_plane_crtc 0
PARAM_VALUE 2 new_plane_crtc 0
PARAM_VALUE 3 enable 0

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_cursor_test.c dm_test_should_update_native_cursor_without_crtc() -> amdgpu_dm_should_update_native_cursor()

Type Parameter Key Value
PARAM_VALUE 0 state 0
PARAM_VALUE 1 old_plane_crtc 0
PARAM_VALUE 2 new_plane_crtc 0
PARAM_VALUE 3 enable 1

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

Type Parameter Key Value
DATA_SOURCE 0 state $1
DATA_SOURCE 3 enable $5