Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_gpureset_toggle_interrupts() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dm->dc_lock | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_handle_vrr_transition() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dm_state | $1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_handle_vrr_transition() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dm_state | $2 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_is_dc_timing_adjust_needed() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 16,4096-ptr_max |
| BUF_SIZE | 0 | dm_state | 456 |
| DATA_SOURCE | 0 | dm_state | $0 |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_is_dc_timing_adjust_needed() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->freesync_config.state | 0-3,5-u32max |
| BUF_SIZE | 0 | dm_state | 456 |
| BUF_SIZE | 0 | dm_state->stream | 26528 |
| DATA_SOURCE | 0 | dm_state | $1 |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_update_freesync_state_on_stream() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| DATA_SOURCE | 0 | dm_state | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_vrr_active_disabled() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->freesync_config.state | 1 |
| BUF_SIZE | 0 | dm_state | 456 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_vrr_active_fixed() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->freesync_config.state | 4 |
| BUF_SIZE | 0 | dm_state | 456 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_vrr_active_inactive() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->freesync_config.state | 2 |
| BUF_SIZE | 0 | dm_state | 456 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_vrr_active_unsupported() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->freesync_config.state | 0 |
| BUF_SIZE | 0 | dm_state | 456 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_vrr_active_variable() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->freesync_config.state | 3 |
| BUF_SIZE | 0 | dm_state | 456 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_helper_atomic_check() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_set_vblank() -> amdgpu_dm_crtc_vrr_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->vbl_lock | ||
| LOCK2 | &dev->vblank_time_lock | ||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drm_device)->vbl_lock | ||
| TYPE_LOCK | (struct drm_device)->vblank_time_lock |