Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_overlay.c check_overlay_dst() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 2309722096246296576
PARAM_VALUE 0 r1->x1 0-u16max
PARAM_VALUE 0 r1->x2 0-131070
PARAM_VALUE 0 r1->y1 0-u16max
PARAM_VALUE 0 r1->y2 0-131070
PARAM_VALUE 1 r2 4096-ptr_max
USER_DATA 0 r1->x1 0-u16max[u]
USER_DATA 0 r1->x2 0-131070[c]
USER_DATA 0 r1->y1 0-u16max[u]
USER_DATA 0 r1->y2 0-131070[c]
LOCK2 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->mutex

drivers/gpu/drm/i915/display/skl_universal_plane.c clip_damage() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 4096-ptr_max
PARAM_VALUE 1 r2 8846055194873536512
PARAM_VALUE 1 r2->x1 0-s16max
PARAM_VALUE 1 r2->x2 s16min-65534
PARAM_VALUE 1 r2->y1 0-s16max
PARAM_VALUE 1 r2->y2 s16min-65534
BUF_SIZE 0 r1 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/tiny/appletbdrm.c appletbdrm_flush_damage() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 6128189782700240896
PARAM_VALUE 1 r2 4262231199882145792
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 irq

drivers/gpu/drm/hyperv/hyperv_drm_modeset.c hv_drm_plane_atomic_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 3994345771286745088
PARAM_VALUE 1 r2 4643383511186292736
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/tegra/dc.c tegra_plane_overlap_mask() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 2650734879814627328
PARAM_VALUE 1 r2 124,4096-ptr_max
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/sysfb/drm_sysfb_modeset.c drm_sysfb_plane_helper_atomic_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 8811139460383625216
PARAM_VALUE 1 r2 7537922654601629696
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/solomon/ssd130x.c ssd130x_primary_plane_atomic_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 8644590282526765056
PARAM_VALUE 1 r2 1438431811323834368
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/solomon/ssd130x.c ssd132x_primary_plane_atomic_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 1387554347795451904
PARAM_VALUE 1 r2 2206719106986758144
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/solomon/ssd130x.c ssd133x_primary_plane_atomic_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 2591297430186786816
PARAM_VALUE 1 r2 2015722950718074880
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/tests/drm_rect_test.c drm_test_rect_intersect() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 812666389224062976
PARAM_VALUE 1 r2 4096-ptr_max

drivers/gpu/drm/drm_damage_helper.c drm_atomic_helper_damage_iter_next() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 4096-ptr_max
PARAM_VALUE 1 r2 4096-ptr_max
PARAM_VALUE 1 r2->x1 0-s16max
PARAM_VALUE 1 r2->x2 0-32768
PARAM_VALUE 1 r2->y1 0-s16max
PARAM_VALUE 1 r2->y2 0-32768
DATA_SOURCE 0 r1 $1
MEM_ZERO 1 r2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/sitronix/st7920.c st7920_primary_plane_atomic_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 6843379203435700224
PARAM_VALUE 1 r2 2716936971858395136
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/i915/display/intel_psr.c clip_area_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 4096-ptr_max
PARAM_VALUE 1 r2 540324625744404480
PARAM_VALUE 1 r2->x1 0
PARAM_VALUE 1 r2->x2 0-u16max
PARAM_VALUE 1 r2->y1 0
PARAM_VALUE 1 r2->y2 0-u16max
DATA_SOURCE 0 r1 $1
DATA_SOURCE 1 r2 $2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_psr.c intel_psr2_sel_fetch_et_alignment() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 1523312689275035648
PARAM_VALUE 1 r2 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_psr.c intel_psr2_sel_fetch_update() -> drm_rect_intersect()

Type Parameter Key Value
PARAM_VALUE 0 r1 4049965835889172480
PARAM_VALUE 0 r1->x1 0
PARAM_VALUE 0 r1->x2 0-u16max
PARAM_VALUE 1 r2 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING