/openbsd/sys/dev/pci/drm/amd/display/dc/core/ |
H A D | amdgpu_dc.c | 182 struct dc *dc, in create_links() 1204 struct dc *dc, in disable_vbios_mode_if_required() 1397 struct dc *dc, in enable_timing_multisync() 1421 struct dc *dc, in program_timing_sync() 1742 struct dc *dc, in dc_enable_stereo() 2595 struct dc *dc, in check_update_surfaces_for_stream() 2678 struct dc *dc, in dc_check_update_surfaces_for_stream() 3321 struct dc *dc, in build_dmub_update_dirty_rect() 4550 struct dc *dc, in dc_interrupt_to_irq_source() 4582 struct dc *dc, in dc_set_power_state() [all …]
|
H A D | dc_stream.c | 246 struct dc *dc = stream->ctx->dc; in dc_stream_get_status() local 251 struct dc *dc, in program_cursor_attributes() 299 struct dc *dc; in dc_optimize_timing_for_fsft() local 311 struct dc *dc = stream->ctx->dc; in is_subvp_high_refresh_candidate() local 341 struct dc *dc; in dc_stream_set_cursor_attributes() local 396 struct dc *dc, in program_cursor_position() 437 struct dc *dc; in dc_stream_set_cursor_position() local 470 bool dc_stream_add_writeback(struct dc *dc, in dc_stream_add_writeback() 578 struct dc *dc = stream->ctx->dc; in dc_stream_get_vblank_counter() local 599 struct dc *dc; in dc_stream_send_dp_sdp() local [all …]
|
H A D | dc_link_enc_cfg.c | 67 static struct link_enc_assignment get_assignment(struct dc *dc, int i) in get_assignment() 281 const struct dc *dc, in link_enc_cfg_init() 297 struct dc *dc, in link_enc_cfg_link_encs_assign() 459 struct dc *dc, in link_enc_cfg_is_transmitter_mappable() 473 struct dc *dc, in link_enc_cfg_get_stream_using_link_enc() 492 struct dc *dc, in link_enc_cfg_get_link_using_link_enc() 507 struct dc *dc, in link_enc_cfg_get_link_enc_used_by_link() 530 struct link_encoder *link_enc_cfg_get_next_avail_link_enc(struct dc *dc) in link_enc_cfg_get_next_avail_link_enc() 559 struct dc *dc, in link_enc_cfg_get_link_enc_used_by_stream() 590 struct dc *dc, in link_enc_cfg_get_link_enc_used_by_stream_current() [all …]
|
H A D | dc_debug.c | 58 struct dc *dc, in pre_surface_trace() 178 struct dc *dc, in update_surface_trace() 299 void post_surface_trace(struct dc *dc) in post_surface_trace() 308 struct dc *dc, in context_timing_trace() 345 struct dc *dc, in context_clock_trace()
|
H A D | dc_link_exports.c | 43 void dc_get_edp_links(const struct dc *dc, in dc_get_edp_links() 62 bool dc_get_edp_link_panel_inst(const struct dc *dc, in dc_get_edp_link_panel_inst() 125 void dc_get_cur_link_res_map(const struct dc *dc, uint32_t *map) in dc_get_cur_link_res_map() 130 void dc_restore_link_res_map(const struct dc *dc, uint32_t *map) in dc_restore_link_res_map() 143 struct dc *dc, in dc_is_oem_i2c_device_present() 156 struct dc *dc, in dc_submit_i2c() 171 struct dc *dc, in dc_submit_i2c_oem() 203 void dc_link_set_drive_settings(struct dc *dc, in dc_link_set_drive_settings() 213 void dc_link_set_preferred_link_settings(struct dc *dc, in dc_link_set_preferred_link_settings() 220 void dc_link_set_preferred_training_settings(struct dc *dc, in dc_link_set_preferred_training_settings() [all …]
|
/openbsd/sys/dev/pci/ |
H A D | tga.c | 649 struct tga_devconfig *dc = v; local 673 struct tga_devconfig *dc = v; local 899 tga_blank(dc) in tga_blank() argument 911 tga_unblank(dc) in tga_unblank() argument 1500 struct tga_devconfig *dc = v; local 1515 struct tga_devconfig *dc = v; local 1532 struct tga_devconfig *dc = v; local 1627 tga2_init(dc) in tga2_init() argument 1674 tga2_ics9110_wr(dc, dotclock) in tga2_ics9110_wr() argument 1748 tga_getmonitor(dc) in tga_getmonitor() argument [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 847 struct dc *dc, in false_optc_underflow_wa() 904 struct dc *dc) in dcn10_enable_stream_timing() 1004 struct dc *dc, in dcn10_reset_back_end_for_pipe() 1663 struct dc *dc, in dcn10_reset_hw_ctx_wrap() 1871 struct dc *dc, in dcn10_pipe_control_lock() 2197 struct dc *dc, in dcn10_enable_vblanks_synchronization() 2260 struct dc *dc, in dcn10_enable_timing_synchronization() 2340 struct dc *dc, in dcn10_enable_per_frame_crtc_position_reset() 2447 struct dc *dc, in dcn10_enable_plane() 2692 struct dc *dc, in dcn10_update_dchubp_dpp() [all …]
|
H A D | dcn10_hw_sequencer_debug.c | 72 static unsigned int dcn10_get_hubbub_state(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_hubbub_state() 189 static unsigned int dcn10_get_rq_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_rq_states() 231 static unsigned int dcn10_get_dlg_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_dlg_states() 288 static unsigned int dcn10_get_ttu_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_ttu_states() 328 static unsigned int dcn10_get_cm_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_cm_states() 383 static unsigned int dcn10_get_mpcc_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_mpcc_states() 414 static unsigned int dcn10_get_otg_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_otg_states() 468 static unsigned int dcn10_get_clock_states(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_clock_states() 489 static void dcn10_clear_otpc_underflow(struct dc *dc) in dcn10_clear_otpc_underflow() 505 static void dcn10_clear_hubp_underflow(struct dc *dc) in dcn10_clear_hubp_underflow() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 287 struct dc *dc, in dcn20_init_blank() 674 struct dc *dc) in dcn20_enable_stream_timing() 1045 struct dc *dc, in dcn20_blank_pixel_data() 1223 struct dc *dc, in dcn20_pipe_control_lock() 1495 struct dc *dc, in dcn20_update_dchubp_dpp() 1686 struct dc *dc, in dcn20_program_pipe() 1789 struct dc *dc, in dcn20_program_front_end_for_ctx() 1948 struct dc *dc, in dcn20_post_unlock_program_front_end() 2048 struct dc *dc, in dcn20_prepare_bandwidth() 2099 struct dc *dc, in dcn20_optimize_bandwidth() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 202 struct dc *dc, in dce110_enable_display_power_gating() 1078 struct dc *dc; in dce110_enable_audio_stream() local 1115 struct dc *dc; in dce110_disable_audio_stream() local 1415 struct dc *dc) in dce110_enable_stream_timing() 1479 struct dc *dc) in apply_single_controller_ctx_to_hw() 1666 struct dc *dc) in disable_vga_and_power_gate_all_controllers() 1708 struct dc *dc, in get_edp_links_with_sink() 2050 struct dc *dc, in enable_fbc() 2074 struct dc *dc, in dce110_reset_hw_ctx_wrap() 2146 struct dc *dc, in dce110_setup_audio_dto() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hwseq.c | 366 void dcn32_subvp_pipe_control_lock(struct dc *dc, in dcn32_subvp_pipe_control_lock() 520 bool dcn32_set_input_transfer_func(struct dc *dc, in dcn32_set_input_transfer_func() 562 bool dcn32_set_output_transfer_func(struct dc *dc, in dcn32_set_output_transfer_func() 764 void dcn32_init_hw(struct dc *dc) in dcn32_init_hw() 1269 struct dc *dc = pipe_ctx->stream->ctx->dc; in dcn32_is_dp_dig_pixel_rate_div_policy() local 1297 struct dc *dc = link->ctx->dc; in apply_symclk_on_tx_off_wa() local 1322 struct dc *dc = link->ctx->dc; in dcn32_disable_link_output() local 1350 void dcn32_update_phantom_vp_position(struct dc *dc, in dcn32_update_phantom_vp_position() 1437 void dcn32_update_dsc_pg(struct dc *dc, in dcn32_update_dsc_pg() 1498 struct dc *dc, in dcn32_init_blank() [all …]
|
H A D | dcn32_resource_helpers.c | 39 struct dc *dc, in dcn32_helper_mall_bytes_to_ways() 57 struct dc *dc, in dcn32_helper_calculate_mall_bytes_for_cursor() 108 struct dc *dc, in dcn32_helper_calculate_num_ways_for_subvp() 122 void dcn32_merge_pipes_for_subvp(struct dc *dc, in dcn32_merge_pipes_for_subvp() 168 bool dcn32_all_pipes_have_stream_and_plane(struct dc *dc, in dcn32_all_pipes_have_stream_and_plane() 185 bool dcn32_subvp_in_use(struct dc *dc, in dcn32_subvp_in_use() 211 bool dcn32_any_surfaces_rotated(struct dc *dc, struct dc_state *context) in dcn32_any_surfaces_rotated() 282 void dcn32_determine_det_override(struct dc *dc, in dcn32_determine_det_override() 351 void dcn32_set_det_allocations(struct dc *dc, struct dc_state *context, in dcn32_set_det_allocations() 407 void dcn32_save_mall_state(struct dc *dc, in dcn32_save_mall_state() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dce60/ |
H A D | dce60_hw_sequencer.c | 50 static bool dce60_should_enable_fbc(struct dc *dc, in dce60_should_enable_fbc() 115 struct dc *dc, in dce60_enable_fbc() 181 static void dce60_program_surface_visibility(const struct dc *dc, in dce60_program_surface_visibility() 232 static void dce60_program_scaler(const struct dc *dc, in dce60_program_scaler() 271 struct dc *dc, struct pipe_ctx *pipe_ctx) in dce60_program_front_end_for_pipe() 382 struct dc *dc, in dce60_apply_ctx_for_surface() 421 void dce60_hw_sequencer_construct(struct dc *dc) in dce60_hw_sequencer_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hwseq.c | 146 bool dcn30_set_input_transfer_func(struct dc *dc, in dcn30_set_input_transfer_func() 189 bool dcn30_set_output_transfer_func(struct dc *dc, in dcn30_set_output_transfer_func() 226 struct dc *dc, in dcn30_set_writeback() 249 struct dc *dc, in dcn30_update_writeback() 266 struct dc *dc, in dcn30_mmhubbub_warmup() 324 struct dc *dc, in dcn30_enable_writeback() 347 struct dc *dc, in dcn30_disable_writeback() 368 struct dc *dc, in dcn30_program_all_writeback_pipes_in_tree() 433 void dcn30_init_hw(struct dc *dc) in dcn30_init_hw() 924 void dcn30_hardware_release(struct dc *dc) in dcn30_hardware_release() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hwseq.c | 67 int dcn21_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_co… in dcn21_init_sys_ctx() 88 bool dcn21_s0i3_golden_init_wa(struct dc *dc) in dcn21_s0i3_golden_init_wa() 99 const struct dc *dc, in dcn21_exit_optimized_pwr_state() 109 const struct dc *dc, in dcn21_optimize_pwr_state() 144 struct dc_context *dc = abm->ctx; in dmub_abm_set_pipe() local 162 static void dmub_abm_set_backlight(struct dc_context *dc, uint32_t backlight_pwm_u16_16, in dmub_abm_set_backlight() 242 struct dc_context *dc = pipe_ctx->stream->ctx; in dcn21_set_backlight_level() local 281 bool dcn21_is_abm_supported(struct dc *dc, in dcn21_is_abm_supported()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 453 const struct dc *dc, in dcn_bw_calc_rq_dlg_ttu() 638 static bool dcn_bw_apply_registry_override(struct dc *dc) in dcn_bw_apply_registry_override() 749 struct dc *dc, in dcn_validate_bandwidth() 1316 const struct dc *dc, in dcn_find_normalized_clock_vdd_Level() 1406 const struct dc *dc, in dcn_find_dcfclk_suits_all() 1448 struct dc *dc, in dcn_bw_update_from_pplib_fclks() 1477 struct dc *dc, in dcn_bw_update_from_pplib_dcfclks() 1489 struct dc *dc, in dcn_get_soc_clks() 1500 struct dc *dc, in dcn_bw_notify_pplib_of_wm_ranges() 1561 void dcn_bw_sync_calcs_and_dml(struct dc *dc) in dcn_bw_sync_calcs_and_dml()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 987 void dcn20_populate_dml_writeback_from_context(struct dc *dc, in dcn20_populate_dml_writeback_from_context() 1043 static bool is_dtbclk_required(struct dc *dc, struct dc_state *context) in is_dtbclk_required() 1134 void dcn20_calculate_dlg_params(struct dc *dc, in dcn20_calculate_dlg_params() 1308 int dcn20_populate_dml_pipes_from_context(struct dc *dc, in dcn20_populate_dml_pipes_from_context() 1722 void dcn20_calculate_wm(struct dc *dc, struct dc_state *context, in dcn20_calculate_wm() 1839 void dcn20_update_bounding_box(struct dc *dc, in dcn20_update_bounding_box() 2072 bool dcn20_validate_bandwidth_fp(struct dc *dc, in dcn20_validate_bandwidth_fp() 2149 int dcn21_populate_dml_pipes_from_context(struct dc *dc, in dcn21_populate_dml_pipes_from_context() 2230 static void dcn21_calculate_wm(struct dc *dc, struct dc_state *context, in dcn21_calculate_wm() 2314 bool dcn21_validate_bandwidth_fp(struct dc *dc, in dcn21_validate_bandwidth_fp() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/link/protocols/ |
H A D | link_edp_panel_control.c | 497 struct dc *dc = link->ctx->dc; in get_pipe_from_link() local 516 struct dc *dc = link->ctx->dc; in edp_set_backlight_level() local 546 struct dc *dc = link->ctx->dc; in edp_set_psr_allow_active() local 594 struct dc *dc = link->ctx->dc; in edp_get_psr_state() local 651 struct dc *dc; in edp_setup_psr() local 844 struct dc *dc = link->ctx->dc; in edp_get_psr_residency() local 859 struct dc *dc = link->ctx->dc; in edp_set_sink_vtotal_in_psr_active() local 873 struct dc *dc = link->ctx->dc; in edp_set_replay_allow_active() local 924 struct dc *dc; in edp_setup_replay() local 999 struct dc *dc = link->ctx->dc; in edp_set_coasting_vtotal() local [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dce/ |
H A D | dmub_abm_lcd.c | 60 static void dmub_abm_enable_fractional_pwm(struct dc_context *dc) in dmub_abm_enable_fractional_pwm() 148 struct dc_context *dc = abm->ctx; in dmub_abm_set_level() local 169 struct dc_context *dc = abm->ctx; in dmub_abm_init_config() local 196 struct dc_context *dc = abm->ctx; in dmub_abm_set_pause() local 224 struct dc_context *dc, in dmub_abm_save_restore() 264 struct dc_context *dc = abm->ctx; in dmub_abm_set_pipe() local 288 struct dc_context *dc = abm->ctx; in dmub_abm_set_backlight_level() local
|
H A D | dmub_psr.c | 145 struct dc_context *dc = dmub->ctx; in dmub_psr_set_version() local 184 struct dc_context *dc = dmub->ctx; in dmub_psr_enable() local 236 struct dc_context *dc = dmub->ctx; in dmub_psr_set_level() local 260 struct dc_context *dc = dmub->ctx; in dmub_psr_set_sink_vtotal_in_psr_active() local 278 struct dc_context *dc = dmub->ctx; in dmub_psr_set_power_opt() local 300 struct dc_context *dc = dmub->ctx; in dmub_psr_copy_settings() local 429 struct dc_context *dc = dmub->ctx; in dmub_psr_force_static() local
|
/openbsd/sys/dev/pci/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 39 static void dc_dmub_srv_construct(struct dc_dmub_srv *dc_srv, struct dc *dc, in dc_dmub_srv_construct() 46 struct dc_dmub_srv *dc_dmub_srv_create(struct dc *dc, struct dmub_srv *dmub) in dc_dmub_srv_create() 251 void dc_dmub_trace_event_control(struct dc *dc, bool enable) in dc_dmub_trace_event_control() 272 void dc_dmub_srv_set_drr_manual_trigger_cmd(struct dc *dc, uint32_t tg_inst) in dc_dmub_srv_set_drr_manual_trigger_cmd() 405 void dc_dmub_srv_get_visual_confirm_color_cmd(struct dc *dc, struct pipe_ctx *pipe_ctx) in dc_dmub_srv_get_visual_confirm_color_cmd() 446 static void populate_subvp_cmd_drr_info(struct dc *dc, in populate_subvp_cmd_drr_info() 518 static void populate_subvp_cmd_vblank_pipe_info(struct dc *dc, in populate_subvp_cmd_vblank_pipe_info() 573 static void update_subvp_prefetch_end_to_mall_start(struct dc *dc, in update_subvp_prefetch_end_to_mall_start() 625 static void populate_subvp_cmd_pipe_info(struct dc *dc, in populate_subvp_cmd_pipe_info() 712 void dc_dmub_setup_subvp_dmub_command(struct dc *dc, in dc_dmub_setup_subvp_dmub_command() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hwseq.c | 68 static void enable_memory_low_power(struct dc *dc) in enable_memory_low_power() 108 void dcn31_init_hw(struct dc *dc) in dcn31_init_hw() 410 void dcn31_z10_save_init(struct dc *dc) in dcn31_z10_save_init() 421 void dcn31_z10_restore(const struct dc *dc) in dcn31_z10_restore() 478 int dcn31_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_co… in dcn31_init_sys_ctx() 503 struct dc *dc, in dcn31_reset_back_end_for_pipe() 566 struct dc *dc, in dcn31_reset_hw_ctx_wrap()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn31/ |
H A D | dcn31_fpu.c | 454 void dcn31_update_soc_for_wm_a(struct dc *dc, struct dc_state *context) in dcn31_update_soc_for_wm_a() 465 void dcn315_update_soc_for_wm_a(struct dc *dc, struct dc_state *context) in dcn315_update_soc_for_wm_a() 483 struct dc *dc, struct dc_state *context, in dcn31_calculate_wm_and_dlg_fp() 582 void dcn31_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) in dcn31_update_bw_bounding_box() 660 void dcn315_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) in dcn315_update_bw_bounding_box() 721 void dcn316_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) in dcn316_update_bw_bounding_box()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dce100/ |
H A D | dce100_hw_sequencer.c | 73 struct dc *dc, in dce100_enable_display_power_gating() 109 struct dc *dc, in dce100_prepare_bandwidth() 121 struct dc *dc, in dce100_optimize_bandwidth() 134 void dce100_hw_sequencer_construct(struct dc *dc) in dce100_hw_sequencer_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 262 int dcn32_find_dummy_latency_index_for_fw_based_mclk_switch(struct dc *dc, in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch() 320 void dcn32_helper_populate_phantom_dlg_params(struct dc *dc, in dcn32_helper_populate_phantom_dlg_params() 537 void dcn32_set_phantom_stream_timing(struct dc *dc, in dcn32_set_phantom_stream_timing() 670 static bool dcn32_assign_subvp_pipe(struct dc *dc, in dcn32_assign_subvp_pipe() 1039 static bool subvp_subvp_admissable(struct dc *dc, in subvp_subvp_admissable() 1091 static bool subvp_validate_static_schedulability(struct dc *dc, in subvp_validate_static_schedulability() 1147 static void dcn32_full_validate_bw_helper(struct dc *dc, in dcn32_full_validate_bw_helper() 1301 static bool is_dtbclk_required(struct dc *dc, struct dc_state *context) in is_dtbclk_required() 1511 struct dc *dc, in dcn32_find_split_pipe() 1553 const struct dc *dc, in dcn32_split_stream_for_mpc_or_odm() [all …]
|