Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/gpu/drm/drm_client.c drm_client_buffer_create_dumb() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 0,4096-ptr_max
PARAM_VALUE 1 plane 0
DATA_SOURCE 0 info r drm_format_info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &dev->clientlist_mutex
HALF_LOCKED2 &fb_helper->lock

drivers/gpu/drm/rockchip/rockchip_drm_vop2.c vop2_get_bpp() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->format 0-808539480,808539482-808670549,808670551-942691672,942691674-u32max
PARAM_VALUE 1 plane 0
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/drm_format_helper.c drm_fb_memcpy() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 1-255
PARAM_VALUE 1 plane 0-254
CAPPED_DATA 1 plane 1
PARAM_COMPARE 0 info->num_planes > $1
PARAM_COMPARE 1 plane < $0->num_planes
RX_PATH
TASK_NOT_RUNNING
UNITS 1 plane unit_array_size
HALF_LOCKED2 &gdrm->damage_lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/drm_format_helper.c drm_fb_swab() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 0,4096-ptr_max
PARAM_VALUE 1 plane 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/drm_fbdev_ttm.c drm_fbdev_ttm_damage_blit_real() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 1 plane 0
LOCK2 &fb_helper->lock
LOCK2 &pool->lock
LOCK2 gem->resv
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/vkms/vkms_formats.c Rx_read_line() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 1 plane 0
LOCK2 &pool->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_format_mod_supported() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 0,4096-ptr_max
PARAM_VALUE 1 plane 0
DATA_SOURCE 0 info r drm_format_info
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/clients/drm_fbdev_client.c drm_fbdev_client_setup() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 1-u64max
PARAM_VALUE 1 plane 0
DATA_SOURCE 0 info $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/drm_fbdev_dma.c drm_fbdev_dma_damage_blit_real() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 1 plane 0
LOCK2 &fb_helper->lock
LOCK2 &pool->lock
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_afbc_get_bpp() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->format 0-808539480,808539482-808670549,808670551-942691672,942691674-u32max
PARAM_VALUE 1 plane 0
CAPPED_DATA 0 info->num_planes 1
DATA_SOURCE 0 info $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/drm_framebuffer.c drm_mode_getfb() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 0-1
PARAM_VALUE 1 plane 0
FUZZY_MAX 0 info->num_planes 1
HARD_MAX 0 info->num_planes 1

drivers/gpu/drm/i915/display/intel_fbdev.c intel_fbdev_color_mode() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->depth 1-255
PARAM_VALUE 0 info->has_alpha 0
PARAM_VALUE 0 info->is_yuv 0
PARAM_VALUE 0 info->num_planes 1
PARAM_VALUE 1 plane 0
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/gpu/drm/drm_fb_helper.c __drm_fb_helper_find_sizes() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 0,4096-ptr_max
PARAM_VALUE 1 plane 0
DATA_SOURCE 0 info r drm_format_info
RX_PATH
TASK_NOT_RUNNING
LOCK2 &client->modeset_mutex
LOCK2 &dev->clientlist_mutex
LOCK2 &fb_helper->lock
TYPE_LOCK (struct drm_client_dev)->modeset_mutex
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/drm_fb_helper.c __fill_var() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 plane 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->clientlist_mutex

drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_check_var() -> drm_format_info_bpp()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 plane 0
RX_PATH
TASK_NOT_RUNNING