Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 34 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c, line 148
- drivers/gpu/drm/arm/hdlcd_crtc.c, line 301
- drivers/gpu/drm/drm_atomic_state_helper.c, line 437
- drivers/gpu/drm/drm_simple_kms_helper.c, line 301
- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c, line 176
- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c, line 841
- drivers/gpu/drm/imx/dc/dc-plane.c, line 43
- drivers/gpu/drm/imx/dcss/dcss-plane.c, line 100
- drivers/gpu/drm/ingenic/ingenic-drm-drv.c, line 993
- drivers/gpu/drm/ingenic/ingenic-ipu.c, line 724
- drivers/gpu/drm/kmb/kmb_plane.c, line 565
- drivers/gpu/drm/logicvc/logicvc_layer.c, line 255
- drivers/gpu/drm/loongson/lsdc_plane.c, line 456
- drivers/gpu/drm/meson/meson_overlay.c, line 806
- drivers/gpu/drm/meson/meson_plane.c, line 470
- drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c, line 75
- drivers/gpu/drm/mxsfb/lcdif_kms.c, line 728
- drivers/gpu/drm/mxsfb/mxsfb_kms.c, line 647
- drivers/gpu/drm/qxl/qxl_display.c
- drivers/gpu/drm/rockchip/rockchip_drm_vop.c, line 1161
- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c, line 1501
- drivers/gpu/drm/sprd/sprd_dpu.c, line 582
- drivers/gpu/drm/sti/sti_cursor.c, line 360
- drivers/gpu/drm/sti/sti_gdp.c, line 915
- drivers/gpu/drm/sti/sti_hqvdp.c, line 1293
- drivers/gpu/drm/stm/ltdc.c, line 1558
- drivers/gpu/drm/sun4i/sun8i_ui_layer.c, line 213
- drivers/gpu/drm/sun4i/sun8i_vi_layer.c, line 293
- drivers/gpu/drm/tests/drm_kunit_helpers.c, line 144
- drivers/gpu/drm/tidss/tidss_plane.c, line 183
- drivers/gpu/drm/tilcdc/tilcdc_plane.c, line 18
- drivers/gpu/drm/vboxvideo/vbox_mode.c, line 502
- drivers/gpu/drm/verisilicon/vs_cursor_plane.c, line 233
- drivers/gpu/drm/xlnx/zynqmp_kms.c, line 145
Smatch caller information:
drivers/gpu/drm/drm_simple_kms_helper.c drm_simple_kms_plane_duplicate_state() -> drm_atomic_helper_plane_duplicate_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 0 | plane->dev->mode_config.funcs->atomic_state_alloc | 0,4313866966076465152,8746944527109378048 |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | plane->dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | plane | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | plane->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 0 | plane->state->hotspot_y | s32min-s32max[u] |
| NO_OVERFLOW_SIMPLE | 0 | plane->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->base.format_count | |
| NO_OVERFLOW_SIMPLE | 0 | plane->color_encoding_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | plane->color_range_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->format_count | |
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.connection_mutex | |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.mutex | |
| HALF_LOCKED2 | 0 | &plane->mutex | |
| HALF_LOCKED2 | 0 | &plane->mutex.mutex |
drivers/gpu/drm/drm_atomic.c drm_atomic_get_plane_state() -> (struct drm_plane_funcs)->atomic_duplicate_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 0 | plane->dev->mode_config.funcs->atomic_state_alloc | 0,4313866966076465152,8746944527109378048 |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | plane->dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | plane | $1 |
| CONTAINER | 0 | -48-312+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | plane->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 0 | plane->state->hotspot_y | s32min-s32max[u] |
| NO_OVERFLOW_SIMPLE | 0 | plane->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->base.format_count | |
| NO_OVERFLOW_SIMPLE | 0 | plane->base.rotation_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | plane->format_count | |
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.connection_mutex | |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.mutex | |
| HALF_LOCKED2 | 0 | &plane->mutex | |
| HALF_LOCKED2 | 0 | &plane->mutex.mutex |