Lines Matching full:struct
35 struct pipe_ctx;
36 struct dc_state;
37 struct dc_stream_status;
38 struct dc_writeback_info;
39 struct dchub_init_data;
40 struct dc_static_screen_params;
41 struct resource_pool;
42 struct dc_phy_addr_space_config;
43 struct dc_virtual_addr_space_config;
44 struct dpp;
45 struct dce_hwseq;
46 struct link_resource;
47 struct dc_dmub_cmd;
48 struct pg_block_update;
50 struct subvp_pipe_control_lock_fast_params {
51 struct dc *dc;
56 struct pipe_control_lock_params {
57 struct dc *dc;
58 struct pipe_ctx *pipe_ctx;
62 struct set_flip_control_gsl_params {
63 struct pipe_ctx *pipe_ctx;
67 struct program_triplebuffer_params {
68 const struct dc *dc;
69 struct pipe_ctx *pipe_ctx;
73 struct update_plane_addr_params {
74 struct dc *dc;
75 struct pipe_ctx *pipe_ctx;
78 struct set_input_transfer_func_params {
79 struct dc *dc;
80 struct pipe_ctx *pipe_ctx;
81 struct dc_plane_state *plane_state;
84 struct program_gamut_remap_params {
85 struct pipe_ctx *pipe_ctx;
88 struct program_manual_trigger_params {
89 struct pipe_ctx *pipe_ctx;
92 struct send_dmcub_cmd_params {
93 struct dc_context *ctx;
98 struct setup_dpp_params {
99 struct pipe_ctx *pipe_ctx;
102 struct program_bias_and_scale_params {
103 struct pipe_ctx *pipe_ctx;
106 struct set_output_transfer_func_params {
107 struct dc *dc;
108 struct pipe_ctx *pipe_ctx;
109 const struct dc_stream_state *stream;
112 struct update_visual_confirm_params {
113 struct dc *dc;
114 struct pipe_ctx *pipe_ctx;
118 struct power_on_mpc_mem_pwr_params {
119 struct mpc *mpc;
124 struct set_output_csc_params {
125 struct mpc *mpc;
131 struct set_ocsc_default_params {
132 struct mpc *mpc;
138 struct subvp_save_surf_addr {
139 struct dc_dmub_srv *dc_dmub_srv;
140 const struct dc_plane_address *addr;
145 struct update_plane_addr_params update_plane_addr_params;
146 struct subvp_pipe_control_lock_fast_params subvp_pipe_control_lock_fast_params;
147 struct pipe_control_lock_params pipe_control_lock_params;
148 struct set_flip_control_gsl_params set_flip_control_gsl_params;
149 struct program_triplebuffer_params program_triplebuffer_params;
150 struct set_input_transfer_func_params set_input_transfer_func_params;
151 struct program_gamut_remap_params program_gamut_remap_params;
152 struct program_manual_trigger_params program_manual_trigger_params;
153 struct send_dmcub_cmd_params send_dmcub_cmd_params;
154 struct setup_dpp_params setup_dpp_params;
155 struct program_bias_and_scale_params program_bias_and_scale_params;
156 struct set_output_transfer_func_params set_output_transfer_func_params;
157 struct update_visual_confirm_params update_visual_confirm_params;
158 struct power_on_mpc_mem_pwr_params power_on_mpc_mem_pwr_params;
159 struct set_output_csc_params set_output_csc_params;
160 struct set_ocsc_default_params set_ocsc_default_params;
161 struct subvp_save_surf_addr subvp_save_surf_addr;
184 struct block_sequence {
189 struct hw_sequencer_funcs {
190 void (*hardware_release)(struct dc *dc);
192 void (*edp_power_control)(struct dc_link *link, bool enable);
193 void (*edp_wait_for_hpd_ready)(struct dc_link *link, bool power_up);
194 void (*edp_wait_for_T12)(struct dc_link *link);
197 void (*init_hw)(struct dc *dc);
198 void (*power_down_on_boot)(struct dc *dc);
199 void (*enable_accelerated_mode)(struct dc *dc,
200 struct dc_state *context);
201 enum dc_status (*apply_ctx_to_hw)(struct dc *dc,
202 struct dc_state *context);
203 void (*disable_plane)(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ctx);
204 void (*disable_pixel_data)(struct dc *dc, struct pipe_ctx *pipe_ctx, bool blank);
205 void (*apply_ctx_for_surface)(struct dc *dc,
206 const struct dc_stream_state *stream,
207 int num_planes, struct dc_state *context);
208 void (*program_front_end_for_ctx)(struct dc *dc,
209 struct dc_state *context);
210 void (*wait_for_pending_cleared)(struct dc *dc,
211 struct dc_state *context);
212 void (*post_unlock_program_front_end)(struct dc *dc,
213 struct dc_state *context);
214 void (*update_plane_addr)(const struct dc *dc,
215 struct pipe_ctx *pipe_ctx);
216 void (*update_dchub)(struct dce_hwseq *hws,
217 struct dchub_init_data *dh_data);
218 void (*wait_for_mpcc_disconnect)(struct dc *dc,
219 struct resource_pool *res_pool,
220 struct pipe_ctx *pipe_ctx);
222 struct dc_link *link,
224 void (*program_triplebuffer)(const struct dc *dc,
225 struct pipe_ctx *pipe_ctx, bool enableTripleBuffer);
226 void (*update_pending_status)(struct pipe_ctx *pipe_ctx);
227 void (*power_down)(struct dc *dc);
228 void (*update_dsc_pg)(struct dc *dc, struct dc_state *context, bool safe_to_disable);
231 void (*pipe_control_lock)(struct dc *dc,
232 struct pipe_ctx *pipe, bool lock);
233 void (*interdependent_update_lock)(struct dc *dc,
234 struct dc_state *context, bool lock);
235 void (*set_flip_control_gsl)(struct pipe_ctx *pipe_ctx,
237 void (*cursor_lock)(struct dc *dc, struct pipe_ctx *pipe, bool lock);
240 void (*get_position)(struct pipe_ctx **pipe_ctx, int num_pipes,
241 struct crtc_position *position);
242 int (*get_vupdate_offset_from_vsync)(struct pipe_ctx *pipe_ctx);
244 struct dc *dc,
245 struct pipe_ctx *pipe_ctx,
248 void (*enable_per_frame_crtc_position_reset)(struct dc *dc,
249 int group_size, struct pipe_ctx *grouped_pipes[]);
250 void (*enable_timing_synchronization)(struct dc *dc,
251 struct dc_state *state,
253 struct pipe_ctx *grouped_pipes[]);
254 void (*enable_vblanks_synchronization)(struct dc *dc,
256 struct pipe_ctx *grouped_pipes[]);
257 void (*setup_periodic_interrupt)(struct dc *dc,
258 struct pipe_ctx *pipe_ctx);
259 void (*set_drr)(struct pipe_ctx **pipe_ctx, int num_pipes,
260 struct dc_crtc_timing_adjust adjust);
261 void (*set_static_screen_control)(struct pipe_ctx **pipe_ctx,
263 const struct dc_static_screen_params *events);
266 void (*enable_stream)(struct pipe_ctx *pipe_ctx);
267 void (*disable_stream)(struct pipe_ctx *pipe_ctx);
268 void (*blank_stream)(struct pipe_ctx *pipe_ctx);
269 void (*unblank_stream)(struct pipe_ctx *pipe_ctx,
270 struct dc_link_settings *link_settings);
273 void (*prepare_bandwidth)(struct dc *dc, struct dc_state *context);
274 bool (*update_bandwidth)(struct dc *dc, struct dc_state *context);
275 void (*optimize_bandwidth)(struct dc *dc, struct dc_state *context);
278 void (*set_avmute)(struct pipe_ctx *pipe_ctx, bool enable);
280 struct pipe_ctx *pipe_ctx,
283 void (*update_info_frame)(struct pipe_ctx *pipe_ctx);
284 void (*set_dmdata_attributes)(struct pipe_ctx *pipe);
285 void (*program_dmdata_engine)(struct pipe_ctx *pipe_ctx);
286 bool (*dmdata_status_done)(struct pipe_ctx *pipe_ctx);
289 void (*set_cursor_position)(struct pipe_ctx *pipe);
290 void (*set_cursor_attribute)(struct pipe_ctx *pipe);
291 void (*set_cursor_sdr_white_level)(struct pipe_ctx *pipe);
294 void (*program_gamut_remap)(struct pipe_ctx *pipe_ctx);
295 void (*program_output_csc)(struct dc *dc, struct pipe_ctx *pipe_ctx,
300 int (*init_sys_ctx)(struct dce_hwseq *hws,
301 struct dc *dc,
302 struct dc_phy_addr_space_config *pa_config);
303 void (*init_vm_ctx)(struct dce_hwseq *hws,
304 struct dc *dc,
305 struct dc_virtual_addr_space_config *va_config,
309 void (*update_writeback)(struct dc *dc,
310 struct dc_writeback_info *wb_info,
311 struct dc_state *context);
312 void (*enable_writeback)(struct dc *dc,
313 struct dc_writeback_info *wb_info,
314 struct dc_state *context);
315 void (*disable_writeback)(struct dc *dc,
318 bool (*mmhubbub_warmup)(struct dc *dc,
320 struct dc_writeback_info *wb_info);
323 enum dc_status (*set_clock)(struct dc *dc,
326 void (*get_clock)(struct dc *dc, enum dc_clock_type clock_type,
327 struct dc_clock_config *clock_cfg);
328 void (*optimize_pwr_state)(const struct dc *dc,
329 struct dc_state *context);
330 void (*exit_optimized_pwr_state)(const struct dc *dc,
331 struct dc_state *context);
334 void (*enable_audio_stream)(struct pipe_ctx *pipe_ctx);
335 void (*disable_audio_stream)(struct pipe_ctx *pipe_ctx);
338 void (*setup_stereo)(struct pipe_ctx *pipe_ctx, struct dc *dc);
341 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
342 void (*get_hw_state)(struct dc *dc, char *pBuf,
344 void (*clear_status_bits)(struct dc *dc, unsigned int mask);
346 bool (*set_backlight_level)(struct pipe_ctx *pipe_ctx,
350 void (*set_abm_immediate_disable)(struct pipe_ctx *pipe_ctx);
352 void (*set_pipe)(struct pipe_ctx *pipe_ctx);
354 void (*enable_dp_link_output)(struct dc_link *link,
355 const struct link_resource *link_res,
358 const struct dc_link_settings *link_settings);
359 void (*enable_tmds_link_output)(struct dc_link *link,
360 const struct link_resource *link_res,
365 void (*enable_lvds_link_output)(struct dc_link *link,
366 const struct link_resource *link_res,
369 void (*disable_link_output)(struct dc_link *link,
370 const struct link_resource *link_res,
373 void (*get_dcc_en_bits)(struct dc *dc, int *dcc_en_bits);
376 bool (*apply_idle_power_optimizations)(struct dc *dc, bool enable);
378 bool (*does_plane_fit_in_mall)(struct dc *dc, struct dc_plane_state *plane,
379 struct dc_cursor_attributes *cursor_attr);
380 void (*commit_subvp_config)(struct dc *dc, struct dc_state *context);
381 void (*enable_phantom_streams)(struct dc *dc, struct dc_state *context);
382 void (*disable_phantom_streams)(struct dc *dc, struct dc_state *context);
383 void (*subvp_pipe_control_lock)(struct dc *dc,
384 struct dc_state *context,
387 struct pipe_ctx *top_pipe_to_program,
391 void (*z10_restore)(const struct dc *dc);
392 void (*z10_save_init)(struct dc *dc);
393 bool (*is_abm_supported)(struct dc *dc,
394 struct dc_state *context, struct dc_stream_state *stream);
396 void (*set_disp_pattern_generator)(const struct dc *dc,
397 struct pipe_ctx *pipe_ctx,
401 const struct tg_color *solid_color,
403 void (*blank_phantom)(struct dc *dc,
404 struct timing_generator *tg,
407 void (*update_visual_confirm_color)(struct dc *dc,
408 struct pipe_ctx *pipe_ctx,
410 void (*update_phantom_vp_position)(struct dc *dc,
411 struct dc_state *context,
412 struct pipe_ctx *phantom_pipe);
413 void (*apply_update_flags_for_phantom)(struct pipe_ctx *phantom_pipe);
415 void (*calc_blocks_to_gate)(struct dc *dc, struct dc_state *context,
416 struct pg_block_update *update_state);
417 void (*calc_blocks_to_ungate)(struct dc *dc, struct dc_state *context,
418 struct pg_block_update *update_state);
419 void (*hw_block_power_up)(struct dc *dc,
420 struct pg_block_update *update_state);
421 void (*hw_block_power_down)(struct dc *dc,
422 struct pg_block_update *update_state);
423 void (*root_clock_control)(struct dc *dc,
424 struct pg_block_update *update_state, bool power_on);
425 void (*set_idle_state)(const struct dc *dc, bool allow_idle);
426 uint32_t (*get_idle_state)(const struct dc *dc);
427 bool (*is_pipe_topology_transition_seamless)(struct dc *dc,
428 const struct dc_state *cur_ctx,
429 const struct dc_state *new_ctx);
433 const struct dc *dc,
435 struct tg_color *black_color);
438 struct timing_generator *tg);
445 struct pipe_ctx *pipe_ctx,
446 struct tg_color *color);
448 const struct pipe_ctx *pipe_ctx,
449 struct tg_color *color);
452 struct pipe_ctx *pipe_ctx,
453 struct tg_color *color);
455 struct pipe_ctx *pipe_ctx,
456 struct tg_color *color);
459 struct pipe_ctx *pipe_ctx,
460 struct tg_color *color);
463 struct pipe_ctx *pipe_ctx,
464 struct tg_color *color);
467 struct dc *dc,
468 struct dc_state *context,
469 struct pipe_ctx *pipe_ctx);
471 void hwss_execute_sequence(struct dc *dc,
472 struct block_sequence block_sequence[],
475 void hwss_build_fast_sequence(struct dc *dc,
476 struct dc_dmub_cmd *dc_dmub_cmd,
478 struct block_sequence block_sequence[],
480 struct pipe_ctx *pipe_ctx,
481 struct dc_stream_status *stream_status);