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/tests/amdgpu_dm_test.c dm_test_crtc_get_scanoutpos_invalid_crtc() -> dm_crtc_get_scanoutpos()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.num_crtc 1
PARAM_VALUE 1 crtc (-1)
PARAM_VALUE 2 vbl 299308558136856576
PARAM_VALUE 2 *vbl 0
PARAM_VALUE 3 position 3936866425261875200
PARAM_VALUE 3 *position 0
DATA_SOURCE 0 adev r dm_kunit_alloc_adev

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_crtc_get_scanoutpos_invalid_crtc() -> dm_crtc_get_scanoutpos()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.num_crtc 1
PARAM_VALUE 1 crtc 1
PARAM_VALUE 2 vbl 299308558136856576
PARAM_VALUE 2 *vbl 0
PARAM_VALUE 3 position 3936866425261875200
PARAM_VALUE 3 *position 0
DATA_SOURCE 0 adev r dm_kunit_alloc_adev

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_crtc_get_scanoutpos_no_stream() -> dm_crtc_get_scanoutpos()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.crtcs 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.num_crtc 1
PARAM_VALUE 1 crtc 0
PARAM_VALUE 2 vbl 5073053145050349568
PARAM_VALUE 2 *vbl 0
PARAM_VALUE 3 position 6172225661484756992
PARAM_VALUE 3 *position 0
DATA_SOURCE 0 adev r dm_kunit_alloc_adev

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_display_get_crtc_scanoutpos() -> (struct amdgpu_display_funcs)->page_flip_get_scanoutpos()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.funcs 4096-ptr_max
PARAM_VALUE 2 vbl 5536442793475493888
PARAM_VALUE 2 *vbl 0
PARAM_VALUE 3 position 7145566399422214144
PARAM_VALUE 3 *position 0
DATA_SOURCE 0 adev r drm_to_adev
DATA_SOURCE 1 crtc $1
RX_PATH
TASK_NOT_RUNNING