Home
last modified time | relevance | path

Searched refs:dmub_srv (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn351.h9 struct dmub_srv;
11 void dmub_srv_dcn351_regs_init(struct dmub_srv *dmub, struct dc_context *ctx);
H A Ddmub_reg.h31 struct dmub_srv;
114 void dmub_reg_set(struct dmub_srv *srv, uint32_t addr, uint32_t reg_val, int n,
117 void dmub_reg_update(struct dmub_srv *srv, uint32_t addr, int n, uint8_t shift1,
120 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift,
H A Ddmub_dcn30.h37 void dmub_dcn30_backdoor_load(struct dmub_srv *dmub,
41 void dmub_dcn30_setup_windows(struct dmub_srv *dmub,
H A Ddmub_dcn314.h33 bool dmub_dcn314_is_psrsu_supported(struct dmub_srv *dmub);
H A Ddmub_dcn314.c64 bool dmub_dcn314_is_psrsu_supported(struct dmub_srv *dmub) in dmub_dcn314_is_psrsu_supported()
H A Ddmub_dcn351.c16 void dmub_srv_dcn351_regs_init(struct dmub_srv *dmub, struct dc_context *ctx) in dmub_srv_dcn351_regs_init()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_outbox.c39 void dmub_enable_outbox_notification(struct dc_dmub_srv *dmub_srv) in dmub_enable_outbox_notification() argument
51 dc_wake_and_execute_dmub_cmd(dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dmub_enable_outbox_notification()
H A Ddmub_outbox.h31 void dmub_enable_outbox_notification(struct dc_dmub_srv *dmub_srv);
H A Ddmub_psr.c199 dc_wake_and_execute_dmub_cmd(dc->dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dmub_psr_enable()
/linux/drivers/gpu/drm/amd/display/dmub/
H A Ddmub_srv_stat.h38 enum dmub_status dmub_srv_stat_get_notification(struct dmub_srv *dmub,
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_panel_cntl.c44 struct dc_dmub_srv *dc_dmub_srv = panel_cntl->ctx->dmub_srv; in dcn31_query_backlight_info()
71 struct dc_dmub_srv *dc_dmub_srv = panel_cntl->ctx->dmub_srv; in dcn31_panel_cntl_hw_init()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h89 struct dmub_srv;
362 struct dmub_srv *dmub_srv; member
H A Damdgpu_dm.c1252 struct dmub_srv *dmub_srv = adev->dm.dmub_srv; in dm_dmub_hw_init() local
1265 if (!dmub_srv) in dm_dmub_hw_init()
1281 if (dmub_srv->hw_funcs.init_reg_offsets) in dm_dmub_hw_init()
1282 dmub_srv->hw_funcs.init_reg_offsets(dmub_srv, ctx); in dm_dmub_hw_init()
1284 status = dmub_srv_has_hw_support(dmub_srv, &has_hw_support); in dm_dmub_hw_init()
1296 status = dmub_srv_hw_reset(dmub_srv); in dm_dmub_hw_init()
1384 status = dmub_srv_hw_init(dmub_srv, &hw_params); in dm_dmub_hw_init()
1391 status = dmub_srv_wait_for_auto_load(dmub_srv, 100000); in dm_dmub_hw_init()
1401 if (!adev->dm.dc->ctx->dmub_srv) in dm_dmub_hw_init()
1402 adev->dm.dc->ctx->dmub_srv = dc_dmub_srv_create(adev->dm.dc, dmub_srv); in dm_dmub_hw_init()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c356 if (dc->ctx->dmub_srv) { in dcn401_init_hw()
357 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn401_init_hw()
358 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn401_init_hw()
359 …dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver > 0; in dcn401_init_hw()
360 dc->caps.dmub_caps.fams_ver = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn401_init_hw()
1197 if (!dc->ctx->dmub_srv || !dc->current_state) in dcn401_apply_idle_power_optimizations()
1404 if (!dc->ctx || !dc->ctx->dmub_srv) in dcn401_dmub_hw_control_lock()
1414 dmub_hw_lock_mgr_inbox0_cmd(dc->ctx->dmub_srv, hw_lock_cmd); in dcn401_dmub_hw_control_lock()
1429 dmub_hw_lock_mgr_inbox0_cmd(dc->ctx->dmub_srv, hw_lock_cmd); in dcn401_dmub_hw_control_lock_fast()
1437 if (!dc->ctx || !dc->ctx->dmub_srv || !dc->debug.fams2_config.bits.enable) in dcn401_fams2_update_config()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c295 if (dc->ctx->dmub_srv) in program_cursor_attributes()
446 if (dc->ctx->dmub_srv) in program_cursor_position()
H A Ddc_hw_sequencer.c645 if (!dc->ctx || !dc->ctx->dmub_srv || !pipe_ctx || !vba) in set_p_state_switch_method()
718 if (!dc->ctx || !dc->ctx->dmub_srv || !pipe_ctx || !context || !dc->debug.fams2_config.bits.enable) in get_fams2_visual_confirm_color()
813 block_sequence[*num_steps].params.subvp_save_surf_addr.dc_dmub_srv = dc->ctx->dmub_srv; in hwss_build_fast_sequence()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h827 struct dc_dmub_srv *dmub_srv; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c917 if (ctx->dc->ctx->dmub_srv && in dce110_edp_power_control()
1074 if (ctx->dc->ctx->dmub_srv && in dce110_edp_backlight_control()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_capability.c1510 if (!link->ctx->dmub_srv || in get_usbc_cable_id()