Home
last modified time | relevance | path

Searched refs:dc_state (Results 1 – 25 of 60) sorted by relevance

123

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.h36 struct dc_state *context,
40 struct dc_state *context,
45 struct dc_state *context,
49 struct dc_state *context,
64 bool dcn20_validate_bandwidth_fp(struct dc *dc, struct dc_state *context,
76 struct dc_state *context,
79 bool dcn21_validate_bandwidth_fp(struct dc *dc, struct dc_state *context, enum
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_dc_resource_mgmt.c
H A Ddml2_wrapper_fpu.c
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.h30 struct dc_state *context,
34 struct dc_state *context,
37 struct dc_state *context, bool safe_to_lower);
49 struct dc_state *context,
54 struct dc_state *context);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.h38 void dcn31_update_soc_for_wm_a(struct dc *dc, struct dc_state *context);
39 void dcn315_update_soc_for_wm_a(struct dc *dc, struct dc_state *context);
42 struct dc *dc, struct dc_state *context,
56 struct dc_state *context,
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A Ddce110_clk_mgr.h34 const struct dc_state *context,
40 struct dc_state *context);
42 uint32_t dce110_get_min_vblank_time_us(const struct dc_state *context);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.h34 void dcn314_update_odm(struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx);
42 void dcn314_calculate_pix_rate_divider(struct dc *dc, struct dc_state *context, const struct dc_str…
44 void dcn314_resync_fifo_dccg_dio(struct dce_hwseq *hws, struct dc *dc, struct dc_state *context, un…
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c1318 struct dc_state *dc_state, in compute_mst_dsc_configs_for_link()
1342 DRM_DEBUG_DRIVER("%s: MST_DSC Try to set up params from %d streams\n", __func__, dc_state->stream_count); in compute_mst_dsc_configs_for_link()
1343 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link()
1348 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_link()
1505 struct dc_state *dc_state, in is_dsc_need_re_compute()
1529 DRM_DEBUG_DRIVER("%s: MST_DSC check on %d streams in new dc_state\n", __func__, dc_state->stream_count); in is_dsc_need_re_compute()
1532 for (i = 0; i < dc_state in is_dsc_need_re_compute()
1309 compute_mst_dsc_configs_for_link(struct drm_atomic_commit * state,struct dc_state * dc_state,struct dc_link * dc_link,struct dsc_mst_fairness_vars * vars,struct drm_dp_mst_topology_mgr * mgr,int * link_vars_start_index) compute_mst_dsc_configs_for_link() argument
1482 is_dsc_need_re_compute(struct drm_atomic_commit * state,struct dc_state * dc_state,struct dc_link * dc_link) is_dsc_need_re_compute() argument
1613 compute_mst_dsc_configs_for_state(struct drm_atomic_commit * state,struct dc_state * dc_state,struct dsc_mst_fairness_vars * vars) compute_mst_dsc_configs_for_state() argument
1683 pre_compute_mst_dsc_configs_for_state(struct drm_atomic_commit * state,struct dc_state * dc_state,struct dsc_mst_fairness_vars * vars) pre_compute_mst_dsc_configs_for_state() argument
[all...]
H A Damdgpu_dm.c40 #include "dc/dc_state.h"
144 STATIC_IFN_KUNIT void dm_enable_per_frame_crtc_master_sync(struct dc_state *context);
1454 struct dc_state *state, bool enable) in dm_gpureset_toggle_interrupts()
1507 DEFINE_FREE(state_release, struct dc_state *, dc_state_release(_T)) in dm_cache_state()
1511 struct dc_state *context __free(state_release) = NULL; in dm_cache_state()
1602 if (dm_new_plane_state->dc_state) { in dm_suspend()
1603 WARN_ON(kref_read(&dm_new_plane_state->dc_state->refcount) > 1); in dm_suspend()
1604 dc_plane_state_release(dm_new_plane_state->dc_state); in dm_suspend()
1605 dm_new_plane_state->dc_state = NULL; in dm_suspend()
1776 STATIC_IFN_KUNIT void dm_gpureset_commit_state(struct dc_state *dc_stat in amdgpu_dm_apply_delay_after_dpcd_poweroff()
1463 DEFINE_FREE(state_release,struct dc_state *,if (_T)dc_state_release (_T)) DEFINE_FREE() argument
1728 dm_gpureset_commit_state(struct dc_state * dc_state,struct amdgpu_display_manager * dm) dm_gpureset_commit_state() argument
1856 struct dc_state *dc_state; dm_resume() local
3281 dm_update_mst_vcpi_slots_for_dsc(struct drm_atomic_commit * state,struct dc_state * dc_state,struct dsc_mst_fairness_vars * vars) dm_update_mst_vcpi_slots_for_dsc() argument
4471 amdgpu_dm_commit_streams(struct drm_atomic_commit * state,struct dc_state * dc_state) amdgpu_dm_commit_streams() argument
5041 struct dc_state *dc_state = NULL; amdgpu_dm_atomic_commit_tail() local
[all...]
H A Damdgpu_dm.h619 struct dc_state *cached_dc_state;
974 struct dc_plane_state *dc_state;
1099 struct dc_state *context;
1280 void dm_gpureset_commit_state(struct dc_state *dc_state, struct amdgpu_display_manager *dm);
1296 void dm_enable_per_frame_crtc_master_sync(struct dc_state *context);
1337 void dm_gpureset_toggle_interrupts(struct amdgpu_device *adev, struct dc_state *state, bool enable);
1355 int dm_update_mst_vcpi_slots_for_dsc(struct drm_atomic_commit *state, struct dc_state *dc_state,
951 struct dc_plane_state *dc_state; global() member
H A Damdgpu_dm_plane.c1288 if (dm_plane_state_new->dc_state && in amdgpu_dm_plane_helper_prepare_fb()
1289 dm_plane_state_old->dc_state != dm_plane_state_new->dc_state) { in amdgpu_dm_plane_helper_prepare_fb()
1291 dm_plane_state_new->dc_state; in amdgpu_dm_plane_helper_prepare_fb()
1536 if (!dm_plane_state->dc_state) in amdgpu_dm_plane_atomic_check()
1561 if (dc_validate_plane(dc, dm_plane_state->dc_state) == DC_OK) in amdgpu_dm_plane_atomic_async_check()
1759 if (!dm_plane_state || !dm_plane_state->dc_state)
1762 dc_plane_state = dm_plane_state->dc_state;
1846 if (old_dm_plane_state->dc_state) { in amdgpu_dm_plane_format_mod_supported()
1847 dm_plane_state->dc_state in amdgpu_dm_plane_format_mod_supported()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_plane_priv.h33 uint8_t dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane_state *plane_state);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn351/
H A Ddcn351_hwseq.h32 void dcn351_calc_blocks_to_gate(struct dc *dc, struct dc_state *context,
34 void dcn351_calc_blocks_to_ungate(struct dc *dc, struct dc_state *context,
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.h53 struct dc_state *context,
69 struct dc_state *context,
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c128 static void start_new_topology_snapshot(struct dc *dc, struct dc_state *state) in start_new_topology_snapshot()
1845 struct dc_state *context) in resource_find_free_secondary_pipe_legacy()
2364 bool resource_is_pipe_topology_changed(const struct dc_state *state_a, in resource_is_pipe_topology_changed()
2365 const struct dc_state *state_b) in resource_is_pipe_topology_changed()
2525 static void resource_log_pipe_for_stream(struct dc *dc, struct dc_state *state, in resource_log_pipe_for_stream()
2562 static int resource_stream_to_stream_idx(struct dc_state *state, in resource_stream_to_stream_idx()
2582 void resource_log_pipe_topology_update(struct dc *dc, struct dc_state *state) in resource_log_pipe_topology_update()
2660 struct dc_state *context, in update_pipe_params_after_odm_slice_count_change()
2683 struct dc_state *context, in acquire_first_split_pipe()
3111 static void swap_dio_link_enc_to_muxable_ctx(struct dc_state *contex
[all...]
H A Ddc.c38 #include "dc_state.h"
136 * struct dc_state - The global DC state to track global state information,
191 static int get_seamless_boot_stream_count(struct dc_state *ctx) in get_seamless_boot_stream_count()
1200 struct dc_state *context) in disable_all_writeback_pipes_for_stream()
1211 struct dc_state *context, in apply_ctx_interdependent_lock()
1237 static void dc_update_visual_confirm_color(struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx) in dc_update_visual_confirm_color()
1420 static void disable_dangling_plane(struct dc *dc, struct dc_state *context) in disable_dangling_plane()
1423 struct dc_state *dangling_context = dc_state_create_current_copy(dc); in disable_dangling_plane()
1424 struct dc_state *current_ctx; in disable_dangling_plane()
1530 struct dc_state *contex in disable_vbios_mode_if_required()
[all...]
H A Ddc_surface.c68 uint8_t dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane_state *plane_state) in dc_plane_get_pipe_mask() argument
74 struct pipe_ctx *pipe_ctx = &dc_state->res_ctx.pipe_ctx[i]; in dc_plane_get_pipe_mask()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.h36 struct dc_state *context, bool safe_to_lower);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/
H A Ddcn301_fpu.h37 struct dc_state *context,
/linux/arch/mips/mm/
H A Dcerr-sb1.c445 struct dc_state { struct
450 static struct dc_state dc_states[] = { argument
466 struct dc_state *dsc = dc_states; in dc_state_str()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.h46 struct dc_state *context,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.h38 void dcn201_plane_atomic_disconnect(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ctx);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c178 struct dc_state *state, in dcn60_apply_single_controller_ctx_to_hw()
300 struct dc_state *context, in dcn60_apply_single_controller_ctx_to_hw()
448 struct dc_state *context) in dcn60_setup_audio_dto()
578 struct dc_state *context) in dcn60_init_hw()
979 struct dc_state *context) in dcn60_build_hubbub_perfmon_sequence()
1008 struct dc_state *context, in dcn60_update_probe_status()
1225 void dcn60_program_perfmon(struct dc *dc, struct dc_state *context)
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/
H A Ddcn60_clk_mgr.c187 struct dc_state *context, bool safe_to_lower, int ref_dppclk_khz) in dcn60_update_clocks_update_dpp_dto()
246 struct dc_state *context, in dcn60_update_clocks_update_dtb_dto()
284 struct dc_state *context, in dcn60_build_update_display_clocks_sequence()
1055 struct dc_state *context) in dcn60_make_bandwidth_clocks_update_action()
1277 struct dc_state *context, in dcn60_update_bandwidth_clocks_state_with_action()
1538 struct dc_state *context, in dcn60_build_clock_update_for_bls()
1560 struct dc_state *context, in dcn60_build_clock_update_for_bls()
1604 struct dc_state *context = dc->current_state; in dcn60_clk_mgr_construct()
1743 struct dc_state *context,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1439 enum dc_status dcn30_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… in dcn30_add_stream_to_ctx()
1479 struct dc *dc, struct dc_state *context, in dcn30_populate_dml_pipes_from_context()
1535 struct dc_state *context, in dcn30_set_mcif_arb_params()
1745 struct dc_state *context, in dcn30_find_split_pipe()
1787 struct dc_state *context, in dcn30_internal_validate_bw()
2047 static int get_refresh_rate(struct dc_state *context) in get_refresh_rate()
2076 static int get_frame_rate_at_max_stretch_100hz(struct dc_state *context) in get_frame_rate_at_max_stretch_100hz()
2106 static bool is_refresh_rate_support_mclk_switch_using_fw_based_vblank_stretch(struct dc_state *cont… in is_refresh_rate_support_mclk_switch_using_fw_based_vblank_stretch()
2123 bool dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch(struct dc *dc, struct dc_state *co… in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
2174 void dcn30_setup_mclk_switch_using_fw_based_vblank_stretch(struct dc *dc, struct dc_state *context) in dcn30_setup_mclk_switch_using_fw_based_vblank_stretch()
[all …]

123