Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c, line 1232
- drivers/gpu/drm/arm/malidp_planes.c, line 331
- drivers/gpu/drm/drm_fb_dma_helper.c, line 54
- drivers/gpu/drm/drm_fb_helper.c, line 1886
- drivers/gpu/drm/drm_fbdev_shmem.c
- drivers/gpu/drm/drm_gem_atomic_helper.c, line 141
- drivers/gpu/drm/drm_gem_framebuffer_helper.c
- drivers/gpu/drm/drm_gem_vram_helper.c
- drivers/gpu/drm/drm_mipi_dbi.c, line 209
- drivers/gpu/drm/exynos/exynos_drm_fbdev.c, line 32
- drivers/gpu/drm/i915/display/intel_fbdev.c, line 127
- drivers/gpu/drm/msm/msm_fb.c, line 128
- drivers/gpu/drm/omapdrm/omap_fbdev.c
- drivers/gpu/drm/radeon/radeon_fbdev.c, line 175
- drivers/gpu/drm/tegra/fb.c, line 24
Smatch caller information:
drivers/gpu/drm/drm_fbdev_shmem.c drm_fbdev_shmem_fb_mmap() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->mm_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct fb_info)->mm_lock |
drivers/gpu/drm/drm_fbdev_shmem.c drm_fbdev_shmem_get_page() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fbdefio_state->lock | ||
| TYPE_LOCK | (struct fb_deferred_io_state)->lock |
drivers/gpu/drm/msm/msm_fb.c msm_framebuffer_bo() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| DATA_SOURCE | 0 | fb | $0 |
| DATA_SOURCE | 1 | plane | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mm_lock |
drivers/gpu/drm/omapdrm/omap_fbdev.c omap_fbdev_fb_destroy() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global ®istration_lock |
drivers/gpu/drm/omapdrm/omap_fbdev.c pan_worker() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_helper_prepare_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_fb_dma_helper.c drm_fb_dma_get_gem_obj() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | fb | (-1),192 |
| BUF_SIZE | 0 | fb | (-1),192 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 0 | fb | $0 |
| DATA_SOURCE | 1 | plane | $1 |
| NOSPEC | 0 | fb->height | |
| NOSPEC | 0 | fb->width | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fb->flags | 0-2[u] |
| USER_DATA | 0 | fb->height | 1-s32max[c] |
| USER_DATA | 0 | fb->modifier | 0 |
| USER_DATA | 0 | fb->width | 1-s32max[c] |
| UNITS | 1 | plane | unit_array_size |
| HALF_LOCKED2 | &(plane->dev)->mode_config.panic_lock | ||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | &priv->drm->event_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_gem_vram_helper.c __drm_gem_vram_plane_helper_cleanup_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| DATA_SOURCE | 1 | plane | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_gem_vram_helper.c drm_gem_vram_plane_helper_prepare_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format->num_planes | 1-255 |
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| PARAM_COMPARE | 0 | fb->format->num_planes | > $1 |
| PARAM_COMPARE | 1 | plane | < $0->format->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
drivers/gpu/drm/drm_gem_framebuffer_helper.c __drm_gem_fb_end_cpu_access() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | *fb->pitches | 0-4294967295 |
| CAPPED_DATA | 0 | fb | 1 |
| DATA_SOURCE | 0 | fb | $0 |
| DATA_SOURCE | 1 | plane | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
| HALF_LOCKED2 | &gm12u320->fb_update.lock | ||
| HALF_LOCKED2 | &smd->tx_mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_begin_cpu_access() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format->num_planes | 1-255 |
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 0 | fb | $0 |
| PARAM_COMPARE | 0 | fb->format->num_planes | > $1 |
| PARAM_COMPARE | 1 | plane | < $0->format->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
| HALF_LOCKED2 | &gm12u320->fb_update.lock | ||
| HALF_LOCKED2 | &smd->tx_mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_vmap() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format->num_planes | 1-255 |
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 0 | fb | $0 |
| PARAM_COMPARE | 0 | fb->format->num_planes | > $1 |
| PARAM_COMPARE | 1 | plane | < $0->format->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_vmap() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format->num_planes | 1-255 |
| PARAM_VALUE | 1 | plane | 0-253 |
| DATA_SOURCE | 0 | fb | $0 |
| FUZZY_MAX | 0 | fb->format->num_planes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_vunmap() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0-254 |
| DATA_SOURCE | 0 | fb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
drivers/gpu/drm/arm/malidp_planes.c malidp_check_pages_threshold() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
| 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/drm_gem_atomic_helper.c drm_gem_plane_helper_prepare_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format->num_planes | 1-255 |
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| PARAM_COMPARE | 1 | plane | < $0->format->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
| HALF_LOCKED2 | rbo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c amdgpu_vkms_cleanup_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c amdgpu_vkms_prepare_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/exynos/exynos_drm_fbdev.c exynos_drm_fb_mmap() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->mm_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct fb_info)->mm_lock |
drivers/gpu/drm/drm_mipi_dbi.c mipi_dbi_buf_copy() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 4096-ptr_max |
| PARAM_VALUE | 0 | fb->format | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| DATA_SOURCE | 0 | fb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/i915/display/intel_fbdev.c intel_fbdev_mmap() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->mm_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct fb_info)->mm_lock |
drivers/gpu/drm/tegra/fb.c tegra_fb_get_plane() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 0 | fb | $0 |
| DATA_SOURCE | 1 | plane | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mm_lock |
drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_gem_is_fb() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fb | 1-u64max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/radeon/radeon_fbdev.c radeon_fbdev_fb_destroy() -> drm_gem_fb_get_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global ®istration_lock |