Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nouveau_display.c nouveau_framebuffer_new() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 1-255
PARAM_VALUE 1 height s32min-(-1),1-s32max
PARAM_VALUE 2 plane 0-254
CAPPED_DATA 0 info->num_planes 1
CAPPED_DATA 1 height 1
CAPPED_DATA 2 plane 1
DATA_SOURCE 0 info $1
PARAM_COMPARE 2 plane < $0->num_planes
NOSPEC 1 height
NOSPEC 1 height
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 height 2-s32max[c]
UNITS 1 height unit_byte
UNITS 2 plane unit_array_size
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_init_with_funcs() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 1-255
PARAM_VALUE 1 height s32min-(-1),1-s32max
PARAM_VALUE 2 plane 0-254
CAPPED_DATA 0 info->num_planes 1
CAPPED_DATA 1 height 1
CAPPED_DATA 2 plane 1
DATA_SOURCE 0 info $3
PARAM_COMPARE 2 plane < $0->num_planes
NOSPEC 1 height
NOSPEC 1 height
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 height 2-s32max[c]
UNITS 1 height unit_byte
UNITS 2 plane unit_array_size
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/drm_framebuffer.c drm_framebuffer_print_info() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 1-255
PARAM_VALUE 2 plane 0-254
CAPPED_DATA 2 plane 1
PARAM_COMPARE 0 info->num_planes > $2
PARAM_COMPARE 2 plane < $0->num_planes
RX_PATH
TASK_NOT_RUNNING
UNITS 1 height unit_byte
UNITS 2 plane unit_array_size
HALF_LOCKED2 &dev->mode_config.fb_lock
HALF_LOCKED2 &m->lock

drivers/gpu/drm/drm_framebuffer.c framebuffer_check() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 1-255
PARAM_VALUE 1 height s32min-(-1),1-s32max
PARAM_VALUE 2 plane 0-254
CAPPED_DATA 1 height 1
CAPPED_DATA 2 plane 1
DATA_SOURCE 0 info $1
PARAM_COMPARE 2 plane < $0->num_planes
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 height 2-s32max[c]
UNITS 1 height unit_byte
UNITS 2 plane unit_array_size
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/xlnx/zynqmp_disp.c zynqmp_disp_layer_update() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->num_planes 1-255
PARAM_VALUE 2 plane 0-254
CAPPED_DATA 2 plane 1
PARAM_COMPARE 2 plane < $0->num_planes
RX_PATH
TASK_NOT_RUNNING
UNITS 1 height unit_byte
UNITS 2 plane unit_array_size
HALF_LOCKED2 irq

drivers/gpu/drm/meson/meson_overlay.c meson_overlay_atomic_update() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 plane 2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 height unit_byte
LOCK2 &priv->drm->event_lock
LOCK2 flags
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct drm_device)->event_lock

drivers/gpu/drm/meson/meson_overlay.c meson_overlay_atomic_update() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 plane 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 height unit_byte
LOCK2 &priv->drm->event_lock
LOCK2 flags
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct drm_device)->event_lock

drivers/gpu/drm/meson/meson_overlay.c meson_overlay_atomic_update() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 plane 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 height unit_byte
LOCK2 &priv->drm->event_lock
LOCK2 flags
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct drm_device)->event_lock

drivers/gpu/drm/i915/display/intel_fb.c intel_fb_offset_to_xy() -> drm_format_info_plane_height()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 plane 0-254
CAPPED_DATA 2 plane 1
DATA_SOURCE 2 plane $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 height unit_byte
UNITS 2 plane unit_array_size