Defined in 2 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_per_frame_master_sync_single_stream() -> dm_enable_per_frame_crtc_master_sync()

Type Parameter Key Value
PARAM_VALUE 0 context 4096-ptr_max
PARAM_VALUE 0 context->stream_count 1
BUF_SIZE 0 context 385448
DATA_SOURCE 0 context r kunit_kzalloc
MEM_ZERO 0 context
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 context 4096-ptr_max
PARAM_VALUE 0 context->stream_count 2
BUF_SIZE 0 context 385448
DATA_SOURCE 0 context r kunit_kzalloc
MEM_ZERO 0 context
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 context 4096-ptr_max
PARAM_VALUE 0 context->stream_count 2
BUF_SIZE 0 context 385448
DATA_SOURCE 0 context r kunit_kzalloc
MEM_ZERO 0 context
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_trigger_timing_sync() -> dm_enable_per_frame_crtc_master_sync()

Type Parameter Key Value
PARAM_VALUE 0 context 4096-ptr_max
CAPPED_DATA 0 context->stream_count 1
NOCHECK_CALL
LOCK2 &adev->dm.dc_lock
LOCK2 &attr->mutex
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock
TYPE_LOCK (struct simple_attr)->mutex