Documented in 1 files:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/gpu/drm/drm_atomic_state_helper.c, line 407
- drivers/gpu/drm/drm_crtc.c
- drivers/gpu/drm/drm_plane.c
- drivers/gpu/drm/gud/gud_pipe.c, line 416
- drivers/gpu/drm/i915/display/intel_fbdev.c, line 508
- drivers/gpu/drm/i915/display/intel_initial_plane.c, line 169
- drivers/gpu/drm/i915/display/intel_plane.c
- drivers/gpu/drm/rockchip/rockchip_drm_vop.c
- drivers/gpu/drm/tiny/gm12u320.c, line 413
- drivers/gpu/drm/vc4/vc4_crtc.c
- drivers/gpu/drm/vkms/vkms_plane.c, line 147
- drivers/gpu/drm/vkms/vkms_writeback.c, line 95
- include/drm/drm_framebuffer.h, line 269
Smatch caller information:
drivers/gpu/drm/i915/display/intel_plane.c intel_plane_copy_uapi_to_hw_state() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 0 | fb->base.base.id | 0 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.object_idr.idr_rt.xa_flags | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_plane.c intel_plane_duplicate_state() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_plane.c intel_plane_y_copy_hw_state() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 0 | fb->base.base.id | 0 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.blob_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fb->base.dev->mode_config.object_idr.idr_rt.xa_flags | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_writeback.c drm_framebuffer_assign() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| DATA_SOURCE | 0 | fb | $1 |
| NOCHECK_CALL |
drivers/gpu/drm/drm_atomic_uapi.c drm_framebuffer_assign() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| DATA_SOURCE | 0 | fb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &plane->mutex |
drivers/gpu/drm/vc4/vc4_crtc.c vc4_async_page_flip_common() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| CAPPED_DATA | 0 | fb->format->format | 1 |
| DATA_SOURCE | 0 | fb | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/vc4/vc4_crtc.c vc4_async_page_flip_common() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/i915/display/intel_initial_plane.c intel_find_initial_plane_obj() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/vkms/vkms_writeback.c vkms_wb_prepare_job() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_plane.c __setplane_internal() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| DATA_SOURCE | 0 | fb | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |
drivers/gpu/drm/drm_plane.c drm_mode_cursor_universal() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &crtc->cursor->mutex | ||
| LOCK2 | &crtc->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/drm_plane.c drm_mode_page_flip_ioctl() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| DATA_SOURCE | 0 | fb | r drm_framebuffer_lookup |
| NOCHECK_CALL | |||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/tiny/gm12u320.c gm12u320_fb_mark_dirty() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| DATA_SOURCE | 0 | fb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &gm12u320->fb_update.lock | ||
| TYPE_LOCK | (struct gm12u320_device)->fb_update.lock |
drivers/gpu/drm/i915/display/intel_fbdev.c intel_fbdev_init_bios() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/drm_crtc.c __drm_mode_set_config_internal() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/drm_crtc.c drm_mode_setcrtc() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/drm_atomic_state_helper.c __drm_atomic_helper_plane_duplicate_state() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &plane->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &plane->dev->mode_config.mutex | ||
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | &plane->mutex.mutex |
drivers/gpu/drm/vkms/vkms_plane.c vkms_plane_atomic_update() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/rockchip/rockchip_drm_vop.c vop_crtc_atomic_flush() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vkms_output->lock |
drivers/gpu/drm/rockchip/rockchip_drm_vop.c vop_plane_atomic_async_update() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/gud/gud_pipe.c gud_fb_queue_damage() -> drm_framebuffer_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->pitches | 4096-ptr_max |
| PARAM_VALUE | 0 | *fb->pitches | 0-4294967295 |
| CAPPED_DATA | 0 | fb | 1 |
| CAPPED_DATA | 0 | fb->format->num_planes | 1 |
| DATA_SOURCE | 0 | fb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &gdrm->damage_lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gud_device)->damage_lock |