Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c47 struct dmub_srv *dmub) in dc_dmub_srv_construct()
60 struct dc_dmub_srv *dc_dmub_srv_create(struct dc *dc, struct dmub_srv *dmub) in dc_dmub_srv_create()
75 void dc_dmub_srv_destroy(struct dc_dmub_srv **dmub_srv) in dc_dmub_srv_destroy() argument
77 if (*dmub_srv) { in dc_dmub_srv_destroy()
78 kfree(*dmub_srv); in dc_dmub_srv_destroy()
79 *dmub_srv = NULL; in dc_dmub_srv_destroy()
85 struct dmub_srv *dmub; in dc_dmub_srv_wait_for_pending()
109 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_clear_inbox0_ack()
122 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_wait_for_inbox0_ack()
136 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_send_inbox0_cmd()
[all …]
H A Ddc_types.h825 struct dc_dmub_srv *dmub_srv; member
/linux/drivers/gpu/drm/amd/display/dmub/src/
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_dcn351.h9 struct dmub_srv;
11 void dmub_srv_dcn351_regs_init(struct dmub_srv *dmub, struct dc_context *ctx);
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_reg.c72 void dmub_reg_update(struct dmub_srv *srv, uint32_t addr, int n, uint8_t shift1, in dmub_reg_update()
89 void dmub_reg_set(struct dmub_srv *srv, uint32_t addr, uint32_t reg_val, int n, in dmub_reg_set()
104 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift, in dmub_reg_get()
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/hwss/dcn32/
H A Ddcn32_hwseq.c268 if (!dc->ctx->dmub_srv) in dcn32_apply_idle_power_optimizations()
357 if (!dc->ctx || !dc->ctx->dmub_srv) in dcn32_commit_subvp_config()
424 dmub_hw_lock_mgr_inbox0_cmd(dc->ctx->dmub_srv, hw_lock_cmd); in dcn32_subvp_pipe_control_lock()
442 dmub_hw_lock_mgr_inbox0_cmd(dc->ctx->dmub_srv, hw_lock_cmd); in dcn32_subvp_pipe_control_lock_fast()
993 if (dc->ctx->dmub_srv) { in dcn32_init_hw()
994 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn32_init_hw()
995 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn32_init_hw()
996 dc->caps.dmub_caps.subvp_psr = dc->ctx->dmub_srv->dmub->feature_caps.subvp_psr_support; in dcn32_init_hw()
997 dc->caps.dmub_caps.gecc_enable = dc->ctx->dmub_srv->dmub->feature_caps.gecc_enable; in dcn32_init_hw()
998 dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn32_init_hw()
[all …]
/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.h95 struct dmub_srv;
362 struct dmub_srv *dmub_srv; member
H A Damdgpu_dm.c1247 struct dmub_srv *dmub_srv = adev->dm.dmub_srv; in dm_dmub_hw_init() local
1260 if (!dmub_srv) in dm_dmub_hw_init()
1276 if (dmub_srv->hw_funcs.init_reg_offsets) in dm_dmub_hw_init()
1277 dmub_srv->hw_funcs.init_reg_offsets(dmub_srv, ctx); in dm_dmub_hw_init()
1279 status = dmub_srv_has_hw_support(dmub_srv, &has_hw_support); in dm_dmub_hw_init()
1291 status = dmub_srv_hw_reset(dmub_srv); in dm_dmub_hw_init()
1378 status = dmub_srv_hw_init(dmub_srv, &hw_params); in dm_dmub_hw_init()
1385 status = dmub_srv_wait_for_auto_load(dmub_srv, 100000); in dm_dmub_hw_init()
1395 if (!adev->dm.dc->ctx->dmub_srv) in dm_dmub_hw_init()
1396 adev->dm.dc->ctx->dmub_srv = dc_dmub_srv_create(adev->dm.dc, dmub_srv); in dm_dmub_hw_init()
[all …]
H A Damdgpu_dm_debugfs.c924 if (adev->dm.dmub_srv) in dmub_tracebuffer_show()
925 fw_meta_info = &adev->dm.dmub_srv->meta_info; in dmub_tracebuffer_show()
1034 if (dc->ctx->dmub_srv && dc->ctx->dmub_srv->dmub) in replay_capability_show()
1036 (bool)dc->ctx->dmub_srv->dmub->feature_caps.replay_supported; in replay_capability_show()
2692 dc_dmub_srv = dc->ctx->dmub_srv; in ips_status_show()
3311 struct dmub_srv *srv = adev->dm.dc->ctx->dmub_srv->dmub; in dmub_trace_mask_set()
3355 struct dmub_srv *srv = adev->dm.dc->ctx->dmub_srv->dmub; in dmub_trace_mask_show()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c269 if (dc->ctx->dmub_srv) { in dcn35_init_hw()
313 if (dc->ctx->dmub_srv) { in dcn35_init_hw()
314 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn35_init_hw()
315 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn35_init_hw()
316 dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn35_init_hw()
317 …dc->caps.dmub_caps.aux_backlight_support = dc->ctx->dmub_srv->dmub->feature_caps.abm_aux_backlight… in dcn35_init_hw()
1622 volatile struct dmub_cursor_offload_v1 *cs = dc->ctx->dmub_srv->dmub->cursor_offload_v1; in dcn35_begin_cursor_offload_update()
1645 volatile struct dmub_cursor_offload_v1 *cs = dc->ctx->dmub_srv->dmub->cursor_offload_v1; in dcn35_commit_cursor_offload_update()
1663 …shared_stream = &dc->ctx->dmub_srv->dmub->shared_state[DMUB_SHARED_STATE_FEATURE__CURSOR_OFFLOAD_V… in dcn35_commit_cursor_offload_update()
1674 volatile struct dmub_cursor_offload_v1 *cs = dc->ctx->dmub_srv->dmub->cursor_offload_v1; in dcn35_update_cursor_offload_pipe()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c274 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn31_init_hw()
275 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn31_init_hw()
276 dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn31_init_hw()
436 if (!dc_dmub_srv_is_restore_required(dc->ctx->dmub_srv)) in dcn31_z10_restore()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c559 dc_stream_forward_dmub_crc_window(struct dc_dmub_srv *dmub_srv, in dc_stream_forward_dmub_crc_window() argument
579 dc_wake_and_execute_dmub_cmd(dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_NO_WAIT); in dc_stream_forward_dmub_crc_window()
597 struct dc_dmub_srv *dmub_srv; in dc_stream_forward_crc_window() local
617 dmub_srv = dc->ctx->dmub_srv; in dc_stream_forward_crc_window()
620 if (dmub_srv) in dc_stream_forward_crc_window()
621 dc_stream_forward_dmub_crc_window(dmub_srv, rect, &mux_mapping, is_stop); in dc_stream_forward_crc_window()
632 dc_stream_forward_dmub_multiple_crc_window(struct dc_dmub_srv *dmub_srv, in dc_stream_forward_dmub_multiple_crc_window() argument
656 dc_wake_and_execute_dmub_cmd(dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_NO_WAIT); in dc_stream_forward_dmub_multiple_crc_window()
663 struct dc_dmub_srv *dmub_srv; in dc_stream_forward_multiple_crc_window() local
682 dmub_srv = dc->ctx->dmub_srv; in dc_stream_forward_multiple_crc_window()
[all …]
H A Ddc_stream.c285 if (dc->ctx->dmub_srv) in program_cursor_attributes()
436 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/hwss/dcn401/
H A Ddcn401_hwseq.c358 if (dc->ctx->dmub_srv) { in dcn401_init_hw()
359 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn401_init_hw()
360 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn401_init_hw()
361 …dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver > 0; in dcn401_init_hw()
362 dc->caps.dmub_caps.fams_ver = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn401_init_hw()
1285 if (!dc->ctx->dmub_srv || !dc->current_state) in dcn401_apply_idle_power_optimizations()
1491 if (!dc->ctx || !dc->ctx->dmub_srv) in dcn401_dmub_hw_control_lock()
1501 dmub_hw_lock_mgr_inbox0_cmd(dc->ctx->dmub_srv, hw_lock_cmd); in dcn401_dmub_hw_control_lock()
1516 dmub_hw_lock_mgr_inbox0_cmd(dc->ctx->dmub_srv, hw_lock_cmd); in dcn401_dmub_hw_control_lock_fast()
1524 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/hwss/dcn30/
H A Ddcn30_hwseq.c828 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn30_init_hw()
829 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn30_init_hw()
830 dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn30_init_hw()
921 if (!dc->ctx->dmub_srv) in dcn30_apply_idle_power_optimizations()

12