Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/i915/gem/i915_gem_phys.c, line 47
- drivers/gpu/drm/i915/gem/i915_gem_shmem.c
- drivers/gpu/drm/i915/gem/i915_gem_tiling.c, line 310
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_shmem.c i915_gem_object_put_pages_shmem() -> i915_gem_object_needs_bit17_swizzle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| CAPPED_DATA | 0 | obj->base.dev->dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.filp->f_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.import_attach->dmabuf->size | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| HALF_LOCKED2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_get_pages() -> i915_gem_object_needs_bit17_swizzle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev | 4096-ptr_max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| BUF_SIZE | 0 | obj->shares_resv_from | (-1),1208 |
| BUF_SIZE | 0 | obj->userptr.pvec | (-1)-s32max |
| CAPPED_DATA | 0 | obj->base.dev->dev | 1 |
| CAPPED_DATA | 0 | obj->base.size | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| CONSTRAINT | 0 | obj->base.size | <=292 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | obj->base.dev->mode_config.connector_ida.xa.xa_flags | 67108869 |
| HOST_DATA | 0 | obj->base.dev->mode_config.max_height | 0-u32max |
| HOST_DATA | 0 | obj->base.dev->mode_config.max_width | 0-u32max |
| HOST_DATA | 0 | obj->base.dev->mode_config.object_idr.idr_rt.xa_flags | 0,4-u32max |
| HOST_DATA | 0 | obj->base.dev->mode_config.tile_idr.idr_rt.xa_flags | 67108868 |
| HOST_DATA | 0 | obj->base.dev->num_crtcs | 2[c] |
| HOST_DATA | 0 | obj->shares_resv_from->fault_attr.stacktrace_depth | 0-u64max |
| HOST_DATA | 0 | obj->shares_resv_from->total | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.import_attach->dmabuf->size | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| NO_OVERFLOW_SIMPLE | 0 | obj->mm.n_placements | |
| NO_OVERFLOW_SIMPLE | 0 | obj->shares_resv_from->total | |
| NO_OVERFLOW_SIMPLE | 0 | obj->stolen->size | |
| NO_OVERFLOW_SIMPLE | 0 | obj->stolen->start | |
| HALF_LOCKED2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_tiling.c i915_gem_object_set_tiling() -> i915_gem_object_needs_bit17_swizzle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| CAPPED_DATA | 0 | &obj->vma.list | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| USER_DATA | 0 | obj->tiling_and_stride | 1-8194[c] |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_phys.c i915_gem_object_get_pages_phys() -> i915_gem_object_needs_bit17_swizzle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| LOCK2 | 0 | obj->base.resv |