/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 1349 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing() local 1353 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 1387 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 1957 struct pipe_ctx *pipe_ctx_old = in dce110_reset_hw_ctx_wrap() local 1967 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap() 1971 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dce110_reset_hw_ctx_wrap() 1972 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dce110_reset_hw_ctx_wrap() 1978 core_link_disable_stream(pipe_ctx_old); in dce110_reset_hw_ctx_wrap() 1981 if (pipe_ctx_old in dce110_reset_hw_ctx_wrap() 2121 struct pipe_ctx *pipe_ctx_old = dce110_apply_ctx_to_hw() local 2146 struct pipe_ctx *pipe_ctx_old = dce110_apply_ctx_to_hw() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hwseq.c | 574 struct pipe_ctx *pipe_ctx_old = in dcn31_reset_hw_ctx_wrap() local 578 if (!pipe_ctx_old->stream) in dcn31_reset_hw_ctx_wrap() 581 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap() 585 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn31_reset_hw_ctx_wrap() 586 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn31_reset_hw_ctx_wrap() 588 dcn31_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn31_reset_hw_ctx_wrap() 590 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn31_reset_hw_ctx_wrap()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 1417 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing() local 1421 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 1464 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 2081 struct pipe_ctx *pipe_ctx_old = in dce110_reset_hw_ctx_wrap() local 2091 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap() 2095 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dce110_reset_hw_ctx_wrap() 2096 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dce110_reset_hw_ctx_wrap() 2102 dc->link_srv->set_dpms_off(pipe_ctx_old); in dce110_reset_hw_ctx_wrap() 2105 if (pipe_ctx_old in dce110_reset_hw_ctx_wrap() 2261 struct pipe_ctx *pipe_ctx_old = dce110_apply_ctx_to_hw() local 2286 struct pipe_ctx *pipe_ctx_old = dce110_apply_ctx_to_hw() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 3743 struct pipe_ctx *pipe_ctx_old, in pipe_need_reprogram() 3746 if (!pipe_ctx_old->stream) in pipe_need_reprogram() 3749 if (pipe_ctx_old->stream->sink != pipe_ctx->stream->sink) in pipe_need_reprogram() 3752 if (pipe_ctx_old->stream->signal != pipe_ctx->stream->signal) in pipe_need_reprogram() 3755 if (pipe_ctx_old->stream_res.audio != pipe_ctx->stream_res.audio) in pipe_need_reprogram() 3758 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source in pipe_need_reprogram() 3759 && pipe_ctx_old->stream != pipe_ctx->stream) in pipe_need_reprogram() 3762 if (pipe_ctx_old->stream_res.stream_enc != pipe_ctx->stream_res.stream_enc) in pipe_need_reprogram() 3765 if (dc_is_timing_changed(pipe_ctx_old->stream, pipe_ctx->stream)) in pipe_need_reprogram() 3768 if (pipe_ctx_old in pipe_need_reprogram() 3742 pipe_need_reprogram( struct pipe_ctx *pipe_ctx_old, struct pipe_ctx *pipe_ctx) pipe_need_reprogram() argument 4086 struct pipe_ctx *pipe_ctx_old, *pipe_ctx, *pipe_ctx_syncd; reset_syncd_pipes_from_disabled_pipes() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 2748 struct pipe_ctx *pipe_ctx_old, in pipe_need_reprogram() 2751 if (!pipe_ctx_old->stream) in pipe_need_reprogram() 2754 if (pipe_ctx_old->stream->sink != pipe_ctx->stream->sink) in pipe_need_reprogram() 2757 if (pipe_ctx_old->stream->signal != pipe_ctx->stream->signal) in pipe_need_reprogram() 2760 if (pipe_ctx_old->stream_res.audio != pipe_ctx->stream_res.audio) in pipe_need_reprogram() 2763 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source in pipe_need_reprogram() 2764 && pipe_ctx_old->stream != pipe_ctx->stream) in pipe_need_reprogram() 2767 if (pipe_ctx_old->stream_res.stream_enc != pipe_ctx->stream_res.stream_enc) in pipe_need_reprogram() 2770 if (is_timing_changed(pipe_ctx_old->stream, pipe_ctx->stream)) in pipe_need_reprogram() 2773 if (pipe_ctx_old in pipe_need_reprogram() 2747 pipe_need_reprogram( struct pipe_ctx *pipe_ctx_old, struct pipe_ctx *pipe_ctx) pipe_need_reprogram() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | resource.h | 166 struct pipe_ctx *pipe_ctx_old,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | resource.h | 396 struct pipe_ctx *pipe_ctx_old,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 2206 struct pipe_ctx *pipe_ctx_old = in dcn20_reset_hw_ctx_wrap() local 2210 if (!pipe_ctx_old->stream) in dcn20_reset_hw_ctx_wrap() 2213 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn20_reset_hw_ctx_wrap() 2217 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn20_reset_hw_ctx_wrap() 2218 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn20_reset_hw_ctx_wrap() 2220 dcn20_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn20_reset_hw_ctx_wrap()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 2566 struct pipe_ctx *pipe_ctx_old = in dcn20_reset_hw_ctx_wrap() local 2570 if (!pipe_ctx_old->stream) in dcn20_reset_hw_ctx_wrap() 2573 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn20_reset_hw_ctx_wrap() 2577 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn20_reset_hw_ctx_wrap() 2578 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn20_reset_hw_ctx_wrap() 2580 dcn20_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn20_reset_hw_ctx_wrap() 2582 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn20_reset_hw_ctx_wrap()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 1510 struct pipe_ctx *pipe_ctx_old = in dcn10_reset_hw_ctx_wrap() local 1514 if (!pipe_ctx_old->stream) in dcn10_reset_hw_ctx_wrap() 1517 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap() 1521 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn10_reset_hw_ctx_wrap() 1522 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn10_reset_hw_ctx_wrap() 1524 dcn10_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn10_reset_hw_ctx_wrap()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer.c | 1671 struct pipe_ctx *pipe_ctx_old = in dcn10_reset_hw_ctx_wrap() local 1675 if (!pipe_ctx_old->stream) in dcn10_reset_hw_ctx_wrap() 1678 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap() 1682 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn10_reset_hw_ctx_wrap() 1683 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn10_reset_hw_ctx_wrap() 1685 dcn10_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn10_reset_hw_ctx_wrap() 1687 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn10_reset_hw_ctx_wrap()
|