Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.h32 struct dc;
34 void dcn10_hw_sequencer_construct(struct dc *dc);
38 struct dc *dc,
42 void dcn10_setup_vupdate_interrupt(struct dc *dc, struct pipe_ctx *pipe_ctx);
46 struct dc *dc);
48 struct dc *dc,
51 struct dc *dc,
54 struct dc *dc,
57 void dcn10_cursor_lock(struct dc *dc, struct pipe_ctx *pipe, bool lock);
59 struct dc *dc,
[all …]
H A Ddcn10_hw_sequencer.c84 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in print_microsec()
93 void dcn10_lock_all_pipes(struct dc *dc, in dcn10_lock_all_pipes() argument
102 for (i = 0; i < dc->res_pool->pipe_count; i++) { in dcn10_lock_all_pipes()
103 old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_lock_all_pipes()
119 dc->hwss.pipe_control_lock(dc, pipe_ctx, true); in dcn10_lock_all_pipes()
121 dc->hwss.pipe_control_lock(dc, pipe_ctx, false); in dcn10_lock_all_pipes()
125 static void log_mpc_crc(struct dc *d argument
139 dcn10_log_hubbub_state(struct dc * dc,struct dc_log_buffer_ctx * log_ctx) dcn10_log_hubbub_state() argument
168 dcn10_log_hubp_states(struct dc * dc,void * log_ctx) dcn10_log_hubp_states() argument
282 dcn10_log_hw_state(struct dc * dc,struct dc_log_buffer_ctx * log_ctx) dcn10_log_hw_state() argument
536 dcn10_did_underflow_occur(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_did_underflow_occur() argument
756 undo_DEGVIDCN10_253_wa(struct dc * dc) undo_DEGVIDCN10_253_wa() argument
776 apply_DEGVIDCN10_253_wa(struct dc * dc) apply_DEGVIDCN10_253_wa() argument
806 dcn10_bios_golden_init(struct dc * dc) dcn10_bios_golden_init() argument
847 false_optc_underflow_wa(struct dc * dc,const struct dc_stream_state * stream,struct timing_generator * tg) false_optc_underflow_wa() argument
904 dcn10_enable_stream_timing(struct pipe_ctx * pipe_ctx,struct dc_state * context,struct dc * dc) dcn10_enable_stream_timing() argument
1004 dcn10_reset_back_end_for_pipe(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn10_reset_back_end_for_pipe() argument
1073 dcn10_hw_wa_force_recovery(struct dc * dc) dcn10_hw_wa_force_recovery() argument
1156 dcn10_verify_allow_pstate_change_high(struct dc * dc) dcn10_verify_allow_pstate_change_high() argument
1181 dcn10_plane_atomic_disconnect(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_plane_atomic_disconnect() argument
1226 dcn10_plane_atomic_power_down(struct dc * dc,struct dpp * dpp,struct hubp * hubp) dcn10_plane_atomic_power_down() argument
1258 dcn10_plane_atomic_disable(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_plane_atomic_disable() argument
1291 dcn10_disable_plane(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_disable_plane() argument
1307 dcn10_init_pipes(struct dc * dc,struct dc_state * context) dcn10_init_pipes() argument
1478 dcn10_init_hw(struct dc * dc) dcn10_init_hw() argument
1620 dcn10_power_down_on_boot(struct dc * dc) dcn10_power_down_on_boot() argument
1663 dcn10_reset_hw_ctx_wrap(struct dc * dc,struct dc_state * context) dcn10_reset_hw_ctx_wrap() argument
1722 dcn10_update_plane_addr(const struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_update_plane_addr() argument
1747 dcn10_set_input_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_plane_state * plane_state) dcn10_set_input_transfer_func() argument
1830 dcn10_set_output_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_stream_state * stream) dcn10_set_output_transfer_func() argument
1871 dcn10_pipe_control_lock(struct dc * dc,struct pipe_ctx * pipe,bool lock) dcn10_pipe_control_lock() argument
1913 delay_cursor_until_vupdate(struct dc * dc,struct pipe_ctx * pipe_ctx) delay_cursor_until_vupdate() argument
1965 dcn10_cursor_lock(struct dc * dc,struct pipe_ctx * pipe,bool lock) dcn10_cursor_lock() argument
2108 dcn10_align_pixel_clocks(struct dc * dc,int group_size,struct pipe_ctx * grouped_pipes[]) dcn10_align_pixel_clocks() argument
2197 dcn10_enable_vblanks_synchronization(struct dc * dc,int group_index,int group_size,struct pipe_ctx * grouped_pipes[]) dcn10_enable_vblanks_synchronization() argument
2260 dcn10_enable_timing_synchronization(struct dc * dc,int group_index,int group_size,struct pipe_ctx * grouped_pipes[]) dcn10_enable_timing_synchronization() argument
2340 dcn10_enable_per_frame_crtc_position_reset(struct dc * dc,int group_size,struct pipe_ctx * grouped_pipes[]) dcn10_enable_per_frame_crtc_position_reset() argument
2447 dcn10_enable_plane(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn10_enable_plane() argument
2539 dcn10_program_output_csc(struct dc * dc,struct pipe_ctx * pipe_ctx,enum dc_color_space colorspace,uint16_t * matrix,int opp_id) dcn10_program_output_csc() argument
2589 dcn10_update_visual_confirm_color(struct dc * dc,struct pipe_ctx * pipe_ctx,int mpcc_id) dcn10_update_visual_confirm_color() argument
2601 dcn10_update_mpcc(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_update_mpcc() argument
2692 dcn10_update_dchubp_dpp(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn10_update_dchubp_dpp() argument
2854 dcn10_blank_pixel_data(struct dc * dc,struct pipe_ctx * pipe_ctx,bool blank) dcn10_blank_pixel_data() argument
2916 dcn10_program_pipe(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn10_program_pipe() argument
2963 dcn10_wait_for_pending_cleared(struct dc * dc,struct dc_state * context) dcn10_wait_for_pending_cleared() argument
2996 dcn10_post_unlock_program_front_end(struct dc * dc,struct dc_state * context) dcn10_post_unlock_program_front_end() argument
3030 dcn10_stereo_hw_frame_pack_wa(struct dc * dc,struct dc_state * context) dcn10_stereo_hw_frame_pack_wa() argument
3047 dcn10_prepare_bandwidth(struct dc * dc,struct dc_state * context) dcn10_prepare_bandwidth() argument
3085 dcn10_optimize_bandwidth(struct dc * dc,struct dc_state * context) dcn10_optimize_bandwidth() argument
3228 dcn10_setup_stereo(struct pipe_ctx * pipe_ctx,struct dc * dc) dcn10_setup_stereo() argument
3268 dcn10_wait_for_mpcc_disconnect(struct dc * dc,struct resource_pool * res_pool,struct pipe_ctx * pipe_ctx) dcn10_wait_for_mpcc_disconnect() argument
3301 dcn10_dummy_display_power_gating(struct dc * dc,uint8_t controller_id,struct dc_bios * dcb,enum pipe_gating_control power_gating) dcn10_dummy_display_power_gating() argument
3314 struct dc *dc = pipe_ctx->stream->ctx->dc; dcn10_update_pending_status() local
3723 dcn10_calc_vupdate_position(struct dc * dc,struct pipe_ctx * pipe_ctx,uint32_t * start_line,uint32_t * end_line) dcn10_calc_vupdate_position() argument
3739 dcn10_cal_vline_position(struct dc * dc,struct pipe_ctx * pipe_ctx,uint32_t * start_line,uint32_t * end_line) dcn10_cal_vline_position() argument
3768 dcn10_setup_periodic_interrupt(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_setup_periodic_interrupt() argument
3780 dcn10_setup_vupdate_interrupt(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn10_setup_vupdate_interrupt() argument
3829 dcn10_set_clock(struct dc * dc,enum dc_clock_type clock_type,uint32_t clk_khz,uint32_t stepping) dcn10_set_clock() argument
3868 dcn10_get_clock(struct dc * dc,enum dc_clock_type clock_type,struct dc_clock_config * clock_cfg) dcn10_get_clock() argument
3879 dcn10_get_dcc_en_bits(struct dc * dc,int * dcc_en_bits) dcn10_get_dcc_en_bits() argument
[all...]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/inc/
H A Dhw_sequencer.h50 struct dc *dc; member
56 struct dc *dc; member
67 const struct dc *dc; member
73 struct dc *dc; member
78 struct dc *dc; member
106 struct dc *dc; member
112 struct dc *dc; member
181 void (*hardware_release)(struct dc *dc);
188 void (*init_hw)(struct dc *dc);
189 void (*power_down_on_boot)(struct dc *dc);
[all …]
H A Dhw_sequencer_private.h75 void (*disable_stream_gating)(struct dc *dc, struct pipe_ctx *pipe_ctx);
76 void (*enable_stream_gating)(struct dc *dc, struct pipe_ctx *pipe_ctx);
77 void (*init_pipes)(struct dc *dc, struct dc_state *context);
78 void (*reset_hw_ctx_wrap)(struct dc *dc, struct dc_state *context);
79 void (*update_plane_addr)(const struct dc *dc,
81 void (*plane_atomic_disconnect)(struct dc *dc,
83 void (*update_mpcc)(struct dc *dc, struct pipe_ctx *pipe_ctx);
84 bool (*set_input_transfer_func)(struct dc *dc,
87 bool (*set_output_transfer_func)(struct dc *dc,
90 void (*power_down)(struct dc *dc);
[all …]
H A Dlink_enc_cfg.h39 const struct dc *dc,
58 struct dc *dc,
78 struct dc *dc,
83 struct dc *dc,
88 struct dc *dc,
93 struct dc *dc,
97 struct link_encoder *link_enc_cfg_get_next_avail_link_enc(struct dc *dc);
101 struct dc *dc,
109 struct dc *dc,
113 bool link_enc_cfg_is_link_enc_avail(struct dc *dc, enum engine_id eng_id, struct dc_link *link);
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.h36 struct dc *dc,
39 struct dc *dc,
41 void dcn20_update_plane_addr(const struct dc *dc, struct pipe_ctx *pipe_ctx);
42 void dcn20_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx);
43 bool dcn20_set_input_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx,
45 bool dcn20_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx,
47 void dcn20_program_output_csc(struct dc *dc,
55 void dcn20_disable_plane(struct dc *dc, struct pipe_ctx *pipe_ctx);
57 struct dc *dc,
61 struct dc *dc,
[all …]
H A Ddcn20_resource.h35 struct dc;
50 struct dc *dc);
74 bool dcn20_get_dcc_compression_cap(const struct dc *dc,
116 struct dc *dc,
120 bool dcn20_validate_bandwidth(struct dc *dc, struct dc_state *context, bool fast_validate);
122 struct dc *dc,
125 struct dc *dc,
133 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx);
140 const struct dc *dc,
144 void dcn20_acquire_dsc(const struct dc *dc,
[all …]
H A Ddcn20_hwseq.c70 static int find_free_gsl_group(const struct dc *dc) in find_free_gsl_group() argument
72 if (dc->res_pool->gsl_groups.gsl_0 == 0) in find_free_gsl_group()
74 if (dc->res_pool->gsl_groups.gsl_1 == 0) in find_free_gsl_group()
76 if (dc->res_pool->gsl_groups.gsl_2 == 0) in find_free_gsl_group()
98 const struct dc *dc, in dcn20_setup_gsl_group_as_lock() argument
114 group_idx = find_free_gsl_group(dc); in dcn20_setup_gsl_group_as_lock()
122 dc->res_pool->gsl_groups.gsl_0 = 1; in dcn20_setup_gsl_group_as_lock()
126 dc in dcn20_setup_gsl_group_as_lock()
274 dcn20_program_triple_buffer(const struct dc * dc,struct pipe_ctx * pipe_ctx,bool enable_triple_buffer) dcn20_program_triple_buffer() argument
287 dcn20_init_blank(struct dc * dc,struct timing_generator * tg) dcn20_init_blank() argument
583 dcn20_plane_atomic_disable(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_plane_atomic_disable() argument
621 dcn20_disable_plane(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_disable_plane() argument
643 dcn20_disable_pixel_data(struct dc * dc,struct pipe_ctx * pipe_ctx,bool blank) dcn20_disable_pixel_data() argument
674 dcn20_enable_stream_timing(struct pipe_ctx * pipe_ctx,struct dc_state * context,struct dc * dc) dcn20_enable_stream_timing() argument
821 dcn20_program_output_csc(struct dc * dc,struct pipe_ctx * pipe_ctx,enum dc_color_space colorspace,uint16_t * matrix,int opp_id) dcn20_program_output_csc() argument
849 dcn20_set_output_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_stream_state * stream) dcn20_set_output_transfer_func() argument
939 dcn20_set_input_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_plane_state * plane_state) dcn20_set_input_transfer_func() argument
1023 dcn20_update_odm(struct dc * dc,struct dc_state * context,struct pipe_ctx * pipe_ctx) dcn20_update_odm() argument
1045 dcn20_blank_pixel_data(struct dc * dc,struct pipe_ctx * pipe_ctx,bool blank) dcn20_blank_pixel_data() argument
1143 dcn20_enable_plane(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn20_enable_plane() argument
1223 dcn20_pipe_control_lock(struct dc * dc,struct pipe_ctx * pipe,bool lock) dcn20_pipe_control_lock() argument
1495 dcn20_update_dchubp_dpp(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn20_update_dchubp_dpp() argument
1686 dcn20_program_pipe(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn20_program_pipe() argument
1789 dcn20_program_front_end_for_ctx(struct dc * dc,struct dc_state * context) dcn20_program_front_end_for_ctx() argument
1948 dcn20_post_unlock_program_front_end(struct dc * dc,struct dc_state * context) dcn20_post_unlock_program_front_end() argument
2048 dcn20_prepare_bandwidth(struct dc * dc,struct dc_state * context) dcn20_prepare_bandwidth() argument
2099 dcn20_optimize_bandwidth(struct dc * dc,struct dc_state * context) dcn20_optimize_bandwidth() argument
2157 dcn20_update_bandwidth(struct dc * dc,struct dc_state * context) dcn20_update_bandwidth() argument
2209 dcn20_enable_writeback(struct dc * dc,struct dc_writeback_info * wb_info,struct dc_state * context) dcn20_enable_writeback() argument
2236 dcn20_disable_writeback(struct dc * dc,unsigned int dwb_pipe_inst) dcn20_disable_writeback() argument
2279 dcn20_disable_stream_gating(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_disable_stream_gating() argument
2294 dcn20_enable_stream_gating(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_enable_stream_gating() argument
2331 dcn20_init_vm_ctx(struct dce_hwseq * hws,struct dc * dc,struct dc_virtual_addr_space_config * va_config,int vmid) dcn20_init_vm_ctx() argument
2351 dcn20_init_sys_ctx(struct dce_hwseq * hws,struct dc * dc,struct dc_phy_addr_space_config * pa_config) dcn20_init_sys_ctx() argument
2397 dcn20_update_plane_addr(const struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_update_plane_addr() argument
2461 dcn20_setup_vupdate_interrupt(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_setup_vupdate_interrupt() argument
2474 dcn20_reset_back_end_for_pipe(struct dc * dc,struct pipe_ctx * pipe_ctx,struct dc_state * context) dcn20_reset_back_end_for_pipe() argument
2558 dcn20_reset_hw_ctx_wrap(struct dc * dc,struct dc_state * context) dcn20_reset_hw_ctx_wrap() argument
2589 dcn20_update_mpcc(struct dc * dc,struct pipe_ctx * pipe_ctx) dcn20_update_mpcc() argument
2716 struct dc *dc = pipe_ctx->stream->ctx->dc; dcn20_enable_stream() local
2809 dcn20_fpga_init_hw(struct dc * dc) dcn20_fpga_init_hw() argument
2928 dcn20_optimize_timing_for_fsft(struct dc * dc,struct dc_crtc_timing * timing,unsigned int max_input_rate_in_khz) dcn20_optimize_timing_for_fsft() argument
2955 dcn20_set_disp_pattern_generator(const struct dc * dc,struct pipe_ctx * pipe_ctx,enum controller_dp_test_pattern test_pattern,enum controller_dp_color_space color_space,enum dc_color_depth color_depth,const struct tg_color * solid_color,int width,int height,int offset) dcn20_set_disp_pattern_generator() argument
[all...]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/core/
H A Damdgpu_dc.c27 #include "dc.h"
81 dc->ctx
84 dc->ctx->logger
98 * struct dc - The central struct. One per driver. Created on driver load,
102 * Used as a backpointer by most other structs in dc.
115 * Main dc state structs:
118 * these structs in dc->current_state representing the currently programmed state.
145 static void destroy_links(struct dc *dc) in destroy_links() argument
149 for (i = 0; i < dc in destroy_links()
182 create_links(struct dc * dc,uint32_t num_virtual_links) create_links() argument
301 create_link_encoders(struct dc * dc) create_link_encoders() argument
342 destroy_link_encoders(struct dc * dc) destroy_link_encoders() argument
397 dc_stream_adjust_vmin_vmax(struct dc * dc,struct dc_stream_state * stream,struct dc_crtc_timing_adjust * adjust) dc_stream_adjust_vmin_vmax() argument
443 dc_stream_get_last_used_drr_vtotal(struct dc * dc,struct dc_stream_state * stream,uint32_t * refresh_rate) dc_stream_get_last_used_drr_vtotal() argument
471 dc_stream_get_crtc_position(struct dc * dc,struct dc_stream_state ** streams,int num_streams,unsigned int * v_pos,unsigned int * nom_v_pos) dc_stream_get_crtc_position() argument
540 struct dc *dc = stream->ctx->dc; dc_stream_forward_crc_window() local
586 dc_stream_configure_crc(struct dc * dc,struct dc_stream_state * stream,struct crc_params * crc_window,bool enable,bool continuous) dc_stream_configure_crc() argument
652 dc_stream_get_crc(struct dc * dc,struct dc_stream_state * stream,uint32_t * r_cr,uint32_t * g_y,uint32_t * b_cb) dc_stream_get_crc() argument
676 dc_stream_set_dyn_expansion(struct dc * dc,struct dc_stream_state * stream,enum dc_dynamic_expansion option) dc_stream_set_dyn_expansion() argument
736 dc_stream_set_gamut_remap(struct dc * dc,const struct dc_stream_state * stream) dc_stream_set_gamut_remap() argument
753 dc_stream_program_csc_matrix(struct dc * dc,struct dc_stream_state * stream) dc_stream_program_csc_matrix() argument
776 dc_stream_set_static_screen_params(struct dc * dc,struct dc_stream_state ** streams,int num_streams,const struct dc_static_screen_params * params) dc_stream_set_static_screen_params() argument
800 dc_destruct(struct dc * dc) dc_destruct() argument
853 dc_construct_ctx(struct dc * dc,const struct dc_init_data * init_params) dc_construct_ctx() argument
892 dc_construct(struct dc * dc,const struct dc_init_data * init_params) dc_construct() argument
1038 disable_all_writeback_pipes_for_stream(const struct dc * dc,struct dc_stream_state * stream,struct dc_state * context) disable_all_writeback_pipes_for_stream() argument
1048 apply_ctx_interdependent_lock(struct dc * dc,struct dc_state * context,struct dc_stream_state * stream,bool lock) apply_ctx_interdependent_lock() argument
1073 dc_update_viusal_confirm_color(struct dc * dc,struct dc_state * context,struct pipe_ctx * pipe_ctx) dc_update_viusal_confirm_color() argument
1100 disable_dangling_plane(struct dc * dc,struct dc_state * context) disable_dangling_plane() argument
1204 disable_vbios_mode_if_required(struct dc * dc,struct dc_state * context) disable_vbios_mode_if_required() argument
1264 wait_for_no_pipes_pending(struct dc * dc,struct dc_state * context) wait_for_no_pipes_pending() argument
1294 struct dc *dc = kzalloc(sizeof(*dc), GFP_KERNEL); dc_create() local
1346 detect_edp_presence(struct dc * dc) detect_edp_presence() argument
1369 dc_hardware_init(struct dc * dc) dc_hardware_init() argument
1377 dc_init_callbacks(struct dc * dc,const struct dc_callback_init * init_params) dc_init_callbacks() argument
1383 dc_deinit_callbacks(struct dc * dc) dc_deinit_callbacks() argument
1388 dc_destroy(struct dc ** dc) dc_destroy() argument
1396 enable_timing_multisync(struct dc * dc,struct dc_state * ctx) enable_timing_multisync() argument
1420 program_timing_sync(struct dc * dc,struct dc_state * ctx) program_timing_sync() argument
1553 streams_changed(struct dc * dc,struct dc_stream_state * streams[],uint8_t stream_count) streams_changed() argument
1572 dc_validate_boot_timing(const struct dc * dc,const struct dc_sink * sink,struct dc_crtc_timing * crtc_timing) dc_validate_boot_timing() argument
1741 dc_enable_stereo(struct dc * dc,struct dc_state * context,struct dc_stream_state * streams[],uint8_t stream_count) dc_enable_stereo() argument
1765 dc_trigger_sync(struct dc * dc,struct dc_state * context) dc_trigger_sync() argument
1773 get_stream_mask(struct dc * dc,struct dc_state * context) get_stream_mask() argument
1786 dc_z10_restore(const struct dc * dc) dc_z10_restore() argument
1792 dc_z10_save_init(struct dc * dc) dc_z10_save_init() argument
1809 dc_commit_state_no_check(struct dc * dc,struct dc_state * context) dc_commit_state_no_check() argument
2007 dc_commit_streams(struct dc * dc,struct dc_stream_state * streams[],uint8_t stream_count) dc_commit_streams() argument
2098 dc_acquire_release_mpc_3dlut(struct dc * dc,bool acquire,struct dc_stream_state * stream,struct dc_3dlut ** lut,struct dc_transfer_func ** shaper) dc_acquire_release_mpc_3dlut() argument
2133 is_flip_pending_in_pipes(struct dc * dc,struct dc_state * context) is_flip_pending_in_pipes() argument
2161 process_deferred_updates(struct dc * dc) process_deferred_updates() argument
2173 dc_post_update_surfaces_to_stream(struct dc * dc) dc_post_update_surfaces_to_stream() argument
2215 init_state(struct dc * dc,struct dc_state * context) init_state() argument
2224 dc_create_state(struct dc * dc) dc_create_state() argument
2453 get_scaling_info_update_type(const struct dc * dc,const struct dc_surface_update * u) get_scaling_info_update_type() argument
2511 det_surface_update(const struct dc * dc,const struct dc_surface_update * u) det_surface_update() argument
2594 check_update_surfaces_for_stream(struct dc * dc,struct dc_surface_update * updates,int surface_count,struct dc_stream_update * stream_update,const struct dc_stream_status * stream_status) check_update_surfaces_for_stream() argument
2677 dc_check_update_surfaces_for_stream(struct dc * dc,struct dc_surface_update * updates,int surface_count,struct dc_stream_update * stream_update,const struct dc_stream_status * stream_status) dc_check_update_surfaces_for_stream() argument
2858 copy_stream_update_to_stream(struct dc * dc,struct dc_state * context,struct dc_stream_state * stream,struct dc_stream_update * update) copy_stream_update_to_stream() argument
2984 update_planes_and_stream_state(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum surface_update_type * new_update_type,struct dc_state ** new_context) update_planes_and_stream_state() argument
3124 commit_planes_do_stream_update(struct dc * dc,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum surface_update_type update_type,struct dc_state * context) commit_planes_do_stream_update() argument
3254 dc_dmub_should_send_dirty_rect_cmd(struct dc * dc,struct dc_stream_state * stream) dc_dmub_should_send_dirty_rect_cmd() argument
3267 dc_dmub_update_dirty_rect(struct dc * dc,int surface_count,struct dc_stream_state * stream,struct dc_surface_update * srf_updates,struct dc_state * context) dc_dmub_update_dirty_rect() argument
3320 build_dmub_update_dirty_rect(struct dc * dc,int surface_count,struct dc_stream_state * stream,struct dc_surface_update * srf_updates,struct dc_state * context,struct dc_dmub_cmd dc_dmub_cmd[],unsigned int * dmub_cmd_count) build_dmub_update_dirty_rect() argument
3393 build_dmub_cmd_list(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_state * context,struct dc_dmub_cmd dc_dmub_cmd[],unsigned int * dmub_cmd_count) build_dmub_cmd_list() argument
3406 commit_planes_for_stream_fast(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum surface_update_type update_type,struct dc_state * context) commit_planes_for_stream_fast() argument
3476 wait_for_outstanding_hw_updates(struct dc * dc,const struct dc_state * dc_context) wait_for_outstanding_hw_updates() argument
3515 commit_planes_for_stream(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum surface_update_type update_type,struct dc_state * context) commit_planes_for_stream() argument
3898 could_mpcc_tree_change_for_active_pipes(struct dc * dc,struct dc_stream_state * stream,int surface_count,bool * is_plane_addition) could_mpcc_tree_change_for_active_pipes() argument
3988 commit_minimal_transition_state(struct dc * dc,struct dc_state * transition_base_context) commit_minimal_transition_state() argument
4126 update_seamless_boot_flags(struct dc * dc,struct dc_state * context,int surface_count,struct dc_stream_state * stream) update_seamless_boot_flags() argument
4188 full_update_required(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_update * stream_update,struct dc_stream_state * stream) full_update_required() argument
4256 fast_update_only(struct dc * dc,struct dc_fast_update * fast_update,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_update * stream_update,struct dc_stream_state * stream) fast_update_only() argument
4267 dc_update_planes_and_stream(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update) dc_update_planes_and_stream() argument
4390 dc_commit_updates_for_stream(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,struct dc_state * state) dc_commit_updates_for_stream() argument
4535 dc_get_current_stream_count(struct dc * dc) dc_get_current_stream_count() argument
4540 dc_get_stream_at_index(struct dc * dc,uint8_t i) dc_get_stream_at_index() argument
4548 dc_interrupt_to_irq_source(struct dc * dc,uint32_t src_id,uint32_t ext_id) dc_interrupt_to_irq_source() argument
4558 dc_interrupt_set(struct dc * dc,enum dc_irq_source src,bool enable) dc_interrupt_set() argument
4567 dc_interrupt_ack(struct dc * dc,enum dc_irq_source src) dc_interrupt_ack() argument
4572 dc_power_down_on_boot(struct dc * dc) dc_power_down_on_boot() argument
4580 dc_set_power_state(struct dc * dc,enum dc_acpi_cm_power_state power_state) dc_set_power_state() argument
4634 dc_resume(struct dc * dc) dc_resume() argument
4642 dc_is_dmcu_initialized(struct dc * dc) dc_is_dmcu_initialized() argument
4663 dc_set_clock(struct dc * dc,enum dc_clock_type clock_type,uint32_t clk_khz,uint32_t stepping) dc_set_clock() argument
4669 dc_get_clock(struct dc * dc,enum dc_clock_type clock_type,struct dc_clock_config * clock_cfg) dc_get_clock() argument
4676 dc_set_psr_allow_active(struct dc * dc,bool enable) dc_set_psr_allow_active() argument
4705 dc_allow_idle_optimizations(struct dc * dc,bool allow) dc_allow_idle_optimizations() argument
4722 dc_unlock_memory_clock_frequency(struct dc * dc) dc_unlock_memory_clock_frequency() argument
4732 dc_lock_memory_clock_frequency(struct dc * dc) dc_lock_memory_clock_frequency() argument
4744 blank_and_force_memclk(struct dc * dc,bool apply,unsigned int memclk_mhz) blank_and_force_memclk() argument
4799 dc_enable_dcmode_clk_limit(struct dc * dc,bool enable) dc_enable_dcmode_clk_limit() argument
4838 dc_is_plane_eligible_for_idle_optimizations(struct dc * dc,struct dc_plane_state * plane,struct dc_cursor_attributes * cursor_attr) dc_is_plane_eligible_for_idle_optimizations() argument
4847 dc_hardware_release(struct dc * dc) dc_hardware_release() argument
4855 dc_mclk_switch_using_fw_based_vblank_stretch_shut_down(struct dc * dc) dc_mclk_switch_using_fw_based_vblank_stretch_shut_down() argument
4873 dc_is_dmub_outbox_supported(struct dc * dc) dc_is_dmub_outbox_supported() argument
4911 dc_enable_dmub_notifications(struct dc * dc) dc_enable_dmub_notifications() argument
4923 dc_enable_dmub_outbox(struct dc * dc) dc_enable_dmub_outbox() argument
4940 dc_process_dmub_aux_transfer_async(struct dc * dc,uint32_t link_index,struct aux_payload * payload) dc_process_dmub_aux_transfer_async() argument
4998 get_link_index_from_dpia_port_index(const struct dc * dc,uint8_t dpia_port_index) get_link_index_from_dpia_port_index() argument
5031 dc_process_dmub_set_config_async(struct dc * dc,uint32_t link_index,struct set_config_cmd_payload * payload,struct dmub_notification * notify) dc_process_dmub_set_config_async() argument
5076 dc_process_dmub_set_mst_slots(const struct dc * dc,uint32_t link_index,uint8_t mst_alloc_slots,uint8_t * mst_slots_in_use) dc_process_dmub_set_mst_slots() argument
5120 dc_process_dmub_dpia_hpd_int_enable(const struct dc * dc,uint32_t hpd_int_enable) dc_process_dmub_dpia_hpd_int_enable() argument
5140 dc_print_dmub_diagnostic_data(const struct dc * dc) dc_print_dmub_diagnostic_data() argument
5149 dc_disable_accelerated_mode(struct dc * dc) dc_disable_accelerated_mode() argument
5164 dc_notify_vsync_int_state(struct dc * dc,struct dc_stream_state * stream,bool enable) dc_notify_vsync_int_state() argument
5217 dc_abm_save_restore(struct dc * dc,struct dc_stream_state * stream,struct abm_save_restore * pData) dc_abm_save_restore() argument
5260 dc_query_current_properties(struct dc * dc,struct dc_current_properties * properties) dc_query_current_properties() argument
5283 dc_set_edp_power(const struct dc * dc,struct dc_link * edp_link,bool powerOn) dc_set_edp_power() argument
[all...]
H A Ddc_link_exports.c38 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index) in dc_get_link_at_index() argument
40 return dc->links[link_index]; in dc_get_link_at_index()
43 void dc_get_edp_links(const struct dc *dc, in dc_get_edp_links() argument
50 for (i = 0; i < dc->link_count; i++) { in dc_get_edp_links()
52 if (!dc->links[i]) in dc_get_edp_links()
54 if (dc->links[i]->connector_signal == SIGNAL_TYPE_EDP) { in dc_get_edp_links()
55 edp_links[*edp_num] = dc->links[i]; in dc_get_edp_links()
62 bool dc_get_edp_link_panel_inst(const struct dc *dc, in dc_get_edp_link_panel_inst() argument
72 dc_get_edp_links(dc, edp_links, &edp_num); in dc_get_edp_link_panel_inst()
83 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect()
[all …]
H A Ddc_stream.c35 #define DC_LOGGER dc->ctx->logger
48 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal()
203 if (new_stream->ctx->dc->res_pool->funcs->link_encs_assign) in dc_copy_stream()
246 struct dc *dc = stream->ctx->dc; in dc_stream_get_status() local
247 return dc_stream_get_status_from_state(dc->current_state, stream); in dc_stream_get_status()
251 struct dc *dc, in program_cursor_attributes() argument
262 res_ctx = &dc->current_state->res_ctx; in program_cursor_attributes()
272 dc->hwss.cursor_lock(dc, pipe_to_program, true); in program_cursor_attributes()
274 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, true); in program_cursor_attributes()
277 dc->hwss.set_cursor_attribute(pipe_ctx); in program_cursor_attributes()
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.h31 struct dc;
44 bool dcn32_apply_idle_power_optimizations(struct dc *dc, bool enable);
46 void dcn32_cab_for_ss_control(struct dc *dc, bool enable);
48 void dcn32_commit_subvp_config(struct dc *dc, struct dc_state *context);
53 bool dcn32_set_input_transfer_func(struct dc *dc,
60 bool dcn32_set_output_transfer_func(struct dc *dc,
64 void dcn32_init_hw(struct dc *dc);
66 void dcn32_program_mall_pipe_config(struct dc *dc, struct dc_state *context);
68 void dcn32_update_mall_sel(struct dc *dc, struct dc_state *context);
70 void dcn32_update_force_pstate(struct dc *dc, struct dc_state *context);
[all …]
H A Ddcn32_hwseq.c61 dc->ctx->logger
77 if (hws->ctx->dc->debug.disable_dsc_power_gate) in dcn32_dsc_pg_control()
80 if (!hws->ctx->dc->debug.enable_double_buffered_dsc_pg_support) in dcn32_dsc_pg_control()
165 if (hws->ctx->dc->debug.disable_hubp_power_gate) in dcn32_hubp_pg_control()
194 static bool dcn32_check_no_memory_request_for_cab(struct dc *dc) in dcn32_check_no_memory_request_for_cab() argument
199 for (i = 0; i < dc->current_state->stream_count; i++) { in dcn32_check_no_memory_request_for_cab()
200 if ((dc->current_state->stream_status[i].plane_count) && in dcn32_check_no_memory_request_for_cab()
201 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn32_check_no_memory_request_for_cab()
206 if (i == dc in dcn32_check_no_memory_request_for_cab()
217 dcn32_calculate_cab_allocation(struct dc * dc,struct dc_state * ctx) dcn32_calculate_cab_allocation() argument
247 dcn32_apply_idle_power_optimizations(struct dc * dc,bool enable) dcn32_apply_idle_power_optimizations() argument
339 dcn32_commit_subvp_config(struct dc * dc,struct dc_state * context) dcn32_commit_subvp_config() argument
366 dcn32_subvp_pipe_control_lock(struct dc * dc,struct dc_state * context,bool lock,bool should_lock_all_pipes,struct pipe_ctx * top_pipe_to_program,bool subvp_prev_use) dcn32_subvp_pipe_control_lock() argument
416 struct dc *dc = params->subvp_pipe_control_lock_fast_params.dc; dcn32_subvp_pipe_control_lock_fast() local
520 dcn32_set_input_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_plane_state * plane_state) dcn32_set_input_transfer_func() argument
562 dcn32_set_output_transfer_func(struct dc * dc,struct pipe_ctx * pipe_ctx,const struct dc_stream_state * stream) dcn32_set_output_transfer_func() argument
598 dcn32_update_force_pstate(struct dc * dc,struct dc_state * context) dcn32_update_force_pstate() argument
652 dcn32_update_mall_sel(struct dc * dc,struct dc_state * context) dcn32_update_mall_sel() argument
706 dcn32_program_mall_pipe_config(struct dc * dc,struct dc_state * context) dcn32_program_mall_pipe_config() argument
735 dcn32_initialize_min_clocks(struct dc * dc) dcn32_initialize_min_clocks() argument
764 dcn32_init_hw(struct dc * dc) dcn32_init_hw() argument
1088 dcn32_update_odm(struct dc * dc,struct dc_state * context,struct pipe_ctx * pipe_ctx) dcn32_update_odm() argument
1198 dcn32_resync_fifo_dccg_dio(struct dce_hwseq * hws,struct dc * dc,struct dc_state * context) dcn32_resync_fifo_dccg_dio() argument
1269 struct dc *dc = pipe_ctx->stream->ctx->dc; dcn32_is_dp_dig_pixel_rate_div_policy() local
1297 struct dc *dc = link->ctx->dc; apply_symclk_on_tx_off_wa() local
1322 struct dc *dc = link->ctx->dc; dcn32_disable_link_output() local
1350 dcn32_update_phantom_vp_position(struct dc * dc,struct dc_state * context,struct pipe_ctx * phantom_pipe) dcn32_update_phantom_vp_position() argument
1437 dcn32_update_dsc_pg(struct dc * dc,struct dc_state * context,bool safe_to_disable) dcn32_update_dsc_pg() argument
1460 dcn32_enable_phantom_streams(struct dc * dc,struct dc_state * context) dcn32_enable_phantom_streams() argument
1498 dcn32_init_blank(struct dc * dc,struct timing_generator * tg) dcn32_init_blank() argument
1579 dcn32_blank_phantom(struct dc * dc,struct timing_generator * tg,int width,int height) dcn32_blank_phantom() argument
1625 dcn32_is_pipe_topology_transition_seamless(struct dc * dc,const struct dc_state * cur_ctx,const struct dc_state * new_ctx) dcn32_is_pipe_topology_transition_seamless() argument
[all...]
/openbsd-src/sys/dev/pci/
H A Dtga.c83 pcitag_t tag, struct tga_devconfig *dc);
84 unsigned tga_getdotclock(struct tga_devconfig *dc);
200 tga_getdevconfig(memt, pc, tag, dc)
204 struct tga_devconfig *dc;
212 dc->dc_memt = memt;
214 dc->dc_pcitag = tag;
220 &dc->dc_pcipaddr, &pcisize, NULL))
224 if (bus_space_map(memt, dc->dc_pcipaddr, pcisize,
225 BUS_SPACE_MAP_PREFETCHABLE | BUS_SPACE_MAP_LINEAR, &dc->dc_memh))
228 dc
201 tga_getdevconfig(memt,pc,tag,dc) tga_getdevconfig() argument
569 struct tga_devconfig *dc = sc->sc_dc; global() local
650 struct tga_devconfig *dc = v; global() local
674 struct tga_devconfig *dc = v; global() local
712 struct tga_devconfig *dc = sc->sc_dc; global() local
783 struct tga_devconfig *dc = sc->sc_dc; tga_load_font() local
829 struct tga_devconfig *dc = sc->sc_dc; tga_list_font() local
900 tga_blank(dc) tga_blank() argument
912 tga_unblank(dc) tga_unblank() argument
927 tga_builtin_set_cursor(dc,cursorp) tga_builtin_set_cursor() argument
980 tga_builtin_get_cursor(dc,cursorp) tga_builtin_get_cursor() argument
1011 tga_builtin_set_curpos(dc,curposp) tga_builtin_set_curpos() argument
1022 tga_builtin_get_curpos(dc,curposp) tga_builtin_get_curpos() argument
1033 tga_builtin_get_curmax(dc,curposp) tga_builtin_get_curmax() argument
1149 struct tga_devconfig *dc = (struct tga_devconfig *)dst->ri_hw; global() local
1320 struct tga_devconfig *dc = ri->ri_hw; global() local
1387 struct tga_devconfig *dc = ri->ri_hw; global() local
1444 struct tga_devconfig *dc = ri->ri_hw; global() local
1501 struct tga_devconfig *dc = v; global() local
1516 struct tga_devconfig *dc = v; global() local
1533 struct tga_devconfig *dc = v; global() local
1561 struct tga_devconfig *dc = v; global() local
1587 struct tga_devconfig *dc = v; global() local
1605 struct tga_devconfig *dc = v; global() local
1628 tga2_init(dc) tga2_init() argument
1675 tga2_ics9110_wr(dc,dotclock) tga2_ics9110_wr() argument
1749 tga_getmonitor(dc) tga_getmonitor() argument
1756 tga_getdotclock(dc) tga_getdotclock() argument
[all...]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn31/
H A Ddcn31_hwseq.c61 dc->ctx->logger
68 static void enable_memory_low_power(struct dc *dc) in enable_memory_low_power() argument
70 struct dce_hwseq *hws = dc->hwseq; in enable_memory_low_power()
73 if (dc->debug.enable_mem_low_power.bits.dmcu) { in enable_memory_low_power()
75 if (dc->debug.disable_dmcu || dc->config.disable_dmcu) { in enable_memory_low_power()
81 if (dc->debug.enable_mem_low_power.bits.optc) { in enable_memory_low_power()
86 if (dc->debug.enable_mem_low_power.bits.vga) { in enable_memory_low_power()
91 if (dc->debug.enable_mem_low_power.bits.mpc && in enable_memory_low_power()
92 dc->res_pool->mpc->funcs->set_mpc_mem_lp_mode) in enable_memory_low_power()
93 dc->res_pool->mpc->funcs->set_mpc_mem_lp_mode(dc->res_pool->mpc); in enable_memory_low_power()
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.h31 struct dc;
33 void dcn30_init_hw(struct dc *dc);
35 struct dc *dc,
39 struct dc *dc,
43 struct dc *dc,
47 struct dc *dc,
51 struct dc *dc,
58 bool dcn30_set_input_transfer_func(struct dc *dc,
61 bool dcn30_set_output_transfer_func(struct dc *dc,
68 bool dcn30_does_plane_fit_in_mall(struct dc *dc, struct dc_plane_state *plane,
[all …]
H A Ddcn30_hwseq.c65 dc->ctx->logger
98 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_mpc_shaper_3dlut()
146 bool dcn30_set_input_transfer_func(struct dc *dc, in dcn30_set_input_transfer_func() argument
150 struct dce_hwseq *hws = dc->hwseq; in dcn30_set_input_transfer_func()
189 bool dcn30_set_output_transfer_func(struct dc *dc, in dcn30_set_output_transfer_func() argument
194 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn30_set_output_transfer_func()
226 struct dc *dc, in dcn30_set_writeback()
222 dcn30_set_writeback(struct dc * dc,struct dc_writeback_info * wb_info,struct dc_state * context) dcn30_set_writeback() argument
245 dcn30_update_writeback(struct dc * dc,struct dc_writeback_info * wb_info,struct dc_state * context) dcn30_update_writeback() argument
262 dcn30_mmhubbub_warmup(struct dc * dc,unsigned int num_dwb,struct dc_writeback_info * wb_info) dcn30_mmhubbub_warmup() argument
320 dcn30_enable_writeback(struct dc * dc,struct dc_writeback_info * wb_info,struct dc_state * context) dcn30_enable_writeback() argument
343 dcn30_disable_writeback(struct dc * dc,unsigned int dwb_pipe_inst) dcn30_disable_writeback() argument
364 dcn30_program_all_writeback_pipes_in_tree(struct dc * dc,const struct dc_stream_state * stream,struct dc_state * context) dcn30_program_all_writeback_pipes_in_tree() argument
429 dcn30_init_hw(struct dc * dc) dcn30_init_hw() argument
696 dcn30_apply_idle_power_optimizations(struct dc * dc,bool enable) dcn30_apply_idle_power_optimizations() argument
886 dcn30_does_plane_fit_in_mall(struct dc * dc,struct dc_plane_state * plane,struct dc_cursor_attributes * cursor_attr) dcn30_does_plane_fit_in_mall() argument
920 dcn30_hardware_release(struct dc * dc) dcn30_hardware_release() argument
954 dcn30_set_disp_pattern_generator(const struct dc * dc,struct pipe_ctx * pipe_ctx,enum controller_dp_test_pattern test_pattern,enum controller_dp_color_space color_space,enum dc_color_depth color_depth,const struct tg_color * solid_color,int width,int height,int offset) dcn30_set_disp_pattern_generator() argument
966 dcn30_prepare_bandwidth(struct dc * dc,struct dc_state * context) dcn30_prepare_bandwidth() argument
[all...]
H A Ddcn30_resource.h34 struct dc;
46 struct dc *dc);
49 struct dc *dc,
59 bool dcn30_validate_bandwidth(struct dc *dc, struct dc_state *context,
62 struct dc *dc,
70 struct dc *dc, struct dc_state *context,
74 void dcn30_update_soc_for_wm_a(struct dc *dc, struct dc_state *context);
76 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
79 struct dc *dc, struct dc_state *context,
97 struct dc *dc,
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c28 #include "dc.h"
40 dc->ctx->logger
318 if (pipe->plane_res.dpp->ctx->dc->debug.optimized_watermark) { in pipe_ctx_to_e2e_pipe_params()
333 input->src.dcc = pipe->plane_res.dpp->ctx->dc->res_pool->hubbub->funcs-> in pipe_ctx_to_e2e_pipe_params()
453 const struct dc *dc, in dcn_bw_calc_rq_dlg_ttu() argument
458 struct display_mode_lib *dml = (struct display_mode_lib *)(&dc->dml); in dcn_bw_calc_rq_dlg_ttu()
497 input->clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; in dcn_bw_calc_rq_dlg_ttu()
500 // dc->dml.logger = pool->base.logger; in dcn_bw_calc_rq_dlg_ttu()
638 static bool dcn_bw_apply_registry_override(struct dc *d argument
749 dcn_validate_bandwidth(struct dc * dc,struct dc_state * context,bool fast_validate) dcn_validate_bandwidth() argument
1316 dcn_find_normalized_clock_vdd_Level(const struct dc * dc,enum dm_pp_clock_type clocks_type,int clocks_in_khz) dcn_find_normalized_clock_vdd_Level() argument
1406 dcn_find_dcfclk_suits_all(const struct dc * dc,struct dc_clocks * clocks) dcn_find_dcfclk_suits_all() argument
1448 dcn_bw_update_from_pplib_fclks(struct dc * dc,struct dm_pp_clock_levels_with_voltage * fclks) dcn_bw_update_from_pplib_fclks() argument
1478 dcn_bw_update_from_pplib_dcfclks(struct dc * dc,struct dm_pp_clock_levels_with_voltage * dcfclks) dcn_bw_update_from_pplib_dcfclks() argument
1490 dcn_get_soc_clks(struct dc * dc,int * min_fclk_khz,int * min_dcfclk_khz,int * socclk_khz) dcn_get_soc_clks() argument
1501 dcn_bw_notify_pplib_of_wm_ranges(struct dc * dc,int min_fclk_khz,int min_dcfclk_khz,int socclk_khz) dcn_bw_notify_pplib_of_wm_ranges() argument
1562 dcn_bw_sync_calcs_and_dml(struct dc * dc) dcn_bw_sync_calcs_and_dml() argument
[all...]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/
H A Ddc_stream.h367 bool dc_update_planes_and_stream(struct dc *dc,
382 void dc_commit_updates_for_stream(struct dc *dc,
391 void dc_stream_log(const struct dc *dc, const struct dc_stream_state *stream);
393 uint8_t dc_get_current_stream_count(struct dc *dc);
394 struct dc_stream_state *dc_get_stream_at_index(struct dc *dc, uint8_t i);
419 struct dc *dc,
424 struct dc *dc,
430 const struct dc *dc,
436 const struct dc *dc,
442 const struct dc *dc,
[all …]
H A Ddc.h372 struct dc;
378 bool (*get_dcc_compression_cap)(const struct dc *dc,
586 unsigned long long start_tick = dc->debug.bw_val_profile.enable ? \
587 dm_get_timestamp(dc->ctx) : 0
590 if (dc->debug.bw_val_profile.enable) \
591 dc->debug.bw_val_profile.total_count++
594 if (dc->debug.bw_val_profile.enable) { \
596 voltage_level_tick = dm_get_timestamp(dc->ctx); \
597 dc->debug.bw_val_profile.skip_ ## status ## _count++; \
601 if (dc->debug.bw_val_profile.enable) \
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.h31 void dcn20_populate_dml_writeback_from_context(struct dc *dc,
39 void dcn20_calculate_dlg_params(struct dc *dc,
44 int dcn20_populate_dml_pipes_from_context(struct dc *dc,
48 void dcn20_calculate_wm(struct dc *dc,
57 void dcn20_update_bounding_box(struct dc *dc,
62 void dcn20_patch_bounding_box(struct dc *dc,
64 bool dcn20_validate_bandwidth_fp(struct dc *dc,
76 int dcn21_populate_dml_pipes_from_context(struct dc *dc,
80 bool dcn21_validate_bandwidth_fp(struct dc *dc,
83 void dcn21_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params);
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c202 struct dc *dc, in dce110_enable_display_power_gating() argument
209 struct dc_context *ctx = dc->ctx; in dce110_enable_display_power_gating()
210 unsigned int underlay_idx = dc->res_pool->underlay_pipe_index; in dce110_enable_display_power_gating()
278 dce110_set_input_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, in dce110_set_input_transfer_func() argument
606 dce110_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, in dce110_set_output_transfer_func() argument
669 const struct dc *dc = link->dc; in dce110_enable_stream() local
677 dc->hwss.update_info_frame(pipe_ctx); in dce110_enable_stream()
741 hpd = ctx->dc->link_srv->get_hpd_gpio(ctx->dc_bios, connector, ctx->gpio_service); in dce110_edp_wait_for_hpd_ready()
810 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link)), 1000000); in dce110_edp_power_control()
815 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)), 1000000); in dce110_edp_power_control()
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/dcn10/
H A Ddcn10_fpu.c127 void dcn10_resource_construct_fp(struct dc *dc) in dcn10_resource_construct_fp() argument
130 if (dc->ctx->dce_version == DCN_VERSION_1_01) { in dcn10_resource_construct_fp()
131 struct dcn_soc_bounding_box *dcn_soc = dc->dcn_soc; in dcn10_resource_construct_fp()
132 struct dcn_ip_params *dcn_ip = dc->dcn_ip; in dcn10_resource_construct_fp()
133 struct display_mode_lib *dml = &dc->dml; in dcn10_resource_construct_fp()
140 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp()
141 dc->dcn_soc->urgent_latency = 3; in dcn10_resource_construct_fp()
142 dc->debug.disable_dmcu = true; in dcn10_resource_construct_fp()
143 dc->dcn_soc->fabric_and_dram_bandwidth_vmax0p9 = 41.60f; in dcn10_resource_construct_fp()
146 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct_fp()
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.h34 void dcn32_helper_populate_phantom_dlg_params(struct dc *dc,
42 void dcn32_set_phantom_stream_timing(struct dc *dc,
50 bool dcn32_internal_validate_bw(struct dc *dc,
57 void dcn32_calculate_wm_and_dlg_fpu(struct dc *dc, struct dc_state *context,
62 void dcn32_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params);
64 int dcn32_find_dummy_latency_index_for_fw_based_mclk_switch(struct dc *dc,
75 void dcn32_assign_fpo_vactive_candidate(struct dc *dc, const struct dc_state *context, struct dc_st…
77 bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, uint32_t vactive_margin…
79 void dcn32_override_min_req_memclk(struct dc *dc, struct dc_state *context);

12345678910>>...19