Searched refs:pipe_ctx_old (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
| H A D | dcn31_hwseq.c | 588 struct pipe_ctx *pipe_ctx_old = in dcn31_reset_hw_ctx_wrap() local 592 if (!pipe_ctx_old->stream) in dcn31_reset_hw_ctx_wrap() 595 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap() 599 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn31_reset_hw_ctx_wrap() 600 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn31_reset_hw_ctx_wrap() 603 if (!pipe_ctx_old->plane_state && in dcn31_reset_hw_ctx_wrap() 607 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst, 0); in dcn31_reset_hw_ctx_wrap() 610 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst); in dcn31_reset_hw_ctx_wrap() 613 dcn31_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn31_reset_hw_ctx_wrap() 615 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn31_reset_hw_ctx_wrap()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 1522 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 1566 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 2260 struct pipe_ctx *pipe_ctx_old = in dce110_reset_hw_ctx_wrap() local 2270 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap() 2284 if (pipe_ctx_old->stream_res.audio) { in dce110_reset_hw_ctx_wrap() 2300 pipe_ctx_old->stream_res.tg->funcs->set_blank(pipe_ctx_old->stream_res.tg, true); in dce110_reset_hw_ctx_wrap() 2305 pipe_ctx_old->stream_res.tg->funcs->disable_crtc(pipe_ctx_old->stream_res.tg); in dce110_reset_hw_ctx_wrap() 2318 pipe_ctx_old->stream = NULL; in dce110_reset_hw_ctx_wrap() 2442 struct pipe_ctx *pipe_ctx_old = in dce110_apply_ctx_to_hw() local 2471 struct pipe_ctx *pipe_ctx_old = in dce110_apply_ctx_to_hw() local [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 1536 struct pipe_ctx *pipe_ctx_old = in dcn32_disable_phantom_streams() local 1540 if (!pipe_ctx_old->stream) in dcn32_disable_phantom_streams() 1543 if (dc_state_get_pipe_subvp_type(dc->current_state, pipe_ctx_old) != SUBVP_PHANTOM) in dcn32_disable_phantom_streams() 1546 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn32_disable_phantom_streams() 1549 if (!pipe_ctx->stream || pipe_need_reprogram(pipe_ctx_old, pipe_ctx) || in dcn32_disable_phantom_streams() 1551 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn32_disable_phantom_streams() 1554 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn32_disable_phantom_streams() 1556 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn32_disable_phantom_streams() 1588 struct pipe_ctx *pipe_ctx_old = in dcn32_enable_phantom_streams() local 1598 if (pipe_ctx->stream == pipe_ctx_old->stream && in dcn32_enable_phantom_streams() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 4891 struct pipe_ctx *pipe_ctx_old, in pipe_need_reprogram() argument 4894 if (!pipe_ctx_old->stream) in pipe_need_reprogram() 4897 if (pipe_ctx_old->stream->sink != pipe_ctx->stream->sink) in pipe_need_reprogram() 4906 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source in pipe_need_reprogram() 4907 && pipe_ctx_old->stream != pipe_ctx->stream) in pipe_need_reprogram() 4920 false == pipe_ctx_old->stream->dpms_off) in pipe_need_reprogram() 4937 struct dc *dc = pipe_ctx_old->stream->ctx->dc; in pipe_need_reprogram() 5270 struct pipe_ctx *pipe_ctx_old, *pipe_ctx, *pipe_ctx_syncd; in reset_syncd_pipes_from_disabled_pipes() local 5274 pipe_ctx_old = &dc->current_state->res_ctx.pipe_ctx[i]; in reset_syncd_pipes_from_disabled_pipes() 5277 if (!resource_is_pipe_type(pipe_ctx_old, OTG_MASTER)) in reset_syncd_pipes_from_disabled_pipes() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | resource.h | 579 struct pipe_ctx *pipe_ctx_old,
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 1865 struct pipe_ctx *pipe_ctx_old = in dcn401_reset_hw_ctx_wrap() local 1869 if (!pipe_ctx_old->stream) in dcn401_reset_hw_ctx_wrap() 1872 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn401_reset_hw_ctx_wrap() 1876 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn401_reset_hw_ctx_wrap() 1877 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn401_reset_hw_ctx_wrap() 1880 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn401_reset_hw_ctx_wrap() 1882 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn401_reset_hw_ctx_wrap()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 2894 struct pipe_ctx *pipe_ctx_old = in dcn20_reset_hw_ctx_wrap() local 2898 if (!pipe_ctx_old->stream) in dcn20_reset_hw_ctx_wrap() 2901 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn20_reset_hw_ctx_wrap() 2905 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn20_reset_hw_ctx_wrap() 2906 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn20_reset_hw_ctx_wrap() 2908 dcn20_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn20_reset_hw_ctx_wrap() 2910 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn20_reset_hw_ctx_wrap()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| H A D | dcn10_hwseq.c | 1739 struct pipe_ctx *pipe_ctx_old = in dcn10_reset_hw_ctx_wrap() local 1743 if (!pipe_ctx_old->stream) in dcn10_reset_hw_ctx_wrap() 1746 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap() 1750 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn10_reset_hw_ctx_wrap() 1751 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn10_reset_hw_ctx_wrap() 1753 dcn10_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn10_reset_hw_ctx_wrap() 1755 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn10_reset_hw_ctx_wrap()
|