Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/display/skl_watermark.c skl_compute_plane_wm_params() -> skl_compute_wm_params()

Type Parameter Key Value
PARAM_VALUE 0 crtc_state 4096-ptr_max
PARAM_VALUE 0 crtc_state->uapi.crtc 4096-ptr_max
PARAM_VALUE 0 crtc_state->wm.skl.raw.planes 4096-ptr_max
PARAM_VALUE 1 width s16min-s16max
PARAM_VALUE 6 wp 305914996744880128,7714153903916683264
PARAM_VALUE 7 color_plane 0-1
DATA_SOURCE 0 crtc_state $0
DATA_SOURCE 6 wp $2
DATA_SOURCE 7 color_plane $3
HARD_MAX 7 color_plane 1
RX_PATH
TASK_NOT_RUNNING
UNITS 4 rotation unit_array_size
UNITS 8 pan_x unit_byte

drivers/gpu/drm/i915/display/skl_watermark.c skl_cursor_allocation() -> skl_compute_wm_params()

Type Parameter Key Value
PARAM_VALUE 0 crtc_state 4096-ptr_max
PARAM_VALUE 0 crtc_state->hw.active 1
PARAM_VALUE 0 crtc_state->uapi.crtc 4096-ptr_max
PARAM_VALUE 2 format 0,4096-ptr_max
PARAM_VALUE 3 modifier 0
PARAM_VALUE 4 rotation 1
PARAM_VALUE 6 wp 3675530579579109376
PARAM_VALUE 7 color_plane 0
PARAM_VALUE 8 pan_x 0
DATA_SOURCE 0 crtc_state $0
DATA_SOURCE 2 format r drm_get_format_info
MEM_ZERO 0 crtc_state->wm.skl.plane_ddb
MEM_ZERO 0 crtc_state->wm.skl.plane_ddb_y
MEM_ZERO 0 crtc_state->wm.skl.plane_interim_ddb
MEM_ZERO 0 crtc_state->wm.skl.plane_min_ddb
RX_PATH
TASK_NOT_RUNNING
UNITS 5 plane_pixel_rate unit_byte

drivers/gpu/drm/i915/display/skl_watermark.c skl_wm0_prefill_lines_worst() -> skl_compute_wm_params()

Type Parameter Key Value
PARAM_VALUE 0 crtc_state 4096-ptr_max
PARAM_VALUE 0 crtc_state->has_pch_encoder 0
PARAM_VALUE 0 crtc_state->hw.pipe_mode.type 64
PARAM_VALUE 0 crtc_state->pipe_src.x1 0
PARAM_VALUE 0 crtc_state->pipe_src.y1 0
PARAM_VALUE 0 crtc_state->uapi.crtc 4096-ptr_max
PARAM_VALUE 0 crtc_state->vrr.flipline 1
PARAM_VALUE 0 *crtc_state->hw.pipe_mode->name 0-255
PARAM_VALUE 2 format 0,4096-ptr_max
PARAM_VALUE 3 modifier 72057594037927938,72057594037927945
PARAM_VALUE 4 rotation 1
PARAM_VALUE 6 wp 8987050969956016128
PARAM_VALUE 7 color_plane 0
PARAM_VALUE 8 pan_x 1
DATA_SOURCE 0 crtc_state $0
DATA_SOURCE 2 format r drm_get_format_info
FUZZY_MAX 3 modifier 72057594037927945
BIT_INFO 3 modifier 0x100000000000000,0x10000000000000b
BIT_INFO 3 modifier 0x100000000000000,0x10000000000000b
HARD_MAX 3 modifier 72057594037927945
RX_PATH
TASK_NOT_RUNNING