/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_stream.h | 46 struct dc_stream_state *paired_stream; // master / slave stream 184 struct dc_stream_state { struct 320 struct dc_stream_state *stream; argument 365 struct dc_stream_state *old_stream, struct dc_stream_state *stream); 367 struct dc_stream_state *old_stream, struct dc_stream_state *stream); 385 struct dc_stream_state *dc_stream, 401 struct dc_stream_state *stream, 407 void dc_stream_log(const struct dc *dc, const struct dc_stream_state *stream); 410 struct dc_stream_state *dc_get_stream_at_index(struct dc *dc, uint8_t i); 415 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 | 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 …]
|
H A D | dml2_mall_phantom.c | 265 struct dc_stream_state *stream = pipe->stream; in assign_subvp_pipe() 360 struct dc_stream_state *phantom = NULL; in subvp_subvp_schedulable() 438 struct dc_stream_state *phantom_stream; in dml2_svp_drr_schedulable() 524 struct dc_stream_state *phantom_stream; in subvp_vblank_schedulable() 652 struct dc_stream_state *phantom_stream, in set_phantom_stream_timing() 715 static struct dc_stream_state *enable_phantom_stream(struct dml2_context *ctx, struct dc_state *sta… in enable_phantom_stream() 718 struct dc_stream_state *phantom_stream = ctx->config.svp_pstate.callbacks.create_phantom_stream( in enable_phantom_stream() 738 struct dc_stream_state *phantom_stream, in enable_phantom_plane() 786 struct dc_stream_state *phantom_stream = NULL; in add_phantom_pipes_for_main_pipe() 812 static bool remove_all_phantom_planes_for_stream(struct dml2_context *ctx, struct dc_stream_state *… in remove_all_phantom_planes_for_stream() [all …]
|
H A D | dml2_utils.h | 46 bool dml2_is_stereo_timing(const struct dc_stream_state *stream); 96 …ild_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream);
|
/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() 382 struct dc_stream_state *stream) in dc_state_add_stream() 411 struct dc_stream_state *stream) in dc_state_remove_stream() 469 struct dc_stream_state *stream, in dc_state_add_plane() 537 struct dc_stream_state *stream, in dc_state_remove_plane() 598 struct dc_stream_state *stream, in dc_state_rem_all_planes_for_stream() 630 struct dc_stream_state *stream, in dc_state_add_all_planes_for_stream() 659 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 …]
|
/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);
|
/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);
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_utils.c | 94 struct dc_stream_state *dc_main_stream; in dml21_find_dc_pipes_for_plane() 97 struct dc_stream_state *dc_phantom_stream; in dml21_find_dc_pipes_for_plane() 341 static struct dc_stream_state *dml21_add_phantom_stream(struct dml2_context *dml_ctx, in dml21_add_phantom_stream() 344 struct dc_stream_state *main_stream, in dml21_add_phantom_stream() 347 struct dc_stream_state *phantom_stream; in dml21_add_phantom_stream() 381 struct dc_stream_state *phantom_stream, in dml21_add_phantom_plane() 423 struct dc_stream_state *main_stream; in dml21_handle_phantom_streams_planes() 425 struct dc_stream_state *phantom_stream; in dml21_handle_phantom_streams_planes() 491 struct dc_stream_state *phantom_stream; in dml21_build_fams2_programming() 496 struct dc_stream_state *stream = context->streams[i]; in dml21_build_fams2_programming()
|