Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c, line 2451
- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c, line 2424
- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c, line 2371
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c, line 568
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c, line 1886
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_display_crtc_page_flip_target() -> amdgpu_get_vblank_counter_kms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->num_crtcs | 1-u32max |
| PARAM_VALUE | 0 | crtc->dev->vbl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->page_flip | 1171917912845488128,2633949216313888768,3106804777208913920,3783433811540639744,7960314227904716800 |
| PARAM_VALUE | 0 | crtc->funcs->page_flip_target | 2647325575361384448,8031463727231463424 |
| PARAM_VALUE | 0 | crtc->primary | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->primary->fb | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->primary->fb->obj | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->primary->state | 0,4096-ptr_max |
| CAPPED_DATA | 0 | crtc | 1 |
| CAPPED_DATA | 0 | crtc->dev->num_crtcs | 1 |
| DATA_SOURCE | 0 | crtc | $0 |
| LOCK2 | &plane->mutex | ||
| LOCK2 | 0 | &crtc->mutex | |
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_display_flip_work_func() -> amdgpu_get_vblank_counter_kms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | crtc | 2048 |
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &plane->mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c dm_pflip_high_irq() -> amdgpu_get_vblank_counter_kms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->dm.irq_handler_list_table_lock | ||
| HALF_LOCKED2 | irq_table_flags |
drivers/gpu/drm/drm_vblank.c __get_vblank_counter() -> (struct drm_crtc_funcs)->get_vblank_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->get_vblank_counter | 1-u64max |
| CAPPED_DATA | 0 | crtc->index | 1 |
| DATA_SOURCE | 0 | crtc | r drm_crtc_from_index |
| CONTAINER | 0 | -168-536+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | &dev->vbl_lock | ||
| HALF_LOCKED2 | &dev->vbl_lock | ||
| HALF_LOCKED2 | &dev->vblank_time_lock | ||
| HALF_LOCKED2 | &dev->vblank_time_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct drm_device)->vblank_time_lock |
drivers/gpu/drm/radeon/radeon_display.c radeon_crtc_page_flip_target() -> (struct drm_crtc_funcs)->get_vblank_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->num_crtcs | 1-u32max |
| PARAM_VALUE | 0 | crtc->dev->vbl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->page_flip | 1171917912845488128,2633949216313888768,3106804777208913920,3783433811540639744,7960314227904716800 |
| PARAM_VALUE | 0 | crtc->funcs->page_flip_target | 2647325575361384448,8031463727231463424 |
| PARAM_VALUE | 0 | crtc->primary | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->primary->fb | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->primary->fb->obj | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->primary->state | 0,4096-ptr_max |
| CAPPED_DATA | 0 | crtc | 1 |
| CAPPED_DATA | 0 | crtc->dev->num_crtcs | 1 |
| DATA_SOURCE | 0 | crtc | $0 |
| CONTAINER | 0 | -168-536+0 | $(-1) |
| LOCK2 | &plane->mutex | ||
| LOCK2 | 0 | &crtc->mutex | |
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/radeon/radeon_display.c radeon_flip_work_func() -> (struct drm_crtc_funcs)->get_vblank_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | crtc | 2048 |
| CONTAINER | 0 | -168-536+0 | $(-1) |
| LOCK2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/radeon_display.c radeon_flip_work_func() -> (struct drm_crtc_funcs)->get_vblank_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | crtc | 2048 |
| CONTAINER | 0 | -168-536+0 | $(-1) |
| LOCK2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/i915/display/intel_crtc.c intel_crtc_get_vblank_counter() -> (struct drm_crtc_funcs)->get_vblank_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| CONTAINER | 0 | -168-536+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | irq |