/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | resource.h | 102 struct resource_context *res_ctx, 107 struct resource_context *res_ctx, 112 struct resource_context *res_ctx, 121 struct resource_context *res_ctx, 125 struct resource_context *res_ctx, 129 struct resource_context *res_ctx, 140 struct resource_context *res_ctx, 173 struct resource_context *res_ctx,
|
D | core_types.h | 138 struct resource_context *res_ctx, 143 struct resource_context *res_ctx, 156 struct resource_context *res_ctx, 163 struct resource_context *res_ctx, 402 struct resource_context res_ctx; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 273 struct resource_context *res_ctx; in dc_stream_set_cursor_attributes() local 294 res_ctx = &dc->current_state->res_ctx; in dc_stream_set_cursor_attributes() 307 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in dc_stream_set_cursor_attributes() 340 struct resource_context *res_ctx; in dc_stream_set_cursor_position() local 357 res_ctx = &dc->current_state->res_ctx; in dc_stream_set_cursor_position() 370 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in dc_stream_set_cursor_position() 531 struct resource_context *res_ctx = in dc_stream_get_vblank_counter() local 532 &dc->current_state->res_ctx; in dc_stream_get_vblank_counter() 535 struct timing_generator *tg = res_ctx->pipe_ctx[i].stream_res.tg; in dc_stream_get_vblank_counter() 537 if (res_ctx->pipe_ctx[i].stream != stream) in dc_stream_get_vblank_counter() [all …]
|
D | dc_resource.c | 372 struct resource_context *res_ctx, in resource_unreference_clock_source() argument 379 res_ctx->clock_source_ref_count[i]--; in resource_unreference_clock_source() 382 res_ctx->dp_clock_source_ref_count--; in resource_unreference_clock_source() 386 struct resource_context *res_ctx, in resource_reference_clock_source() argument 393 res_ctx->clock_source_ref_count[i]++; in resource_reference_clock_source() 396 res_ctx->dp_clock_source_ref_count++; in resource_reference_clock_source() 400 struct resource_context *res_ctx, in resource_get_clock_source_reference() argument 407 return res_ctx->clock_source_ref_count[i]; in resource_get_clock_source_reference() 410 return res_ctx->dp_clock_source_ref_count; in resource_get_clock_source_reference() 504 struct resource_context *res_ctx, in resource_find_used_clk_src_for_sharing() argument [all …]
|
D | dc.c | 294 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_adjust_vmin_vmax() 322 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crtc_position() 355 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_configure_crc() 407 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crc() 431 if (dc->current_state->res_ctx.pipe_ctx[i].stream in dc_stream_set_dyn_expansion() 433 pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_dyn_expansion() 453 if (link->dc->current_state->res_ctx.pipe_ctx[i].stream == in dc_stream_set_dither_option() 455 pipes = &link->dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_dither_option() 490 if (dc->current_state->res_ctx.pipe_ctx[i].stream == stream) { in dc_stream_set_gamut_remap() 491 pipes = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_gamut_remap() [all …]
|
D | dc_debug.c | 309 struct resource_context *res_ctx) in context_timing_trace() argument 319 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in context_timing_trace() 331 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in context_timing_trace()
|
D | dc_surface.c | 152 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status() 164 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1655 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); in dcn20_build_mapped_resource() 1668 struct resource_context *res_ctx, in dcn20_acquire_dsc() argument 1674 …struct display_stream_compressor *dsc_old = dc->current_state->res_ctx.pipe_ctx[pipe_idx].stream_r… in dcn20_acquire_dsc() 1682 res_ctx->is_dsc_acquired[pipe_idx] = true; in dcn20_acquire_dsc() 1687 if (dsc_old && !res_ctx->is_dsc_acquired[dsc_old->inst]) { in dcn20_acquire_dsc() 1689 res_ctx->is_dsc_acquired[dsc_old->inst] = true; in dcn20_acquire_dsc() 1695 if (!res_ctx->is_dsc_acquired[i]) { in dcn20_acquire_dsc() 1697 res_ctx->is_dsc_acquired[i] = true; in dcn20_acquire_dsc() 1702 void dcn20_release_dsc(struct resource_context *res_ctx, in dcn20_release_dsc() argument 1710 res_ctx->is_dsc_acquired[i] = false; in dcn20_release_dsc() [all …]
|
D | dcn20_resource.h | 59 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes); 127 void dcn20_release_dsc(struct resource_context *res_ctx, 132 struct resource_context *res_ctx, 138 struct resource_context *res_ctx, 142 struct resource_context *res_ctx, 146 struct resource_context *res_ctx,
|
D | dcn20_hwseq.c | 1653 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn20_program_front_end_for_ctx() 1655 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn20_program_front_end_for_ctx() 1664 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn20_program_front_end_for_ctx() 1677 dcn20_detect_pipe_changes(&dc->current_state->res_ctx.pipe_ctx[i], in dcn20_program_front_end_for_ctx() 1678 &context->res_ctx.pipe_ctx[i]); in dcn20_program_front_end_for_ctx() 1682 if (context->res_ctx.pipe_ctx[i].update_flags.bits.disable in dcn20_program_front_end_for_ctx() 1683 && !context->res_ctx.pipe_ctx[i].top_pipe in dcn20_program_front_end_for_ctx() 1684 && !context->res_ctx.pipe_ctx[i].prev_odm_pipe in dcn20_program_front_end_for_ctx() 1685 && context->res_ctx.pipe_ctx[i].stream) in dcn20_program_front_end_for_ctx() 1686 hws->funcs.blank_pixel_data(dc, &context->res_ctx.pipe_ctx[i], true); in dcn20_program_front_end_for_ctx() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.h | 64 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes); 71 struct resource_context *res_ctx, 78 struct resource_context *res_ctx,
|
D | dcn30_resource.c | 1453 struct resource_context *res_ctx = &context->res_ctx; in dcn30_populate_dml_pipes_from_context() local 1458 if (!res_ctx->pipe_ctx[i].stream) in dcn30_populate_dml_pipes_from_context() 1469 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes) in dcn30_populate_dml_writeback_from_context() argument 1477 struct dc_stream_state *stream = res_ctx->pipe_ctx[i].stream; in dcn30_populate_dml_writeback_from_context() 1490 (wb_info->writeback_source_plane == res_ctx->pipe_ctx[i].plane_state)) { in dcn30_populate_dml_writeback_from_context() 1595 if (!context->res_ctx.pipe_ctx[i].stream) in dcn30_set_mcif_arb_params() 1599 …struct dc_writeback_info *writeback_info = &context->res_ctx.pipe_ctx[i].stream->writeback_info[j]; in dcn30_set_mcif_arb_params() 1617 …wb_arb_params->time_per_pixel = (1000000 << 6) / context->res_ctx.pipe_ctx[i].stream->phy_pix_clk;… in dcn30_set_mcif_arb_params() 1641 struct resource_context *res_ctx, in dcn30_acquire_post_bldn_3dlut() argument 1656 if (!res_ctx->is_mpc_3dlut_acquired[i]) { in dcn30_acquire_post_bldn_3dlut() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.c | 202 struct resource_context *res_ctx = &link->ctx->dc->current_state->res_ctx; in dmub_psr_copy_settings() local 206 if (res_ctx->pipe_ctx[i].stream && in dmub_psr_copy_settings() 207 res_ctx->pipe_ctx[i].stream->link == link && in dmub_psr_copy_settings() 208 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { in dmub_psr_copy_settings() 209 pipe_ctx = &res_ctx->pipe_ctx[i]; in dmub_psr_copy_settings()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 56 struct resource_context *res_ctx = &context->res_ctx; in dce60_should_enable_fbc() local 71 if (res_ctx->pipe_ctx[i].stream) { in dce60_should_enable_fbc() 73 pipe_ctx = &res_ctx->pipe_ctx[i]; in dce60_should_enable_fbc() 124 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[pipe_idx]; in dce60_enable_fbc() 396 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dce60_apply_ctx_for_surface()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 1032 if (dc->current_state->res_ctx.pipe_ctx[i].stream_res.audio != NULL) in dce110_enable_audio_stream() 1349 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing() 1589 dc->current_state->res_ctx.pipe_ctx[i].pipe_idx = i; in disable_vga_and_power_gate_all_controllers() 1591 &dc->current_state->res_ctx.pipe_ctx[i]); in disable_vga_and_power_gate_all_controllers() 1718 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dce110_set_displaymarks() 1747 struct resource_context *res_ctx, in dce110_set_safe_displaymarks() argument 1759 if (res_ctx->pipe_ctx[i].stream == NULL || res_ctx->pipe_ctx[i].plane_res.mi == NULL) in dce110_set_safe_displaymarks() 1762 res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_display_marks( in dce110_set_safe_displaymarks() 1763 res_ctx->pipe_ctx[i].plane_res.mi, in dce110_set_safe_displaymarks() 1771 res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_chroma_display_marks( in dce110_set_safe_displaymarks() [all …]
|
D | dce110_resource.h | 49 struct resource_context *res_ctx,
|
D | dce110_resource.c | 952 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); in build_mapped_resource() 985 context->res_ctx.pipe_ctx, in dce110_validate_bandwidth() 1135 struct resource_context *res_ctx = &context->res_ctx; in dce110_acquire_underlay() local 1137 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[underlay_idx]; in dce110_acquire_underlay() 1139 if (res_ctx->pipe_ctx[underlay_idx].stream) in dce110_acquire_underlay() 1151 if (!dc->current_state->res_ctx.pipe_ctx[underlay_idx].stream) { in dce110_acquire_underlay() 1205 struct resource_context *res_ctx, in dce110_find_first_free_match_stream_enc_for_link() argument 1214 if (!res_ctx->is_stream_enc_acquired[i] && in dce110_find_first_free_match_stream_enc_for_link()
|
D | dce110_hw_sequencer.h | 63 struct resource_context *res_ctx,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 95 pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_lock_all_pipes() 767 struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in false_optc_underflow_wa() 909 update_audio_usage(&dc->current_state->res_ctx, dc->res_pool, in dcn10_reset_back_end_for_pipe() 934 if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx) in dcn10_reset_back_end_for_pipe() 956 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 981 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 994 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 1004 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 1016 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 1169 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_init_pipes() [all …]
|
D | dcn10_resource.h | 46 struct resource_context *res_ctx,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_hw_sequencer.c | 112 dce110_set_safe_displaymarks(&context->res_ctx, dc->res_pool); in dce100_prepare_bandwidth() 124 dce110_set_safe_displaymarks(&context->res_ctx, dc->res_pool); in dce100_optimize_bandwidth()
|
D | dce100_resource.h | 50 struct resource_context *res_ctx,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 1192 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_clock_en_read() 1290 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_clock_en_write() 1348 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_width_read() 1444 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_width_write() 1502 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_height_read() 1598 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_height_write() 1652 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_bits_per_pixel_read() 1745 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_bits_per_pixel_write() 1797 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_pic_width_read() 1854 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_pic_height_read() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | logger_interface.h | 57 struct resource_context *res_ctx);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
D | dce110_clk_mgr.c | 135 if (stream == context->res_ctx.pipe_ctx[k].stream) { in dce110_fill_display_configs() 136 pipe_ctx = &context->res_ctx.pipe_ctx[k]; in dce110_fill_display_configs()
|