| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.h | 48 void dcn32_commit_subvp_config(struct dc *dc, struct dc_state *context); 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); 72 void dcn32_update_odm(struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx); 78 void dcn32_resync_fifo_dccg_dio(struct dce_hwseq *hws, struct dc *dc, struct dc_state *context, uns… 81 struct dc_state *context, 94 void dcn32_calculate_pix_rate_divider(struct dc *dc, struct dc_state *context, const struct dc_stre… 101 struct dc_state *context, 111 struct dc_state *context, [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.h | 39 struct dc_state *context); 42 struct dc_state *context); 57 void dcn20_disable_plane(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ctx); 72 struct dc_state *context); 75 struct dc_state *context); 78 struct dc_state *context); 81 struct dc_state *context); 84 struct dc_state *context, 92 struct dc_state *context); 117 struct dc_state *context); [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| H A D | dcn20_fpu.h | 36 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 D | dml2_dc_resource_mgmt.c | 58 static bool get_plane_id(struct dml2_context *dml2, const struct dc_state *state, const struct dc_p… in get_plane_id() 109 static struct pipe_ctx *find_master_pipe_of_stream(struct dml2_context *ctx, struct dc_state *state… in find_master_pipe_of_stream() 124 struct dc_state *state, unsigned int plane_id) in find_master_pipe_of_plane() 142 struct dc_state *state, unsigned int plane_id, unsigned int *pipes) in find_pipes_assigned_to_plane() 179 static bool validate_pipe_assignment(const struct dml2_context *ctx, const struct dc_state *state, … in validate_pipe_assignment() 247 static unsigned int find_preferred_pipe_candidates(const struct dc_state *existing_state, in find_preferred_pipe_candidates() 294 static unsigned int find_last_resort_pipe_candidates(const struct dc_state *existing_state, in find_last_resort_pipe_candidates() 346 struct dc_state *state, // The state we want to find a free mapping in in find_more_pipes_for_stream() 351 …const struct dc_state *existing_state) // The state (optional) that we want to minimize remapping … in find_more_pipes_for_stream() 415 struct dc_state *state, // The state we want to find a free mapping in in find_more_free_pipes() [all …]
|
| H A D | dml2_wrapper_fpu.c | 160 …ate_lowest_supported_state_for_temp_read(struct dml2_context *dml2, struct dc_state *display_state, in calculate_lowest_supported_state_for_temp_read() 269 struct dc_state *display_state, in dml_mode_support_wrapper() 359 static bool call_dml_mode_support_and_programming(struct dc_state *context, enum dc_validate_mode v… in call_dml_mode_support_and_programming() 401 bool dml2_validate_and_build_resource(const struct dc *in_dc, struct dc_state *context, in dml2_validate_and_build_resource() 511 bool dml2_validate_only(struct dc_state *context, enum dc_validate_mode validate_mode) in dml2_validate_only() 558 void dml2_prepare_mcache_programming(struct dc *in_dc, struct dc_state *context, struct dml2_contex… in dml2_prepare_mcache_programming()
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
| H A D | dcn20_clk_mgr.h | 30 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);
|
| H A D | dcn20_clk_mgr.c | 105 struct dc_state *context, bool safe_to_lower) in dcn20_update_clocks_update_dpp_dto() 127 void dcn20_update_clocks_update_dentist(struct clk_mgr_internal *clk_mgr, struct dc_state *context) in dcn20_update_clocks_update_dentist() 217 struct dc_state *context, in dcn2_update_clocks() 347 struct dc_state *context, in dcn2_update_clocks_fpga() 453 struct dc_state *context, in dcn2_get_clock()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
| H A D | dcn31_fpu.h | 38 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 D | dce110_clk_mgr.h | 34 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/amdgpu_dm/ |
| H A D | amdgpu_dm_mst_types.c | 1258 struct dc_state *dc_state, in compute_mst_dsc_configs_for_link() 1282 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() 1283 for (i = 0; i < dc_state->stream_count; i++) { in compute_mst_dsc_configs_for_link() 1286 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_link() 1431 struct dc_state *dc_state, in is_dsc_need_re_compute() 1455 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() 1458 for (i = 0; i < dc_state in is_dsc_need_re_compute() 1187 compute_mst_dsc_configs_for_link(struct drm_atomic_state * 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 1352 is_dsc_need_re_compute(struct drm_atomic_state * state,struct dc_state * dc_state,struct dc_link * dc_link) is_dsc_need_re_compute() argument 1483 compute_mst_dsc_configs_for_state(struct drm_atomic_state * state,struct dc_state * dc_state,struct dsc_mst_fairness_vars * vars) compute_mst_dsc_configs_for_state() argument 1553 pre_compute_mst_dsc_configs_for_state(struct drm_atomic_state * state,struct dc_state * dc_state,struct dsc_mst_fairness_vars * vars) pre_compute_mst_dsc_configs_for_state() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
| H A D | dcn314_hwseq.h | 34 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/dc/clk_mgr/dcn401/ |
| H A D | dcn401_clk_mgr.h | 56 struct dc_state *context; 62 struct dc_state *context; 67 struct dc_state *context;
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_utils.c | 36 bool dml21_get_plane_id(const struct dc_state *state, const struct dc_plane_state *plane, unsigned int *plane_id) in dml21_get_plane_id() 85 struct dc_state *context, in dml21_find_dc_pipes_for_plane() 147 struct dc_state *context, in dml21_pipe_populate_global_sync() 163 void dml21_populate_mall_allocation_size(struct dc_state *context, in dml21_populate_mall_allocation_size() 197 static bool is_sub_vp_enabled(struct dc *dc, struct dc_state *context) in is_sub_vp_enabled() 213 void dml21_program_dc_pipe(struct dml2_context *dml_ctx, struct dc_state *context, struct pipe_ctx *pipe_ctx, struct dml2_per_plane_programming *pln_prog, in dml21_program_dc_pipe() 244 struct dc_state *context, in dml21_add_phantom_stream() 281 struct dc_state *context, in dml21_add_phantom_plane() 322 void dml21_handle_phantom_streams_planes(const struct dc *dc, struct dc_state *context, struct dml2_context *dml_ctx) in dml21_handle_phantom_streams_planes() 381 struct dc_state *contex in dml21_build_fams2_stream_programming_v2() [all...] |
| H A D | dml21_wrapper_fpu.c | 51 static void dml21_calculate_rq_and_dlg_params(const struct dc *dc, struct dc_state *context, struct… in dml21_calculate_rq_and_dlg_params() 141 static void dml21_prepare_mcache_params(struct dml2_context *dml_ctx, struct dc_state *context, str… in dml21_prepare_mcache_params() 170 static bool dml21_check_mode_support(const struct dc *in_dc, struct dc_state *context, struct dml2_… in dml21_check_mode_support() 199 static bool dml21_mode_check_and_programming(const struct dc *in_dc, struct dc_state *context, stru… in dml21_mode_check_and_programming() 259 bool dml21_validate(const struct dc *in_dc, struct dc_state *context, struct dml2_context *dml_ctx, in dml21_validate() 273 void dml21_prepare_mcache_programming(struct dc *in_dc, struct dc_state *context, struct dml2_conte… in dml21_prepare_mcache_programming()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_plane_priv.h | 33 uint8_t dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane_state *plane_state);
|
| H A D | dc_stream.h | 175 * a stream via the volatile dc_state rather than the static dc_link. 424 struct dc_state *state); 468 struct dc_state *state, 485 struct dc_state *context, 490 void dc_trigger_sync(struct dc *dc, struct dc_state *context); 531 struct dc_state *state, 621 struct dc_state *context);
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn351/ |
| H A D | dcn351_hwseq.h | 32 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,
|
| H A D | dcn351_hwseq.c | 38 void dcn351_calc_blocks_to_gate(struct dc *dc, struct dc_state *context, in dcn351_calc_blocks_to_gate() 58 void dcn351_calc_blocks_to_ungate(struct dc *dc, struct dc_state *context, in dcn351_calc_blocks_to_ungate()
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
| H A D | dce_clk_mgr.h | 36 uint32_t dce_get_max_pixel_clock_for_all_paths(struct dc_state *context);
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dmc_wl.h | 18 spinlock_t lock; /* protects enabled, taken, dc_state and refcount */ 28 u32 dc_state; member 33 void intel_dmc_wl_enable(struct intel_display *display, u32 dc_state);
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/ |
| H A D | dcn35_clk_mgr.h | 53 struct dc_state *context, 69 struct dc_state *context,
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 125 static void start_new_topology_snapshot(struct dc *dc, struct dc_state *state) in start_new_topology_snapshot() 1776 struct dc_state *context) in resource_find_free_secondary_pipe_legacy() 2295 bool resource_is_pipe_topology_changed(const struct dc_state *state_a, in resource_is_pipe_topology_changed() 2296 const struct dc_state *state_b) in resource_is_pipe_topology_changed() 2456 static void resource_log_pipe_for_stream(struct dc *dc, struct dc_state *state, in resource_log_pipe_for_stream() 2493 static int resource_stream_to_stream_idx(struct dc_state *state, in resource_log_pipe_topology_update() 2513 void resource_log_pipe_topology_update(struct dc *dc, struct dc_state *state) in resource_log_pipe_topology_update() 2591 struct dc_state *context, in update_pipe_params_after_mpc_slice_count_change() 2614 struct dc_state *context, in acquire_first_split_pipe() 3037 static void swap_dio_link_enc_to_muxable_ctx(struct dc_state *contex in add_plane_to_opp_head_pipes() [all...] |
| H A D | dc.c | 38 #include "dc_state.h" 134 * struct dc_state - The global DC state to track global state information, 189 static int get_seamless_boot_stream_count(struct dc_state *ctx) in get_seamless_boot_stream_count() 1137 struct dc_state *context) in disable_all_writeback_pipes_for_stream() 1148 struct dc_state *context, in apply_ctx_interdependent_lock() 1174 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() 1339 static void disable_dangling_plane(struct dc *dc, struct dc_state *context) in disable_dangling_plane() 1342 struct dc_state *dangling_context = dc_state_create_current_copy(dc); in disable_dangling_plane() 1343 struct dc_state *current_ctx; in disable_dangling_plane() 1449 struct dc_state *contex in disable_vbios_mode_if_required() [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn21/ |
| H A D | dcn21_hwseq.c | 99 struct dc_state *context) in dcn21_exit_optimized_pwr_state() 109 struct dc_state *context) in dcn21_optimize_pwr_state() 128 void dcn21_PLAT_58856_wa(struct dc_state *context, struct pipe_ctx *pipe_ctx) in dcn21_PLAT_58856_wa() 288 struct dc_state *context, struct dc_stream_state *stream) in dcn21_is_abm_supported()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 761 struct dc_state *context, in dcn401_enable_stream_timing() 805 struct dc_state *context, in dcn401_enable_stream_calc() 1314 static uint32_t dcn401_calculate_cab_allocation(struct dc *dc, struct dc_state *ctx) in dcn401_prepare_bandwidth() 1446 struct dc_state *context) in update_dsc_for_odm_change() 1508 struct dc_state *context) in dcn401_update_odm() 1560 struct dc_state *context, in dcn401_add_dsc_sequence_for_odm_change() 1596 void dcn401_fams2_update_config(struct dc *dc, struct dc_state *context, bool enable) in dcn401_add_dsc_sequence_for_odm_change() 1612 static void update_dsc_for_odm_change(struct dc *dc, struct dc_state *context, in dcn401_add_dsc_sequence_for_odm_change() 1651 void dcn401_update_odm(struct dc *dc, struct dc_state *context, in dcn401_update_odm_sequence() 1696 static void dcn401_add_dsc_sequence_for_odm_change(struct dc *dc, struct dc_state *contex in dcn401_hardware_release() [all...] |