Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 width s32min-(-65536),0,65536-s32max
PARAM_VALUE 2 height s32min-(-65536),0,65536-s32max
BUF_SIZE 0 r 16
BIT_INFO 1 width 0x0,0xffff0000
BIT_INFO 2 height 0x0,0xffff0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 rotation unit_array_size

drivers/gpu/drm/i915/display/skl_universal_plane.c make_damage_viewport_relative() -> drm_rect_rotate()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 3 rotation 8
BUF_SIZE 0 r 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 width unit_byte
UNITS 2 height unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 width s32min-(-65536),0,65536-s32max
PARAM_VALUE 2 height s32min-(-65536),0,65536-s32max
BUF_SIZE 0 r 16
BIT_INFO 1 width 0x0,0xffff0000
BIT_INFO 2 height 0x0,0xffff0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 rotation unit_array_size

drivers/gpu/drm/tests/drm_rect_test.c drm_test_rect_rotate() -> drm_rect_rotate()

Type Parameter Key Value
PARAM_VALUE 0 r 6655633878149488640
NOCHECK_CALL

drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c dpu_plane_split() -> drm_rect_rotate()

Type Parameter Key Value
PARAM_VALUE 0 r->x1 0-s16max
PARAM_VALUE 0 r->x2 s16min-65534
PARAM_VALUE 0 r->y1 0-s16max
PARAM_VALUE 0 r->y2 s16min-65534
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 width unit_byte
UNITS 2 height unit_byte
UNITS 3 rotation unit_array_size
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex.mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/i915/display/intel_fb.c calc_plane_remap_info() -> drm_rect_rotate()

Type Parameter Key Value
PARAM_VALUE 0 r 5620314744855711744
PARAM_VALUE 1 width 0-268431360
PARAM_VALUE 2 height 0-268431360
PARAM_VALUE 3 rotation 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/display/intel_fb.c intel_plane_compute_gtt() -> drm_rect_rotate()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 width s32min-(-65536),0,65536-s32max
PARAM_VALUE 2 height s32min-(-65536),0,65536-s32max
PARAM_VALUE 3 rotation 8
BIT_INFO 1 width 0x0,0xffff0000
BIT_INFO 2 height 0x0,0xffff0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/display/intel_fb.c intel_plane_remap_gtt() -> drm_rect_rotate()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 width s32min-(-65536),0,65536-2147418112
PARAM_VALUE 2 height s32min-(-65536),0,65536-2147418112
PARAM_VALUE 3 rotation 8
BIT_INFO 1 width 0x0,0x7fff0000
BIT_INFO 2 height 0x0,0x7fff0000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL