Home
last modified time | relevance | path

Searched refs:pipe_ctx_old (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
A Ddcn31_hwseq.c576 struct pipe_ctx *pipe_ctx_old = in dcn31_reset_hw_ctx_wrap() local
580 if (!pipe_ctx_old->stream) in dcn31_reset_hw_ctx_wrap()
583 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap()
587 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn31_reset_hw_ctx_wrap()
588 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn31_reset_hw_ctx_wrap()
591 if (!pipe_ctx_old->plane_state && in dcn31_reset_hw_ctx_wrap()
595 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst, 0); in dcn31_reset_hw_ctx_wrap()
598 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst); in dcn31_reset_hw_ctx_wrap()
601 dcn31_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn31_reset_hw_ctx_wrap()
603 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn31_reset_hw_ctx_wrap()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
A Ddce110_hwseq.c1516 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing()
1560 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing()
2257 struct pipe_ctx *pipe_ctx_old = in dce110_reset_hw_ctx_wrap() local
2267 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap()
2281 if (pipe_ctx_old->stream_res.audio) { in dce110_reset_hw_ctx_wrap()
2297 pipe_ctx_old->stream_res.tg->funcs->set_blank(pipe_ctx_old->stream_res.tg, true); in dce110_reset_hw_ctx_wrap()
2302 pipe_ctx_old->stream_res.tg->funcs->disable_crtc(pipe_ctx_old->stream_res.tg); in dce110_reset_hw_ctx_wrap()
2315 pipe_ctx_old->stream = NULL; in dce110_reset_hw_ctx_wrap()
2439 struct pipe_ctx *pipe_ctx_old = in dce110_apply_ctx_to_hw() local
2468 struct pipe_ctx *pipe_ctx_old = in dce110_apply_ctx_to_hw() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
A Ddcn32_hwseq.c1530 struct pipe_ctx *pipe_ctx_old = in dcn32_disable_phantom_streams() local
1534 if (!pipe_ctx_old->stream) in dcn32_disable_phantom_streams()
1537 if (dc_state_get_pipe_subvp_type(dc->current_state, pipe_ctx_old) != SUBVP_PHANTOM) in dcn32_disable_phantom_streams()
1540 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn32_disable_phantom_streams()
1543 if (!pipe_ctx->stream || pipe_need_reprogram(pipe_ctx_old, pipe_ctx) || in dcn32_disable_phantom_streams()
1545 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn32_disable_phantom_streams()
1548 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn32_disable_phantom_streams()
1550 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn32_disable_phantom_streams()
1582 struct pipe_ctx *pipe_ctx_old = in dcn32_enable_phantom_streams() local
1592 if (pipe_ctx->stream == pipe_ctx_old->stream && in dcn32_enable_phantom_streams()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c4601 struct pipe_ctx *pipe_ctx_old, in pipe_need_reprogram() argument
4604 if (!pipe_ctx_old->stream) in pipe_need_reprogram()
4607 if (pipe_ctx_old->stream->sink != pipe_ctx->stream->sink) in pipe_need_reprogram()
4616 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source in pipe_need_reprogram()
4617 && pipe_ctx_old->stream != pipe_ctx->stream) in pipe_need_reprogram()
4630 false == pipe_ctx_old->stream->dpms_off) in pipe_need_reprogram()
4644 struct dc *dc = pipe_ctx_old->stream->ctx->dc; in pipe_need_reprogram()
4949 struct pipe_ctx *pipe_ctx_old, *pipe_ctx, *pipe_ctx_syncd; in reset_syncd_pipes_from_disabled_pipes() local
4953 pipe_ctx_old = &dc->current_state->res_ctx.pipe_ctx[i]; in reset_syncd_pipes_from_disabled_pipes()
4956 if (!resource_is_pipe_type(pipe_ctx_old, OTG_MASTER)) in reset_syncd_pipes_from_disabled_pipes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dresource.h578 struct pipe_ctx *pipe_ctx_old,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
A Ddcn20_hwseq.c2867 struct pipe_ctx *pipe_ctx_old = in dcn20_reset_hw_ctx_wrap() local
2871 if (!pipe_ctx_old->stream) in dcn20_reset_hw_ctx_wrap()
2874 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn20_reset_hw_ctx_wrap()
2878 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn20_reset_hw_ctx_wrap()
2879 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn20_reset_hw_ctx_wrap()
2881 dcn20_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn20_reset_hw_ctx_wrap()
2883 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn20_reset_hw_ctx_wrap()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
A Ddcn10_hwseq.c1738 struct pipe_ctx *pipe_ctx_old = in dcn10_reset_hw_ctx_wrap() local
1742 if (!pipe_ctx_old->stream) in dcn10_reset_hw_ctx_wrap()
1745 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap()
1749 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn10_reset_hw_ctx_wrap()
1750 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn10_reset_hw_ctx_wrap()
1752 dcn10_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn10_reset_hw_ctx_wrap()
1754 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn10_reset_hw_ctx_wrap()

Completed in 58 milliseconds