Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/ast/ast_mode.c, line 548
- drivers/gpu/drm/drm_format_helper.c, line 136
- drivers/gpu/drm/gud/gud_pipe.c, line 411
- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c, line 128
- drivers/gpu/drm/hyperv/hyperv_drm_modeset.c, line 39
- drivers/gpu/drm/mgag200/mgag200_mode.c, line 442
- drivers/gpu/drm/sysfb/drm_sysfb_modeset.c
- drivers/gpu/drm/tests/drm_format_helper_test.c, line 1334
- drivers/gpu/drm/tiny/bochs.c, line 463
- drivers/gpu/drm/tiny/cirrus-qemu.c, line 355
Smatch caller information:
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c hibmc_plane_atomic_update() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 4096-ptr_max |
| PARAM_VALUE | 2 | clip | 1731848466230407168 |
| CAPPED_DATA | 1 | format->num_planes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/tests/drm_format_helper_test.c drm_test_fb_clip_offset() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pitch | 1-u32max |
| PARAM_VALUE | 1 | format | 0,4096-ptr_max |
| PARAM_VALUE | 2 | clip | 4096-ptr_max |
| DATA_SOURCE | 1 | format | r drm_format_info |
drivers/gpu/drm/mgag200/mgag200_mode.c mgag200_handle_damage() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 4096-ptr_max |
| PARAM_VALUE | 2 | clip | 6800555073853263872 |
| DATA_SOURCE | 2 | clip | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/tiny/cirrus-qemu.c cirrus_primary_plane_helper_atomic_update() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | clip | 5982640931035303936 |
| CAPPED_DATA | 1 | format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c hv_drm_blit_to_vram_rect() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | clip | 4643383511186292736 |
| DATA_SOURCE | 2 | clip | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/sysfb/drm_sysfb_modeset.c drm_sysfb_plane_helper_atomic_disable() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pitch | 1-u32max |
| PARAM_VALUE | 2 | clip | 5508492271207657472 |
| PARAM_VALUE | 2 | clip->x1 | 0-u16max |
| PARAM_VALUE | 2 | clip->y1 | 0-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/sysfb/drm_sysfb_modeset.c drm_sysfb_plane_helper_atomic_update() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | clip | 8811139460383625216 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/ast/ast_mode.c ast_handle_damage() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 4096-ptr_max |
| PARAM_VALUE | 2 | clip | 708321059626782720 |
| CAPPED_DATA | 1 | format->num_planes | 1 |
| DATA_SOURCE | 2 | clip | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/tiny/bochs.c bochs_primary_plane_helper_atomic_update() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | clip | 676368583969652736 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/gud/gud_pipe.c gud_fb_queue_damage() -> drm_fb_clip_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 4096-ptr_max |
| PARAM_VALUE | 2 | clip | 7684150057336700928 |
| DATA_SOURCE | 2 | clip | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gdrm->damage_lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gud_device)->damage_lock |