Lines Matching refs:dc

284 struct dc;
290 bool (*get_dcc_compression_cap)(const struct dc *dc,
441 unsigned long long start_tick = dc->debug.bw_val_profile.enable ? \
442 dm_get_timestamp(dc->ctx) : 0
445 if (dc->debug.bw_val_profile.enable) \
446 dc->debug.bw_val_profile.total_count++
449 if (dc->debug.bw_val_profile.enable) { \
451 voltage_level_tick = dm_get_timestamp(dc->ctx); \
452 dc->debug.bw_val_profile.skip_ ## status ## _count++; \
456 if (dc->debug.bw_val_profile.enable) \
457 voltage_level_tick = dm_get_timestamp(dc->ctx)
460 if (dc->debug.bw_val_profile.enable) \
461 watermark_tick = dm_get_timestamp(dc->ctx)
464 if (dc->debug.bw_val_profile.enable) { \
465 end_tick = dm_get_timestamp(dc->ctx); \
466 dc->debug.bw_val_profile.total_ticks += end_tick - start_tick; \
467 dc->debug.bw_val_profile.voltage_level_ticks += voltage_level_tick - start_tick; \
469 dc->debug.bw_val_profile.watermark_ticks += watermark_tick - voltage_level_tick; \
470 dc->debug.bw_val_profile.rq_dlg_ticks += end_tick - watermark_tick; \
696 struct dc { struct
802 struct dc *dc_create(const struct dc_init_data *init_params);
803 void dc_hardware_init(struct dc *dc);
805 int dc_get_vmid_use_vector(struct dc *dc);
806 void dc_setup_vm_context(struct dc *dc, struct dc_virtual_addr_space_config *va_config, int vmid);
808 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config);
809 void dc_init_callbacks(struct dc *dc,
811 void dc_deinit_callbacks(struct dc *dc);
812 void dc_destroy(struct dc **dc);
1065 struct dc_plane_state *dc_create_plane_state(struct dc *dc);
1097 struct dc *dc);
1110 bool dc_validate_seamless_boot_timing(const struct dc *dc,
1114 enum dc_status dc_validate_plane(struct dc *dc, const struct dc_plane_state *plane_state);
1126 struct dc *dc,
1132 const struct dc *dc,
1137 struct dc *dc, bool acquire,
1148 const struct dc *dc,
1153 bool dc_resource_is_dsc_encoding_supported(const struct dc *dc);
1164 bool dc_commit_state(struct dc *dc, struct dc_state *context);
1166 struct dc_state *dc_create_state(struct dc *dc);
1270 uint32_t dc_get_opp_for_plane(struct dc *dc, struct dc_plane_state *plane);
1355 struct dc *dc,
1358 bool dc_interrupt_set(struct dc *dc, enum dc_irq_source src, bool enable);
1359 void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src);
1361 struct dc *dc, uint32_t link_index);
1363 void dc_notify_vsync_int_state(struct dc *dc, struct dc_stream_state *stream, bool enable);
1370 struct dc *dc,
1372 void dc_resume(struct dc *dc);
1374 void dc_power_down_on_boot(struct dc *dc);
1385 bool dc_is_dmcu_initialized(struct dc *dc);
1387 enum dc_status dc_set_clock(struct dc *dc, enum dc_clock_type clock_type, uint32_t clk_khz, uint32_…
1388 void dc_get_clock(struct dc *dc, enum dc_clock_type clock_type, struct dc_clock_config *clock_cfg);
1391 bool dc_is_plane_eligible_for_idle_optimizations(struct dc *dc, struct dc_plane_state *plane,
1394 void dc_allow_idle_optimizations(struct dc *dc, bool allow);
1400 void dc_unlock_memory_clock_frequency(struct dc *dc);
1406 void dc_lock_memory_clock_frequency(struct dc *dc);
1409 void dc_hardware_release(struct dc *dc);
1413 bool dc_set_psr_allow_active(struct dc *dc, bool enable);
1415 void dc_z10_restore(const struct dc *dc);
1416 void dc_z10_save_init(struct dc *dc);
1419 bool dc_enable_dmub_notifications(struct dc *dc);
1421 bool dc_process_dmub_aux_transfer_async(struct dc *dc,
1426 uint8_t get_link_index_from_dpia_port_index(const struct dc *dc,
1429 bool dc_process_dmub_set_config_async(struct dc *dc,
1434 enum dc_status dc_process_dmub_set_mst_slots(const struct dc *dc,
1447 void dc_disable_accelerated_mode(struct dc *dc);