Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_plane.c intel_plane_check_clipping() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 1,65536
PARAM_VALUE 3 max_vscale 65536,131071-131072,196607,1048576
BUF_SIZE 0 src 16
BUF_SIZE 1 dst 16
CAPPED_DATA 2 min_vscale 1
DATA_SOURCE 2 min_vscale $2
DATA_SOURCE 3 max_vscale $3
FUZZY_MAX 2 min_vscale 65536
FUZZY_MAX 3 max_vscale 1048576
PARAM_COMPARE 2 min_vscale <= $3
PARAM_COMPARE 3 max_vscale >= $2
BIT_INFO 2 min_vscale 0x0,0x10001
BIT_INFO 3 max_vscale 0x0,0x13ffff
HARD_MAX 2 min_vscale 65536
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_plane.c vscale_cdclk() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 0
PARAM_VALUE 3 max_vscale s32max
DATA_SOURCE 0 src $0
DATA_SOURCE 1 dst $1

drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_check_plane_state() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
BUF_SIZE 0 src 16
BUF_SIZE 1 dst 16
DATA_SOURCE 2 min_vscale $2
DATA_SOURCE 3 max_vscale $3
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/skl_scaler.c intel_atomic_setup_scaler() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 1
PARAM_VALUE 3 max_vscale 65536,131071,196607
BUF_SIZE 0 src 16
BUF_SIZE 1 dst 16
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/skl_scaler.c intel_atomic_setup_scaler() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 3632145131286769664
PARAM_VALUE 0 src->y1 0
PARAM_VALUE 0 src->y2 s32min-(-65536),0,65536-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 0
PARAM_VALUE 3 max_vscale 65536,196607
FUZZY_MAX 3 max_vscale 65536
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/skl_scaler.c skl_pfit_enable() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 975705152346820608
PARAM_VALUE 0 src->y1 0
PARAM_VALUE 0 src->y2 s32min-(-65536),0,65536-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 0
PARAM_VALUE 3 max_vscale s32max
BUF_SIZE 1 dst 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/display/skl_scaler.c skl_program_plane_scaler() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 0
PARAM_VALUE 3 max_vscale s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

drivers/gpu/drm/tests/drm_rect_test.c drm_test_rect_calc_vscale() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max

drivers/gpu/drm/i915/display/intel_pfit.c intel_pch_pfit_check_scaling() -> drm_rect_calc_vscale()

Type Parameter Key Value
PARAM_VALUE 0 src 653604256435437568
PARAM_VALUE 0 src->y1 0
PARAM_VALUE 0 src->y2 s32min-(-65536),0,65536-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_vscale 0
PARAM_VALUE 3 max_vscale 73728
BUF_SIZE 1 dst 16
RX_PATH
TASK_NOT_RUNNING