/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_stream.h | 46 struct dc_stream_state *paired_stream; // master / slave stream 183 struct dc_stream_state { struct 318 struct dc_stream_state *stream; argument 362 struct dc_stream_state *old_stream, struct dc_stream_state *stream); 364 struct dc_stream_state *old_stream, struct dc_stream_state *stream); 382 struct dc_stream_state *dc_stream, 398 struct dc_stream_state *stream, 404 void dc_stream_log(const struct dc *dc, const struct dc_stream_state *stream); 407 struct dc_stream_state *dc_get_stream_at_index(struct dc *dc, uint8_t i); 412 uint32_t dc_stream_get_vblank_counter(const struct dc_stream_state *stream); [all …]
|
H A D | dc_state_priv.h | 32 struct dc_stream_state *dc_state_get_stream_from_id(const struct dc_state *state, unsigned int id); 40 const struct dc_stream_state *stream); 43 struct dc_stream_state *dc_state_get_paired_subvp_stream(const struct dc_state *state, 44 const struct dc_stream_state *stream); 47 struct dc_stream_state *dc_state_create_phantom_stream(const struct dc *dc, 49 struct dc_stream_state *main_stream); 57 struct dc_stream_state *phantom_stream); 65 struct dc_stream_state *phantom_stream, 66 struct dc_stream_state *main_stream); 69 struct dc_stream_state *phantom_stream); [all …]
|
H A D | dc_stream_priv.h | 31 bool dc_stream_construct(struct dc_stream_state *stream, 33 void dc_stream_destruct(struct dc_stream_state *stream); 35 void dc_stream_assign_stream_id(struct dc_stream_state *stream); 41 int dc_stream_calculate_max_flickerless_refresh_rate(struct dc_stream_state *stream, 49 int dc_stream_calculate_min_flickerless_refresh_rate(struct dc_stream_state *stream, 56 bool dc_stream_is_refresh_rate_range_flickerless(struct dc_stream_state *stream, 65 unsigned int dc_stream_get_max_flickerless_instant_vtotal_decrease(struct dc_stream_state *stream, 72 unsigned int dc_stream_get_max_flickerless_instant_vtotal_increase(struct dc_stream_state *stream,
|
H A D | dc_state.h | 44 struct dc_stream_state *stream); 49 struct dc_stream_state *stream); 53 struct dc_stream_state *stream, 59 struct dc_stream_state *stream, 65 struct dc_stream_state *stream, 70 struct dc_stream_state *stream, 77 const struct dc_stream_state *stream);
|
H A D | dm_helpers.h | 80 const struct dc_stream_state *stream, 103 const struct dc_stream_state *stream); 109 const struct dc_stream_state *stream); 116 const struct dc_stream_state *stream); 158 const struct dc_stream_state *stream, 164 void dm_helpers_mst_enable_stream_features(const struct dc_stream_state *stream); 213 bool dm_helpers_is_fullscreen(struct dc_context *ctx, struct dc_stream_state *stream); 214 bool dm_helpers_is_hdr_on(struct dc_context *ctx, struct dc_stream_state *stream);
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_wrapper.h | 40 struct dc_stream_state; 81 const struct dc_stream_state *stream, 96 const struct dc_stream_state *stream); 105 const struct dc_stream_state *stream); 106 struct dc_stream_state *(*get_stream_from_id)(const struct dc_state *state, unsigned int id); 108 struct dc_stream_state *stream, 115 struct dc_stream_state* (*create_phantom_stream)(const struct dc *dc, 117 struct dc_stream_state *main_stream); 123 struct dc_stream_state *phantom_stream, 124 struct dc_stream_state *main_stream); [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 46 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() 63 bool dc_stream_construct(struct dc_stream_state *stream, in dc_stream_construct() 130 void dc_stream_destruct(struct dc_stream_state *stream) in dc_stream_destruct() 135 void dc_stream_assign_stream_id(struct dc_stream_state *stream) in dc_stream_assign_stream_id() 142 void dc_stream_retain(struct dc_stream_state *stream) in dc_stream_retain() 149 struct dc_stream_state *stream = container_of(kref, struct dc_stream_state, refcount); in dc_stream_free() 155 void dc_stream_release(struct dc_stream_state *stream) in dc_stream_release() 162 struct dc_stream_state *dc_create_stream_for_sink( in dc_create_stream_for_sink() 165 struct dc_stream_state *stream; in dc_create_stream_for_sink() 170 stream = kzalloc(sizeof(struct dc_stream_state), GFP_KERNEL); in dc_create_stream_for_sink() [all …]
|
H A D | dc_state.c | 47 struct dc_stream_state *phantom_stream) in dc_state_track_phantom_stream() 57 static bool dc_state_untrack_phantom_stream(struct dc_state *state, struct dc_stream_state *phantom… in dc_state_untrack_phantom_stream() 83 static bool dc_state_is_phantom_stream_tracked(struct dc_state *state, struct dc_stream_state *phan… in dc_state_is_phantom_stream_tracked() 379 struct dc_stream_state *stream) in dc_state_add_stream() 408 struct dc_stream_state *stream) in dc_state_remove_stream() 466 struct dc_stream_state *stream, in dc_state_add_plane() 534 struct dc_stream_state *stream, in dc_state_remove_plane() 595 struct dc_stream_state *stream, in dc_state_rem_all_planes_for_stream() 627 struct dc_stream_state *stream, in dc_state_add_all_planes_for_stream() 656 const struct dc_stream_state *stream) in dc_state_get_stream_status() [all …]
|
H A D | dc_link_enc_cfg.c | 32 static bool is_dig_link_enc_stream(struct dc_stream_state *stream) in is_dig_link_enc_stream() 80 static struct dc_stream_state *get_stream_using_link_enc( in get_stream_using_link_enc() 84 struct dc_stream_state *stream = NULL; in get_stream_using_link_enc() 101 struct dc_stream_state *stream, in remove_link_enc_assignment() 136 struct dc_stream_state *stream, in add_link_enc_assignment() 199 static bool is_avail_link_enc(struct dc_state *state, enum engine_id eng_id, struct dc_stream_state… in is_avail_link_enc() 208 struct dc_stream_state *stream_assigned = NULL; in is_avail_link_enc() 301 struct dc_stream_state *streams[], in link_enc_cfg_link_encs_assign() 320 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign() 342 struct dc_stream_state *stream = state->streams[i]; in link_enc_cfg_link_encs_assign() [all …]
|
H A D | dc_resource.c | 548 struct dc_stream_state *stream1, in resource_are_vblanks_synchronizable() 549 struct dc_stream_state *stream2) in resource_are_vblanks_synchronizable() 591 struct dc_stream_state *stream1, in resource_are_streams_timing_synchronizable() 592 struct dc_stream_state *stream2) in resource_are_streams_timing_synchronizable() 633 struct dc_stream_state *stream1, in is_dp_and_hdmi_sharable() 634 struct dc_stream_state *stream2) in is_dp_and_hdmi_sharable() 882 const struct dc_stream_state *stream = pipe_ctx->stream; in calculate_plane_rec_in_timing_active() 911 const struct dc_stream_state *stream = pipe_ctx->stream; in calculate_mpc_slice_in_timing_active() 1138 const struct dc_stream_state *stream = pipe_ctx->stream; in calculate_scaling_ratios() 1347 static bool is_subvp_high_refresh_candidate(struct dc_stream_state *stream) in is_subvp_high_refresh_candidate() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | resource.h | 103 struct dc_stream_state *stream); 133 struct dc_stream_state *stream1, 134 struct dc_stream_state *stream2); 137 struct dc_stream_state *stream1, 138 struct dc_stream_state *stream2); 151 struct dc_stream_state *dc_stream, 284 struct dc_stream_state *stream); 293 struct dc_stream_state *stream); 336 const struct dc_stream_state *stream, 370 const struct dc_stream_state *stream); [all …]
|
H A D | link_enc_cfg.h | 60 struct dc_stream_state *streams[], 71 struct dc_stream_state *stream); 82 struct dc_stream_state *link_enc_cfg_get_stream_using_link_enc( 102 const struct dc_stream_state *stream); 110 const struct dc_stream_state *stream);
|
H A D | core_types.h | 124 struct dc_stream_state *streams[], 134 struct dc_stream_state *stream); 163 struct dc_stream_state *dc_stream); 168 struct dc_stream_state *stream); 176 struct dc_stream_state *stream); 207 struct dc_stream_state *stream); 422 struct dc_stream_state *stream; 566 struct dc_stream_state *streams[MAX_PIPES]; 575 struct dc_stream_state *phantom_streams[MAX_PHANTOM_PIPES];
|
/linux/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_freesync.h | 114 const struct dc_stream_state *stream, 119 struct dc_stream_state *stream, 133 const struct dc_stream_state *stream, 141 const struct dc_stream_state *stream, 147 const struct dc_stream_state *stream, 152 const struct dc_stream_state *stream, 156 const struct dc_stream_state *stream); 166 const struct dc_stream_state *stream,
|
H A D | mod_info_packet.h | 32 struct dc_stream_state; 36 void mod_build_vsc_infopacket(const struct dc_stream_state *stream, 41 void mod_build_hf_vsif_infopacket(const struct dc_stream_state *stream, 71 void mod_build_adaptive_sync_infopacket(const struct dc_stream_state *stream, 75 void mod_build_adaptive_sync_infopacket_v2(const struct dc_stream_state *stream,
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_psr.h | 35 void amdgpu_dm_psr_enable(struct dc_stream_state *stream); 36 bool amdgpu_dm_link_setup_psr(struct dc_stream_state *stream); 37 bool amdgpu_dm_psr_disable(struct dc_stream_state *stream);
|
H A D | amdgpu_dm_psr.c | 105 bool amdgpu_dm_link_setup_psr(struct dc_stream_state *stream) in amdgpu_dm_link_setup_psr() 145 void amdgpu_dm_psr_enable(struct dc_stream_state *stream) in amdgpu_dm_psr_enable() 204 bool amdgpu_dm_psr_disable(struct dc_stream_state *stream) in amdgpu_dm_psr_disable() 240 struct dc_stream_state *stream = dm->dc->current_state->streams[i]; in amdgpu_dm_psr_is_active_allowed()
|
H A D | amdgpu_dm_replay.h | 42 bool amdgpu_dm_replay_enable(struct dc_stream_state *stream, bool enable); 45 bool amdgpu_dm_replay_disable(struct dc_stream_state *stream);
|
H A D | amdgpu_dm_crtc.h | 33 struct dc_stream_state *new_stream, 34 struct dc_stream_state *old_stream);
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.h | 42 struct dc_stream_state *phantom_stream, 72 …tive_candidate(struct dc *dc, const struct dc_state *context, struct dc_stream_state **fpo_candida… 74 bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, struct dc_stream_state …
|
/linux/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.h | 72 const struct dc_stream_state *stream); 74 const struct dc_stream_state *stream); 76 struct dc_stream_state *stream,
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.h | 163 …ild_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream); 164 …cn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_state *dc_stream); 165 …_dsc_to_stream_resource(struct dc *dc, struct dc_state *dc_ctx, struct dc_stream_state *dc_stream); 166 …remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_state *dc_stream);
|
/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_validation.h | 30 const struct dc_stream_state *stream, 34 const struct dc_stream_state *stream,
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dce100/ |
H A D | dce100_resource.h | 47 struct dc_stream_state *dc_stream); 52 struct dc_stream_state *stream);
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.h | 58 struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream); 62 const struct dc_stream_state *stream); 94 …te_pix_rate_divider(struct dc *dc, struct dc_state *context, const struct dc_stream_state *stream);
|