| /linux/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_dcn351.h | 9 struct dmub_srv; 11 void dmub_srv_dcn351_regs_init(struct dmub_srv *dmub, struct dc_context *ctx);
|
| H A D | dmub_reg.h | 31 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 D | dmub_dcn30.h | 37 void dmub_dcn30_backdoor_load(struct dmub_srv *dmub, 41 void dmub_dcn30_setup_windows(struct dmub_srv *dmub,
|
| H A D | dmub_dcn314.h | 33 bool dmub_dcn314_is_psrsu_supported(struct dmub_srv *dmub);
|
| H A D | dmub_dcn314.c | 64 bool dmub_dcn314_is_psrsu_supported(struct dmub_srv *dmub) in dmub_dcn314_is_psrsu_supported()
|
| H A D | dmub_dcn351.c | 16 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 D | dmub_outbox.c | 39 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 D | dmub_outbox.h | 31 void dmub_enable_outbox_notification(struct dc_dmub_srv *dmub_srv);
|
| /linux/drivers/gpu/drm/amd/display/dmub/ |
| H A D | dmub_srv_stat.h | 38 enum dmub_status dmub_srv_stat_get_notification(struct dmub_srv *dmub,
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/ |
| H A D | dcn50_hwseq.c | 240 params.subvp_save_surf_addr.dc_dmub_srv = dc->ctx->dmub_srv; in dcn50_update_dchubp_dpp() 396 hwss_add_dmub_subvp_save_surf_addr(seq_state, dc->ctx->dmub_srv, in dcn50_update_dchubp_dpp_sequence() 747 if (dc->ctx->dmub_srv) { in dcn50_init_hw() 748 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn50_init_hw() 749 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn50_init_hw() 750 …dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver > 0; in dcn50_init_hw() 751 dc->caps.dmub_caps.fams_ver = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn50_init_hw()
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
| H A D | dcn31_panel_cntl.c | 44 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/dc/hwss/dcn60/ |
| H A D | dcn60_hwseq.c | 715 dc->ctx->dmub_srv, in dcn60_init_hw() 758 if (dc->ctx->dmub_srv) { in dcn60_init_hw() 759 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn60_init_hw() 760 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn60_init_hw() 761 …dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver > 0; in dcn60_init_hw() 762 dc->caps.dmub_caps.fams_ver = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn60_init_hw() 786 volatile struct dmub_cursor_offload_v1 *cs = dc->ctx->dmub_srv->dmub->cursor_offload_v1; in dcn60_update_cursor_offload_pipe() 1129 if (!dc->ctx->dmub_srv || !dc->current_state) in dcn60_notify_dmub_of_cab_status()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.h | 87 struct dmub_srv; 362 struct dmub_srv *dmub_srv; member
|
| H A D | amdgpu_dm.c | 35 #include "dmub/dmub_srv.h" 153 if (dc->ctx->dmub_srv && !dc->ctx->dmub_srv->idle_exit_counter) in amdgpu_dm_exit_ips_for_hw_access() 902 dc_dmub_srv_destroy(&adev->dm.dc->ctx->dmub_srv); in amdgpu_dm_fini() 1109 if (adev->dm.dmub_srv) { in dm_sw_fini() 1110 dmub_srv_destroy(adev->dm.dmub_srv); in dm_sw_fini() 1111 kfree(adev->dm.dmub_srv); in dm_sw_fini() 1112 adev->dm.dmub_srv = NULL; in dm_sw_fini() 1125 struct dmub_srv *dmub = NULL; in amdgpu_dm_boot_time_crc_init() 1131 !adev->dm.dc->ctx->dmub_srv) { in amdgpu_dm_boot_time_crc_init() [all...] |
| H A D | amdgpu_dm_debugfs.c | 921 if (adev->dm.dmub_srv) in dmub_tracebuffer_show() 922 fw_meta_info = &adev->dm.dmub_srv->meta_info; in dmub_tracebuffer_show() 1031 if (dc->ctx->dmub_srv && dc->ctx->dmub_srv->dmub) in replay_capability_show() 1033 (bool)dc->ctx->dmub_srv->dmub->feature_caps.replay_supported; in replay_capability_show() 2694 dc_dmub_srv = dc->ctx->dmub_srv; in ips_status_show() 3542 struct dmub_srv *srv = adev->dm.dc->ctx->dmub_srv->dmub; in dmub_trace_mask_set() 3586 struct dmub_srv *srv = adev->dm.dc->ctx->dmub_srv->dmub; in dmub_trace_mask_show()
|
| H A D | amdgpu_dm_backlight.c | 377 if (dm->dc->caps.ips_support && dm->dc->ctx->dmub_srv->idle_allowed) { in amdgpu_dm_backlight_get_level()
|
| H A D | amdgpu_dm_irq.c | 1304 if (dc->caps.ips_support && dc->ctx->dmub_srv->idle_allowed) { in amdgpu_dm_hdmi_hpd_debounce_work() 2609 if (dc->ctx->dmub_srv) { in amdgpu_dm_register_outbox_irq_handlers()
|
| H A D | amdgpu_dm_connector.c | 3746 if (adev->dm.dmub_srv) in parse_edid_displayid_vrr()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_irq_test.c | 187 static uint32_t dm_test_dmub_get_outbox0_wptr(struct dmub_srv *dmub) in dm_test_dmub_get_outbox0_wptr() 192 static uint32_t dm_test_dmub_get_outbox1_wptr(struct dmub_srv *dmub) in dm_test_dmub_get_outbox1_wptr() 2387 struct dc_dmub_srv *dmub_srv; in dm_test_hdmi_hpd_debounce_reallow_idle() local 2412 dmub_srv = kunit_kzalloc(test, sizeof(*dmub_srv), GFP_KERNEL); in dm_test_hdmi_hpd_debounce_reallow_idle() 2413 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, dmub_srv); in dm_test_hdmi_hpd_debounce_reallow_idle() 2428 dmub_srv->idle_allowed = true; in dm_test_hdmi_hpd_debounce_reallow_idle() 2429 dc->ctx->dmub_srv = dmub_srv; in dm_test_hdmi_hpd_debounce_reallow_idle() 3478 struct dmub_srv *dmub; in dm_test_dmub_outbox1_low_irq_empty() 3490 dc->ctx->dmub_srv = dc_dmub_srv; in dm_test_dmub_outbox1_low_irq_empty() 3512 struct dmub_srv *dmub; in dm_test_alloc_adev_outbox_notify() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 492 dc_stream_forward_dmub_crc_window(struct dc_dmub_srv *dmub_srv, in dc_stream_forward_dmub_crc_window() argument 512 dc_wake_and_execute_dmub_cmd(dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_NO_WAIT); in dc_stream_forward_dmub_crc_window() 530 struct dc_dmub_srv *dmub_srv; in dc_stream_forward_crc_window() local 550 dmub_srv = dc->ctx->dmub_srv; in dc_stream_forward_crc_window() 553 if (dmub_srv) in dc_stream_forward_crc_window() 554 dc_stream_forward_dmub_crc_window(dmub_srv, rect, &mux_mapping, is_stop); in dc_stream_forward_crc_window() 565 dc_stream_forward_dmub_multiple_crc_window(struct dc_dmub_srv *dmub_srv, in dc_stream_forward_dmub_multiple_crc_window() argument 589 dc_wake_and_execute_dmub_cmd(dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_NO_WAIT); in dc_stream_forward_dmub_multiple_crc_window() 596 struct dc_dmub_srv *dmub_srv; in dc_stream_forward_multiple_crc_window() local 615 dmub_srv = dc->ctx->dmub_srv; in dc_stream_forward_multiple_crc_window() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 837 dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv); in dcn30_init_hw() 838 dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr; in dcn30_init_hw() 839 dc->caps.dmub_caps.mclk_sw = dc->ctx->dmub_srv->dmub->feature_caps.fw_assisted_mclk_switch_ver; in dcn30_init_hw() 981 if (!dc->ctx->dmub_srv) in dcn30_apply_idle_power_optimizations()
|
| /linux/drivers/gpu/drm/amd/display/modules/power/ |
| H A D | power_abm.c | 879 } else if (dc->ctx->dmub_srv) { in mod_power_hw_init_backlight() 1661 if (dc->ctx->dmub_srv) { in mod_power_is_abm_supported() 1685 if (dc->ctx->dmub_srv) { in mod_power_abm_set_event() 1709 if (dc->ctx->dmub_srv) { in mod_power_abm_set_strength()
|