/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 182 struct resource_context *res_ctx; in dc_stream_set_cursor_attributes() local 200 res_ctx = &core_dc->current_state->res_ctx; in dc_stream_set_cursor_attributes() 204 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in dc_stream_set_cursor_attributes() 233 struct resource_context *res_ctx; in dc_stream_set_cursor_position() local 247 res_ctx = &core_dc->current_state->res_ctx; in dc_stream_set_cursor_position() 251 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in dc_stream_set_cursor_position() 278 struct resource_context *res_ctx = in dc_stream_get_vblank_counter() local 279 &core_dc->current_state->res_ctx; in dc_stream_get_vblank_counter() 282 struct timing_generator *tg = res_ctx->pipe_ctx[i].stream_res.tg; in dc_stream_get_vblank_counter() 284 if (res_ctx->pipe_ctx[i].stream != stream) in dc_stream_get_vblank_counter() [all …]
|
D | dc_resource.c | 286 struct resource_context *res_ctx, in resource_unreference_clock_source() argument 293 res_ctx->clock_source_ref_count[i]--; in resource_unreference_clock_source() 296 res_ctx->dp_clock_source_ref_count--; in resource_unreference_clock_source() 300 struct resource_context *res_ctx, in resource_reference_clock_source() argument 307 res_ctx->clock_source_ref_count[i]++; in resource_reference_clock_source() 310 res_ctx->dp_clock_source_ref_count++; in resource_reference_clock_source() 314 struct resource_context *res_ctx, in resource_get_clock_source_reference() argument 321 return res_ctx->clock_source_ref_count[i]; in resource_get_clock_source_reference() 324 return res_ctx->dp_clock_source_ref_count; in resource_get_clock_source_reference() 408 struct resource_context *res_ctx, in resource_find_used_clk_src_for_sharing() argument [all …]
|
D | dc.c | 200 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_adjust_vmin_vmax() 227 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crtc_position() 260 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_configure_crc() 309 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crc() 334 if (link->dc->current_state->res_ctx.pipe_ctx[i].stream == in dc_stream_set_dither_option() 336 pipes = &link->dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_dither_option() 378 if (dc->current_state->res_ctx.pipe_ctx[j].stream in dc_stream_set_static_screen_events() 381 &dc->current_state->res_ctx.pipe_ctx[j]; in dc_stream_set_static_screen_events() 426 link->dc->current_state->res_ctx.pipe_ctx[0].stream; in dc_link_set_preferred_link_settings() 649 dc->current_state->res_ctx.pipe_ctx[i].stream; in disable_dangling_plane() [all …]
|
D | dc_debug.c | 310 struct resource_context *res_ctx) in context_timing_trace() argument 321 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in context_timing_trace() 334 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[i]; in context_timing_trace()
|
D | dc_link_hwss.c | 63 link->dc->current_state->res_ctx.pipe_ctx; in dp_enable_link_phy() 275 &link->dc->current_state->res_ctx.pipe_ctx[0]; in dp_retrain_link_dp_test()
|
D | dc_surface.c | 120 &core_dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status()
|
D | dc_link.c | 2078 if (core_dc->current_state->res_ctx. in dc_link_set_backlight_level() 2086 res_ctx.pipe_ctx[i].stream_res.tg->inst + in dc_link_set_backlight_level()
|
D | dc_link_dp.c | 2591 struct pipe_ctx *pipes = link->dc->current_state->res_ctx.pipe_ctx; in dc_link_dp_set_test_pattern()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/ |
D | resource.h | 97 struct resource_context *res_ctx, 102 struct resource_context *res_ctx, 107 struct resource_context *res_ctx, 116 struct resource_context *res_ctx, 120 struct resource_context *res_ctx, 124 struct resource_context *res_ctx, 135 struct resource_context *res_ctx, 170 struct resource_context *res_ctx,
|
D | core_types.h | 273 struct resource_context res_ctx; member
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 997 if (core_dc->current_state->res_ctx.pipe_ctx[i].stream_res.audio != NULL) in dce110_enable_audio_stream() 1036 update_audio_usage(&dc->current_state->res_ctx, dc->res_pool, pipe_ctx->stream_res.audio, false); in dce110_disable_audio_stream() 1286 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing() 1342 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in apply_single_controller_ctx_to_hw() 1535 dc->current_state->res_ctx.pipe_ctx[i].pipe_idx = i; in disable_vga_and_power_gate_all_controllers() 1537 &dc->current_state->res_ctx.pipe_ctx[i]); in disable_vga_and_power_gate_all_controllers() 1650 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dce110_set_displaymarks() 1679 struct resource_context *res_ctx, in dce110_set_safe_displaymarks() argument 1691 if (res_ctx->pipe_ctx[i].stream == NULL || res_ctx->pipe_ctx[i].plane_res.mi == NULL) in dce110_set_safe_displaymarks() 1694 res_ctx->pipe_ctx[i].plane_res.mi->funcs->mem_input_program_display_marks( in dce110_set_safe_displaymarks() [all …]
|
D | dce110_hw_sequencer.h | 64 struct resource_context *res_ctx,
|
D | dce110_resource.c | 788 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); in build_mapped_resource() 820 context->res_ctx.pipe_ctx, in dce110_validate_bandwidth() 969 struct resource_context *res_ctx = &context->res_ctx; in dce110_acquire_underlay() local 971 struct pipe_ctx *pipe_ctx = &res_ctx->pipe_ctx[underlay_idx]; in dce110_acquire_underlay() 973 if (res_ctx->pipe_ctx[underlay_idx].stream) in dce110_acquire_underlay() 985 if (!dc->current_state->res_ctx.pipe_ctx[underlay_idx].stream) { in dce110_acquire_underlay()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_hw_sequencer.c | 139 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in get_max_pixel_clock_for_all_paths() 165 dce110_set_safe_displaymarks(&context->res_ctx, dc->res_pool); in dce100_set_bandwidth()
|
D | dce100_resource.c | 700 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); in build_mapped_resource() 720 if (context->res_ctx.pipe_ctx[i].stream) in dce100_validate_bandwidth()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 609 struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in false_optc_underflow_wa() 742 if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx) in reset_back_end_for_pipe() 764 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 789 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 802 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 812 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 824 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery() 1020 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_init_hw() 1051 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_init_hw() 1105 &dc->current_state->res_ctx.pipe_ctx[i]; in reset_hw_ctx_wrap() [all …]
|
D | dcn10_resource.c | 969 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); in build_mapped_resource() 1020 struct resource_context *res_ctx = &context->res_ctx; in dcn10_acquire_idle_pipe_for_layer() local 1021 struct pipe_ctx *head_pipe = resource_get_head_pipe_for_stream(res_ctx, stream); in dcn10_acquire_idle_pipe_for_layer() 1022 struct pipe_ctx *idle_pipe = find_idle_secondary_pipe(res_ctx, pool); in dcn10_acquire_idle_pipe_for_layer()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/include/ |
D | logger_interface.h | 59 struct resource_context *res_ctx);
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 717 struct resource_context *res_ctx, in find_matching_pll() argument 746 struct pipe_ctx *pipe_ctx = resource_get_head_pipe_for_stream(&context->res_ctx, stream); in build_mapped_resource() 772 context->res_ctx.pipe_ctx, in dce112_validate_bandwidth() 837 &context->res_ctx, stream); in resource_map_phy_clock_resources() 848 &context->res_ctx, dc->res_pool, in resource_map_phy_clock_resources() 855 &context->res_ctx, in resource_map_phy_clock_resources()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/irq/dce110/ |
D | irq_service_dce110.c | 208 core_dc->current_state->res_ctx.pipe_ctx[pipe_offset].stream_res.tg; in dce110_vblank_set()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 496 struct resource_context *res_ctx, in split_stream_across_pipes() argument 830 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn_validate_bandwidth() 1082 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn_validate_bandwidth() 1143 hsplit_pipe = find_idle_secondary_pipe(&context->res_ctx, pool); in dcn_validate_bandwidth() 1146 &context->res_ctx, pool, in dcn_validate_bandwidth()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 617 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[inst]; in dce110_get_pll_pixel_rate_in_hz() 632 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[inst]; in dce110_get_dp_pixel_rate_from_combo_phy_pll()
|
D | dce_clocks.c | 546 struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn1_ramp_up_dispclk_with_dpp()
|