Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_plane_stride_mult() -> is_surface_linear()

Type Parameter Key Value
PARAM_VALUE 0 fb 4096-ptr_max
PARAM_VALUE 0 fb->format 0,4096-ptr_max
PARAM_VALUE 1 color_plane s32min-254
BUF_SIZE 0 fb (-1),192
BUF_SIZE 0 fb (-1),192
CAPPED_DATA 1 color_plane 1
DATA_SOURCE 0 fb $0
DATA_SOURCE 1 color_plane $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_fb.c calc_plane_normal_size() -> is_surface_linear()

Type Parameter Key Value
PARAM_VALUE 0 fb 4096-ptr_max
PARAM_VALUE 0 fb->format 4096-ptr_max
PARAM_VALUE 1 color_plane 0-254
CAPPED_DATA 1 color_plane 1
DATA_SOURCE 1 color_plane $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 color_plane unit_array_size

drivers/gpu/drm/i915/display/intel_fb.c intel_adjust_aligned_offset() -> is_surface_linear()

Type Parameter Key Value
PARAM_VALUE 0 fb 4096-ptr_max
PARAM_VALUE 0 fb->format 4096-ptr_max
PARAM_VALUE 0 fb->format->cpp 4096-ptr_max
CAPPED_DATA 1 color_plane 1
DATA_SOURCE 0 fb $2
DATA_SOURCE 1 color_plane $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 color_plane unit_array_size

drivers/gpu/drm/i915/display/intel_fb.c intel_compute_aligned_offset() -> is_surface_linear()

Type Parameter Key Value
PARAM_VALUE 0 fb 4096-ptr_max
PARAM_VALUE 0 fb->format 4096-ptr_max
PARAM_VALUE 0 fb->format->cpp 4096-ptr_max
PARAM_VALUE 1 color_plane 0-254
CAPPED_DATA 1 color_plane 1
DATA_SOURCE 0 fb $3
DATA_SOURCE 1 color_plane $4
RX_PATH
TASK_NOT_RUNNING
UNITS 1 color_plane unit_array_size

drivers/gpu/drm/i915/display/intel_fb.c intel_fb_stride_alignment() -> is_surface_linear()

Type Parameter Key Value
PARAM_VALUE 0 fb 4096-ptr_max
PARAM_VALUE 0 fb->dev 4096-ptr_max
PARAM_VALUE 0 fb->flags 0-2
PARAM_VALUE 0 fb->format 4096-ptr_max
PARAM_VALUE 0 fb->format->num_planes 1-255
PARAM_VALUE 0 *fb->offsets 0-4294967295
PARAM_VALUE 0 *fb->pitches 0-4294967295
PARAM_VALUE 1 color_plane 0-254
BUF_SIZE 0 fb 192
CAPPED_DATA 1 color_plane 1
DATA_SOURCE 0 fb $0
DATA_SOURCE 1 color_plane $1
NOSPEC 0 fb->height
NOSPEC 0 fb->width
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fb->flags 0-2[u]
USER_DATA 0 fb->height 1-s32max[c]
USER_DATA 0 fb->modifier 0-u64max
USER_DATA 0 fb->width 1-s32max[c]
UNITS 1 color_plane unit_array_size