Lines Matching refs:dc
263 struct dc;
269 bool (*get_dcc_compression_cap)(const struct dc *dc,
382 unsigned long long start_tick = dc->debug.bw_val_profile.enable ? \
383 dm_get_timestamp(dc->ctx) : 0
386 if (dc->debug.bw_val_profile.enable) \
387 dc->debug.bw_val_profile.total_count++
390 if (dc->debug.bw_val_profile.enable) { \
392 voltage_level_tick = dm_get_timestamp(dc->ctx); \
393 dc->debug.bw_val_profile.skip_ ## status ## _count++; \
397 if (dc->debug.bw_val_profile.enable) \
398 voltage_level_tick = dm_get_timestamp(dc->ctx)
401 if (dc->debug.bw_val_profile.enable) \
402 watermark_tick = dm_get_timestamp(dc->ctx)
405 if (dc->debug.bw_val_profile.enable) { \
406 end_tick = dm_get_timestamp(dc->ctx); \
407 dc->debug.bw_val_profile.total_ticks += end_tick - start_tick; \
408 dc->debug.bw_val_profile.voltage_level_ticks += voltage_level_tick - start_tick; \
410 dc->debug.bw_val_profile.watermark_ticks += watermark_tick - voltage_level_tick; \
411 dc->debug.bw_val_profile.rq_dlg_ticks += end_tick - watermark_tick; \
564 struct dc { struct
675 struct dc *dc_create(const struct dc_init_data *init_params);
676 void dc_hardware_init(struct dc *dc);
678 int dc_get_vmid_use_vector(struct dc *dc);
679 void dc_setup_vm_context(struct dc *dc, struct dc_virtual_addr_space_config *va_config, int vmid);
681 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config);
682 void dc_init_callbacks(struct dc *dc,
684 void dc_deinit_callbacks(struct dc *dc);
685 void dc_destroy(struct dc **dc);
934 struct dc_plane_state *dc_create_plane_state(struct dc *dc);
966 struct dc *dc);
979 bool dc_validate_seamless_boot_timing(const struct dc *dc,
983 enum dc_status dc_validate_plane(struct dc *dc, const struct dc_plane_state *plane_state);
995 struct dc *dc,
1001 const struct dc *dc,
1006 struct dc *dc, bool acquire,
1017 const struct dc *dc,
1022 bool dc_resource_is_dsc_encoding_supported(const struct dc *dc);
1033 bool dc_commit_state(struct dc *dc, struct dc_state *context);
1035 void dc_power_down_on_boot(struct dc *dc);
1037 struct dc_state *dc_create_state(struct dc *dc);
1133 uint32_t dc_get_opp_for_plane(struct dc *dc, struct dc_plane_state *plane);
1219 struct dc *dc,
1222 bool dc_interrupt_set(struct dc *dc, enum dc_irq_source src, bool enable);
1223 void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src);
1225 struct dc *dc, uint32_t link_index);
1232 struct dc *dc,
1234 void dc_resume(struct dc *dc);
1236 void dc_power_down_on_boot(struct dc *dc);
1247 bool dc_is_dmcu_initialized(struct dc *dc);
1249 enum dc_status dc_set_clock(struct dc *dc, enum dc_clock_type clock_type, uint32_t clk_khz, uint32_…
1250 void dc_get_clock(struct dc *dc, enum dc_clock_type clock_type, struct dc_clock_config *clock_cfg);
1253 bool dc_is_plane_eligible_for_idle_optimizations(struct dc *dc,
1256 void dc_allow_idle_optimizations(struct dc *dc, bool allow);
1262 void dc_unlock_memory_clock_frequency(struct dc *dc);
1268 void dc_lock_memory_clock_frequency(struct dc *dc);
1272 bool dc_set_psr_allow_active(struct dc *dc, bool enable);