Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c verify_buffer() -> tiled_offset()

Type Parameter Key Value
PARAM_VALUE 1 v 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 stride 2048
DATA_SOURCE 4 x_pos r i915_prandom_u32_max_state
DATA_SOURCE 5 y_pos r i915_prandom_u32_max_state

drivers/gpu/drm/i915/gem/i915_gem_mman.c check_partial_mapping() -> tiled_offset()

Type Parameter Key Value
PARAM_VALUE 0 tile 8486022692682964992
PARAM_VALUE 0 tile->height 1,8,16,32
PARAM_VALUE 0 tile->size 0,11-12
PARAM_VALUE 0 tile->swizzle 0-5,8-u32max
PARAM_VALUE 0 tile->width 1,128,512
PARAM_VALUE 1 v 0,4096-17592186040320
DATA_SOURCE 0 tile $1
BIT_INFO 1 v 0x0,0xffffffff000
UNITS 1 v unit_byte

drivers/gpu/drm/i915/gem/i915_gem_mman.c check_partial_mappings() -> tiled_offset()

Type Parameter Key Value
PARAM_VALUE 0 tile 6733306711653683200
PARAM_VALUE 0 tile->height 1,8,16,32
PARAM_VALUE 0 tile->size 0,11-12
PARAM_VALUE 0 tile->stride 0-1048576
PARAM_VALUE 0 tile->swizzle 0-5,8-u32max
PARAM_VALUE 0 tile->tiling 0-2
PARAM_VALUE 0 tile->width 1,128,512
PARAM_VALUE 1 v 0,4096-18446744073709547520
CAPPED_DATA 1 v 1
DATA_SOURCE 0 tile $1
BIT_INFO 1 v 0x0,0xfffffffffffff000
UNITS 1 v unit_byte