Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c create_stream_for_sink() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 1 mode 2702462699930763264
PARAM_VALUE 2 dm_state 4096-ptr_max
PARAM_VALUE 2 dm_state->base.colorspace 0,2,7,9-10,15
PARAM_VALUE 2 dm_state->base.content_type 0-4
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->audio_info.manufacture_id 0-u16max
PARAM_VALUE 3 stream->audio_info.product_id 0-u16max
PARAM_VALUE 3 stream->content_type 0-2,4,8
PARAM_VALUE 3 stream->ctx 4096-ptr_max
PARAM_VALUE 3 stream->dm_stream_context 4096-ptr_max
PARAM_VALUE 3 stream->out_transfer_func.tf 0
PARAM_VALUE 3 stream->out_transfer_func.type 0
PARAM_VALUE 3 stream->output_color_space 1,3,5-6,9-11,13,15
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->sink 4096-ptr_max
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream->sink (-1),2520
DATA_SOURCE 2 dm_state $2
DATA_SOURCE 3 stream r dc_create_stream_for_sink
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 mode->clock
UNITS 0 dev unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_fullscreen_default() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 4446525951873843200
PARAM_VALUE 1 mode->clock 0
PARAM_VALUE 1 mode->flags 0
PARAM_VALUE 1 mode->hdisplay 1920
PARAM_VALUE 1 mode->hskew 0
PARAM_VALUE 1 mode->htotal 0
PARAM_VALUE 1 mode->status 0
PARAM_VALUE 1 mode->type 0
PARAM_VALUE 1 mode->vdisplay 1080
PARAM_VALUE 1 mode->vscan 0
PARAM_VALUE 1 mode->vtotal 0
PARAM_VALUE 1 mode->width_mm 0
PARAM_VALUE 2 dm_state 0
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 2560
PARAM_VALUE 3 stream->timing.v_addressable 1440
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_null_mode() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 0
PARAM_VALUE 2 dm_state 0
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 1920
PARAM_VALUE 3 stream->timing.v_addressable 1080
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_rmx_aspect_letterbox() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 7254028417451962368
PARAM_VALUE 1 mode->clock 0
PARAM_VALUE 1 mode->flags 0
PARAM_VALUE 1 mode->hdisplay 1920
PARAM_VALUE 1 mode->hskew 0
PARAM_VALUE 1 mode->htotal 0
PARAM_VALUE 1 mode->status 0
PARAM_VALUE 1 mode->type 0
PARAM_VALUE 1 mode->vdisplay 1080
PARAM_VALUE 1 mode->vscan 0
PARAM_VALUE 1 mode->vtotal 0
PARAM_VALUE 1 mode->width_mm 0
PARAM_VALUE 2 dm_state 4096-ptr_max
PARAM_VALUE 2 dm_state->scaling 3
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 1024
PARAM_VALUE 3 stream->timing.v_addressable 768
BUF_SIZE 2 dm_state 464
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 2 dm_state r kunit_kzalloc
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
MEM_ZERO 2 dm_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_rmx_aspect_pillarbox() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 1356846579684687872
PARAM_VALUE 1 mode->clock 0
PARAM_VALUE 1 mode->flags 0
PARAM_VALUE 1 mode->hdisplay 1024
PARAM_VALUE 1 mode->hskew 0
PARAM_VALUE 1 mode->htotal 0
PARAM_VALUE 1 mode->status 0
PARAM_VALUE 1 mode->type 0
PARAM_VALUE 1 mode->vdisplay 768
PARAM_VALUE 1 mode->vscan 0
PARAM_VALUE 1 mode->vtotal 0
PARAM_VALUE 1 mode->width_mm 0
PARAM_VALUE 2 dm_state 4096-ptr_max
PARAM_VALUE 2 dm_state->scaling 3
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 1920
PARAM_VALUE 3 stream->timing.v_addressable 1080
BUF_SIZE 2 dm_state 464
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 2 dm_state r kunit_kzalloc
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
MEM_ZERO 2 dm_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_rmx_center() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 4177852513528070144
PARAM_VALUE 1 mode->clock 0
PARAM_VALUE 1 mode->flags 0
PARAM_VALUE 1 mode->hdisplay 1280
PARAM_VALUE 1 mode->hskew 0
PARAM_VALUE 1 mode->htotal 0
PARAM_VALUE 1 mode->status 0
PARAM_VALUE 1 mode->type 0
PARAM_VALUE 1 mode->vdisplay 720
PARAM_VALUE 1 mode->vscan 0
PARAM_VALUE 1 mode->vtotal 0
PARAM_VALUE 1 mode->width_mm 0
PARAM_VALUE 2 dm_state 4096-ptr_max
PARAM_VALUE 2 dm_state->scaling 2
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 1920
PARAM_VALUE 3 stream->timing.v_addressable 1080
BUF_SIZE 2 dm_state 464
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 2 dm_state r kunit_kzalloc
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
MEM_ZERO 2 dm_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_rmx_full() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 2564396586663878656
PARAM_VALUE 1 mode->clock 0
PARAM_VALUE 1 mode->flags 0
PARAM_VALUE 1 mode->hdisplay 1280
PARAM_VALUE 1 mode->hskew 0
PARAM_VALUE 1 mode->htotal 0
PARAM_VALUE 1 mode->status 0
PARAM_VALUE 1 mode->type 0
PARAM_VALUE 1 mode->vdisplay 720
PARAM_VALUE 1 mode->vscan 0
PARAM_VALUE 1 mode->vtotal 0
PARAM_VALUE 1 mode->width_mm 0
PARAM_VALUE 2 dm_state 4096-ptr_max
PARAM_VALUE 2 dm_state->scaling 1
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 1920
PARAM_VALUE 3 stream->timing.v_addressable 1080
BUF_SIZE 2 dm_state 464
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 2 dm_state r kunit_kzalloc
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
MEM_ZERO 2 dm_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_scaling_underscan() -> amdgpu_dm_update_stream_scaling_settings()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mode 8511741652710916096
PARAM_VALUE 1 mode->clock 0
PARAM_VALUE 1 mode->flags 0
PARAM_VALUE 1 mode->hdisplay 1920
PARAM_VALUE 1 mode->hskew 0
PARAM_VALUE 1 mode->htotal 0
PARAM_VALUE 1 mode->status 0
PARAM_VALUE 1 mode->type 0
PARAM_VALUE 1 mode->vdisplay 1080
PARAM_VALUE 1 mode->vscan 0
PARAM_VALUE 1 mode->vtotal 0
PARAM_VALUE 1 mode->width_mm 0
PARAM_VALUE 2 dm_state 4096-ptr_max
PARAM_VALUE 2 dm_state->scaling 1
PARAM_VALUE 2 dm_state->underscan_enable 1
PARAM_VALUE 2 dm_state->underscan_hborder 64
PARAM_VALUE 2 dm_state->underscan_vborder 32
PARAM_VALUE 3 stream 4096-ptr_max
PARAM_VALUE 3 stream->link 0
PARAM_VALUE 3 stream->refcount.refcount.refs.counter 1
PARAM_VALUE 3 stream->timing.h_addressable 1920
PARAM_VALUE 3 stream->timing.v_addressable 1080
BUF_SIZE 2 dm_state 464
BUF_SIZE 3 stream 26528
BUF_SIZE 3 stream 26528
DATA_SOURCE 2 dm_state r kunit_kzalloc
DATA_SOURCE 3 stream r dm_kunit_alloc_stream
MEM_ZERO 2 dm_state
NOCHECK_CALL