Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
- drivers/gpu/drm/arm/malidp_planes.c, line 528
- drivers/gpu/drm/drm_fb_dma_helper.c, line 80
- drivers/gpu/drm/drm_fb_helper.c
- drivers/gpu/drm/drm_fourcc.c
- drivers/gpu/drm/gud/gud_pipe.c
- drivers/gpu/drm/i915/display/intel_fb.c
- drivers/gpu/drm/tests/drm_format_test.c
- drivers/gpu/drm/vkms/vkms_formats.c
Smatch caller information:
drivers/gpu/drm/vkms/vkms_formats.c get_block_step_bytes() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-2 |
| DATA_SOURCE | 1 | plane | $2 |
| HARD_MAX | 1 | plane | 2 |
| LOCK2 | &pool->lock |
drivers/gpu/drm/vkms/vkms_formats.c get_block_step_bytes() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-2 |
| DATA_SOURCE | 1 | plane | $2 |
| HARD_MAX | 1 | plane | 2 |
| LOCK2 | &pool->lock |
drivers/gpu/drm/vkms/vkms_formats.c packed_pixels_addr_1x1() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-2 |
| DATA_SOURCE | 1 | plane | $3 |
| HARD_MAX | 1 | plane | 2 |
| LOCK2 | &pool->lock |
drivers/gpu/drm/vkms/vkms_formats.c packed_pixels_offset() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-2 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 1 | plane | $3 |
| HARD_MAX | 1 | plane | 2 |
| LOCK2 | &pool->lock |
drivers/gpu/drm/vkms/vkms_formats.c packed_pixels_offset() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0-2 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 1 | plane | $3 |
| HARD_MAX | 1 | plane | 2 |
| LOCK2 | &pool->lock |
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c komeda_fb_check_src_coords() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c komeda_fb_get_pixel_addr() -> drm_format_info_block_width()
| 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 |
| DATA_SOURCE | 1 | plane | $3 |
| 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 |
drivers/gpu/drm/drm_fb_dma_helper.c drm_fb_dma_get_gem_addr() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | plane | 0-254 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 1 | plane | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_invalid() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0 |
| PARAM_VALUE | 1 | plane | 0 |
| BUF_SIZE | 0 | info | 0 |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_invalid() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0 |
| PARAM_VALUE | 1 | plane | (-1) |
| BUF_SIZE | 0 | info | 0 |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_invalid() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 0 |
| PARAM_VALUE | 1 | plane | 1 |
| BUF_SIZE | 0 | info | 0 |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_one_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_one_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 1 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_one_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | (-1) |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_three_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_three_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 1 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_three_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 2 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_three_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 3 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_three_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | (-1) |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_tiled() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_tiled() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 1 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_tiled() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | (-1) |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_two_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_two_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 1 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_two_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 2 |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/tests/drm_format_test.c drm_test_format_block_width_two_plane() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | (-1) |
| DATA_SOURCE | 0 | info | r drm_format_info |
drivers/gpu/drm/arm/malidp_planes.c malidp_de_plane_check() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| CAPPED_DATA | 0 | info->format | 1 |
| 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/drm_fourcc.c drm_format_info_bpp() -> drm_format_info_block_width()
| 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 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 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 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | gem->resv |
drivers/gpu/drm/drm_fourcc.c drm_format_info_min_pitch() -> drm_format_info_block_width()
| 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 |
| BUF_SIZE | 0 | info | (-1),24 |
| BUF_SIZE | 0 | info | (-1),24 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 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 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | &vop->reg_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_fourcc.c drm_format_info_min_pitch() -> drm_format_info_block_width()
| 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 |
| BUF_SIZE | 0 | info | (-1),24 |
| BUF_SIZE | 0 | info | (-1),24 |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 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 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | &vop->reg_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/i915/display/intel_fb.c intel_fb_plane_get_subsampling() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | plane | 1 |
| DATA_SOURCE | 1 | plane | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | plane | unit_array_size |
drivers/gpu/drm/i915/display/intel_fb.c intel_fb_plane_get_subsampling() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| DATA_SOURCE | 1 | plane | r skl_ccs_to_main_plane |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_check_var() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_fill_var() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| HALF_LOCKED2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/gud/gud_pipe.c gud_xrgb8888_to_color() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| CAPPED_DATA | 0 | info | 1 |
| CAPPED_DATA | 0 | info->num_planes | 1 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/gud/gud_pipe.c gud_xrgb8888_to_r124() -> drm_format_info_block_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | plane | 0 |
| CAPPED_DATA | 0 | info | 1 |
| CAPPED_DATA | 0 | info->num_planes | 1 |
| DATA_SOURCE | 0 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |