/linux/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_dcn401.c | 36 static void dmub_dcn401_get_fb_base_offset(struct dmub_srv *dmub, in dmub_dcn401_get_fb_base_offset() 63 void dmub_dcn401_reset(struct dmub_srv *dmub) in dmub_dcn401_reset() 117 void dmub_dcn401_reset_release(struct dmub_srv *dmub) in dmub_dcn401_reset_release() 125 void dmub_dcn401_backdoor_load(struct dmub_srv *dmub, in dmub_dcn401_backdoor_load() 158 void dmub_dcn401_backdoor_load_zfb_mode(struct dmub_srv *dmub, in dmub_dcn401_backdoor_load_zfb_mode() 188 void dmub_dcn401_setup_windows(struct dmub_srv *dmub, in dmub_dcn401_setup_windows() 251 void dmub_dcn401_setup_mailbox(struct dmub_srv *dmub, in dmub_dcn401_setup_mailbox() 258 uint32_t dmub_dcn401_get_inbox1_wptr(struct dmub_srv *dmub) in dmub_dcn401_get_inbox1_wptr() 263 uint32_t dmub_dcn401_get_inbox1_rptr(struct dmub_srv *dmub) in dmub_dcn401_get_inbox1_rptr() 268 void dmub_dcn401_set_inbox1_wptr(struct dmub_srv *dmub, uint32_t wptr_offset) in dmub_dcn401_set_inbox1_wptr() [all …]
|
H A D | dmub_dcn35.c | 40 void dmub_srv_dcn35_regs_init(struct dmub_srv *dmub, struct dc_context *ctx) { in dmub_srv_dcn35_regs_init() 59 static void dmub_dcn35_get_fb_base_offset(struct dmub_srv *dmub, in dmub_dcn35_get_fb_base_offset() 88 void dmub_dcn35_reset(struct dmub_srv *dmub) in dmub_dcn35_reset() 154 void dmub_dcn35_reset_release(struct dmub_srv *dmub) in dmub_dcn35_reset_release() 172 void dmub_dcn35_backdoor_load(struct dmub_srv *dmub, in dmub_dcn35_backdoor_load() 203 void dmub_dcn35_backdoor_load_zfb_mode(struct dmub_srv *dmub, in dmub_dcn35_backdoor_load_zfb_mode() 227 void dmub_dcn35_setup_windows(struct dmub_srv *dmub, in dmub_dcn35_setup_windows() 290 void dmub_dcn35_setup_mailbox(struct dmub_srv *dmub, in dmub_dcn35_setup_mailbox() 297 uint32_t dmub_dcn35_get_inbox1_wptr(struct dmub_srv *dmub) in dmub_dcn35_get_inbox1_wptr() 302 uint32_t dmub_dcn35_get_inbox1_rptr(struct dmub_srv *dmub) in dmub_dcn35_get_inbox1_rptr() [all …]
|
H A D | dmub_dcn32.c | 40 void dmub_srv_dcn32_regs_init(struct dmub_srv *dmub, struct dc_context *ctx) in dmub_srv_dcn32_regs_init() 62 static void dmub_dcn32_get_fb_base_offset(struct dmub_srv *dmub, in dmub_dcn32_get_fb_base_offset() 89 void dmub_dcn32_reset(struct dmub_srv *dmub) in dmub_dcn32_reset() 143 void dmub_dcn32_reset_release(struct dmub_srv *dmub) in dmub_dcn32_reset_release() 151 void dmub_dcn32_backdoor_load(struct dmub_srv *dmub, in dmub_dcn32_backdoor_load() 184 void dmub_dcn32_backdoor_load_zfb_mode(struct dmub_srv *dmub, in dmub_dcn32_backdoor_load_zfb_mode() 214 void dmub_dcn32_setup_windows(struct dmub_srv *dmub, in dmub_dcn32_setup_windows() 268 void dmub_dcn32_setup_mailbox(struct dmub_srv *dmub, in dmub_dcn32_setup_mailbox() 275 uint32_t dmub_dcn32_get_inbox1_wptr(struct dmub_srv *dmub) in dmub_dcn32_get_inbox1_wptr() 280 uint32_t dmub_dcn32_get_inbox1_rptr(struct dmub_srv *dmub) in dmub_dcn32_get_inbox1_rptr() [all …]
|
H A D | dmub_dcn31.c | 56 static void dmub_dcn31_get_fb_base_offset(struct dmub_srv *dmub, in dmub_dcn31_get_fb_base_offset() 83 void dmub_dcn31_reset(struct dmub_srv *dmub) in dmub_dcn31_reset() 144 void dmub_dcn31_reset_release(struct dmub_srv *dmub) in dmub_dcn31_reset_release() 152 void dmub_dcn31_backdoor_load(struct dmub_srv *dmub, in dmub_dcn31_backdoor_load() 185 void dmub_dcn31_setup_windows(struct dmub_srv *dmub, in dmub_dcn31_setup_windows() 239 void dmub_dcn31_setup_mailbox(struct dmub_srv *dmub, in dmub_dcn31_setup_mailbox() 246 uint32_t dmub_dcn31_get_inbox1_wptr(struct dmub_srv *dmub) in dmub_dcn31_get_inbox1_wptr() 251 uint32_t dmub_dcn31_get_inbox1_rptr(struct dmub_srv *dmub) in dmub_dcn31_get_inbox1_rptr() 256 void dmub_dcn31_set_inbox1_wptr(struct dmub_srv *dmub, uint32_t wptr_offset) in dmub_dcn31_set_inbox1_wptr() 261 void dmub_dcn31_setup_out_mailbox(struct dmub_srv *dmub, in dmub_dcn31_setup_out_mailbox() [all …]
|
H A D | dmub_dcn20.c | 60 static void dmub_dcn20_get_fb_base_offset(struct dmub_srv *dmub, in dmub_dcn20_get_fb_base_offset() 87 bool dmub_dcn20_use_cached_inbox(struct dmub_srv *dmub) in dmub_dcn20_use_cached_inbox() 94 void dmub_dcn20_reset(struct dmub_srv *dmub) in dmub_dcn20_reset() 146 void dmub_dcn20_reset_release(struct dmub_srv *dmub) in dmub_dcn20_reset_release() 154 void dmub_dcn20_backdoor_load(struct dmub_srv *dmub, in dmub_dcn20_backdoor_load() 189 void dmub_dcn20_setup_windows(struct dmub_srv *dmub, in dmub_dcn20_setup_windows() 274 void dmub_dcn20_setup_mailbox(struct dmub_srv *dmub, in dmub_dcn20_setup_mailbox() 286 uint32_t dmub_dcn20_get_inbox1_wptr(struct dmub_srv *dmub) in dmub_dcn20_get_inbox1_wptr() 291 uint32_t dmub_dcn20_get_inbox1_rptr(struct dmub_srv *dmub) in dmub_dcn20_get_inbox1_rptr() 296 void dmub_dcn20_set_inbox1_wptr(struct dmub_srv *dmub, uint32_t wptr_offset) in dmub_dcn20_set_inbox1_wptr() [all …]
|
H A D | dmub_dcn30.c | 60 static void dmub_dcn30_get_fb_base_offset(struct dmub_srv *dmub, in dmub_dcn30_get_fb_base_offset() 87 void dmub_dcn30_backdoor_load(struct dmub_srv *dmub, in dmub_dcn30_backdoor_load() 122 void dmub_dcn30_setup_windows(struct dmub_srv *dmub, in dmub_dcn30_setup_windows()
|
H A D | dmub_srv_stat.c | 46 enum dmub_status dmub_srv_stat_get_notification(struct dmub_srv *dmub, in dmub_srv_stat_get_notification()
|
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()
|
H A D | dmub_dcn314.c | 64 bool dmub_dcn314_is_psrsu_supported(struct dmub_srv *dmub) in dmub_dcn314_is_psrsu_supported()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_psr.c | 108 static void dmub_psr_get_state(struct dmub_psr *dmub, enum dc_psr_state *state, uint8_t panel_inst) in dmub_psr_get_state() 140 static bool dmub_psr_set_version(struct dmub_psr *dmub, struct dc_stream_state *stream, uint8_t pan… in dmub_psr_set_version() 179 static void dmub_psr_enable(struct dmub_psr *dmub, bool enable, bool wait, uint8_t panel_inst) in dmub_psr_enable() 230 static void dmub_psr_set_level(struct dmub_psr *dmub, uint16_t psr_level, uint8_t panel_inst) in dmub_psr_set_level() 254 static void dmub_psr_set_sink_vtotal_in_psr_active(struct dmub_psr *dmub, in dmub_psr_set_sink_vtotal_in_psr_active() 273 static void dmub_psr_set_power_opt(struct dmub_psr *dmub, unsigned int power_opt, uint8_t panel_ins… in dmub_psr_set_power_opt() 292 static bool dmub_psr_copy_settings(struct dmub_psr *dmub, in dmub_psr_copy_settings() 432 static void dmub_psr_force_static(struct dmub_psr *dmub, uint8_t panel_inst) in dmub_psr_force_static() 451 static void dmub_psr_get_residency(struct dmub_psr *dmub, uint32_t *residency, in dmub_psr_get_residency() 503 void dmub_psr_destroy(struct dmub_psr **dmub) in dmub_psr_destroy()
|
H A D | dmub_replay.c | 23 static void dmub_replay_get_state(struct dmub_replay *dmub, enum replay_state *state, uint8_t panel… in dmub_replay_get_state() 46 static void dmub_replay_enable(struct dmub_replay *dmub, bool enable, bool wait, uint8_t panel_inst) in dmub_replay_enable() 96 static void dmub_replay_set_power_opt(struct dmub_replay *dmub, unsigned int power_opt, uint8_t pan… in dmub_replay_set_power_opt() 114 static bool dmub_replay_copy_settings(struct dmub_replay *dmub, in dmub_replay_copy_settings() 200 static void dmub_replay_set_coasting_vtotal(struct dmub_replay *dmub, in dmub_replay_set_coasting_vtotal() 223 static void dmub_replay_residency(struct dmub_replay *dmub, uint8_t panel_inst, in dmub_replay_residency() 271 static void dmub_replay_set_power_opt_and_coasting_vtotal(struct dmub_replay *dmub, in dmub_replay_set_power_opt_and_coasting_vtotal() 295 static void dmub_replay_send_cmd(struct dmub_replay *dmub, in dmub_replay_send_cmd() 432 void dmub_replay_destroy(struct dmub_replay **dmub) in dmub_replay_destroy()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 44 struct dmub_srv *dmub) in dc_dmub_srv_construct() 50 struct dc_dmub_srv *dc_dmub_srv_create(struct dc *dc, struct dmub_srv *dmub) in dc_dmub_srv_create() 75 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_wait_idle() local 91 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_clear_inbox0_ack() local 104 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_wait_for_inbox0_ack() local 118 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_send_inbox0_cmd() local 134 struct dmub_srv *dmub; in dc_dmub_srv_cmd_list_queue_execute() local 187 struct dmub_srv *dmub; in dc_dmub_srv_wait_for_idle() local 228 struct dmub_srv *dmub; in dc_dmub_srv_cmd_run_list() local 299 struct dmub_srv *dmub; in dc_dmub_srv_optimized_init_done() local [all …]
|
H A D | dc_dmub_srv.h | 49 struct dmub_srv *dmub; member
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stat.c | 55 struct dmub_srv *dmub = dc->ctx->dmub_srv->dmub; in dc_stat_get_dmub_notification() local 85 struct dmub_srv *dmub = dc->ctx->dmub_srv->dmub; in dc_stat_get_dmub_dataout() local
|
/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 5681 void *dmub; /**< Pointer to the DMUB interface */ member
|