Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power.c mod_power_notify_mode_change() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 1 link 1-u64max
PARAM_VALUE 2 inst_out 3771065680754995200
PARAM_VALUE 2 *inst_out 0
BUF_SIZE 1 link (-1),1576
BUF_SIZE 1 link (-1),1576
DATA_SOURCE 1 link r dc_stream_get_link

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_backlight_nits_to_percent() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 4818816428776202240
PARAM_VALUE 2 *inst_out 0

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_backlight_percent_to_nits() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 6249699031833210880
PARAM_VALUE 2 *inst_out 0

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_set_backlight_nits() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 8781852786930208768
PARAM_VALUE 2 *inst_out 0
CAPPED_DATA 1 link 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_set_backlight_percent() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 4033689394816806912
PARAM_VALUE 2 *inst_out 0
CAPPED_DATA 1 link 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_update_backlight() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 1179497746070024192
PARAM_VALUE 2 *inst_out 0

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_update_backlight_nits() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 5104676666457341952
PARAM_VALUE 2 *inst_out 0

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c build_dmub_update_dirty_rect() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 162823382939742208
PARAM_VALUE 2 *inst_out 0
DATA_SOURCE 0 dc $0

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_dmub_update_dirty_rect() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 2536106918610124800
PARAM_VALUE 2 *inst_out 0
DATA_SOURCE 0 dc $0

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_smart_power_oled_enable() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 6757804927779606528
PARAM_VALUE 2 *inst_out 0
DATA_SOURCE 1 link $0

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_smart_power_oled_get_max_cll() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 4426326803537076224
PARAM_VALUE 2 *inst_out 0
DATA_SOURCE 1 link $0

drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_build_cursor_update_payload0() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 2 inst_out 7210272349302665216
PARAM_VALUE 2 *inst_out 0

drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_get_visual_confirm_color_cmd() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 2 inst_out 5712484125316784128
PARAM_VALUE 2 *inst_out 0
DATA_SOURCE 0 dc $0

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c edp_get_psr_residency() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 5759957569491591168
DATA_SOURCE 1 link $0
HALF_LOCKED2 &adev->dm.dc_lock
HALF_LOCKED2 &attr->mutex

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c edp_get_psr_state() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 9073870273827766272
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->dm.dc_lock
HALF_LOCKED2 &attr->mutex

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c edp_set_psr_allow_active() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 9098964521074982912
CAPPED_DATA 1 link 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &aconnector->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c edp_setup_psr() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 128
PARAM_VALUE 2 inst_out 893411224426266624
DATA_SOURCE 1 link $0

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c dm_helpers_override_panel_settings() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 16,4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 32,128
PARAM_VALUE 2 inst_out 2470316537500471296
PARAM_VALUE 2 *inst_out 0
BUF_SIZE 0 dc 3059328
BUF_SIZE 0 dc 3059328
BUF_SIZE 1 link 1616
DATA_SOURCE 1 link $1
HARD_MAX 1 link->connector_signal 128

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_panel_replay.c dp_pr_get_panel_inst() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 inst_out 4096-ptr_max
CAPPED_DATA 1 link 1
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 link $1
DATA_SOURCE 2 inst_out $2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_psr.c amdgpu_dm_set_psr_caps() -> dc_get_edp_link_panel_inst()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 128
PARAM_VALUE 2 inst_out 5628180507750305792
PARAM_VALUE 2 *inst_out 0
DATA_SOURCE 1 link $0