Searched refs:pipe_ctx_old (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
| H A D | dcn31_hwseq.c | 620 struct pipe_ctx *pipe_ctx_old = in dcn31_reset_hw_ctx_wrap() local 624 if (!pipe_ctx_old->stream) in dcn31_reset_hw_ctx_wrap() 627 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap() 631 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn31_reset_hw_ctx_wrap() 632 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn31_reset_hw_ctx_wrap() 635 if (!pipe_ctx_old->plane_state && in dcn31_reset_hw_ctx_wrap() 639 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst, 0); in dcn31_reset_hw_ctx_wrap() 642 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst); in dcn31_reset_hw_ctx_wrap() 645 dcn31_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn31_reset_hw_ctx_wrap() 647 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn31_reset_hw_ctx_wrap()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 1509 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing() local 1513 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 1557 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 2291 struct pipe_ctx *pipe_ctx_old = in dce110_reset_hw_ctx_wrap() local 2301 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap() 2305 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dce110_reset_hw_ctx_wrap() 2306 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dce110_reset_hw_ctx_wrap() 2312 dc->link_srv->set_dpms_off(pipe_ctx_old); in dce110_reset_hw_ctx_wrap() 2315 if (pipe_ctx_old->stream_res.audio) { in dce110_reset_hw_ctx_wrap() 2317 pipe_ctx_old->stream_res.audio->funcs-> in dce110_reset_hw_ctx_wrap() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 1550 struct pipe_ctx *pipe_ctx_old = in dcn32_disable_phantom_streams() local 1554 if (!pipe_ctx_old->stream) in dcn32_disable_phantom_streams() 1557 if (dc_state_get_pipe_subvp_type(dc->current_state, pipe_ctx_old) != SUBVP_PHANTOM) in dcn32_disable_phantom_streams() 1560 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn32_disable_phantom_streams() 1563 if (!pipe_ctx->stream || pipe_need_reprogram(pipe_ctx_old, pipe_ctx) || in dcn32_disable_phantom_streams() 1565 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn32_disable_phantom_streams() 1568 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn32_disable_phantom_streams() 1570 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn32_disable_phantom_streams() 1602 struct pipe_ctx *pipe_ctx_old = in dcn32_enable_phantom_streams() local 1612 if (pipe_ctx->stream == pipe_ctx_old->stream && in dcn32_enable_phantom_streams() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 4975 struct pipe_ctx *pipe_ctx_old, in pipe_need_reprogram() argument 4978 if (!pipe_ctx_old->stream) in pipe_need_reprogram() 4981 if (pipe_ctx_old->stream->sink != pipe_ctx->stream->sink) in pipe_need_reprogram() 4984 if (pipe_ctx_old->stream->signal != pipe_ctx->stream->signal) in pipe_need_reprogram() 4987 if (pipe_ctx_old->stream_res.audio != pipe_ctx->stream_res.audio) in pipe_need_reprogram() 4990 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source in pipe_need_reprogram() 4991 && pipe_ctx_old->stream != pipe_ctx->stream) in pipe_need_reprogram() 4994 if (pipe_ctx_old->stream_res.stream_enc != pipe_ctx->stream_res.stream_enc) in pipe_need_reprogram() 4997 if (dc_is_timing_changed(pipe_ctx_old->stream, pipe_ctx->stream)) in pipe_need_reprogram() 5000 if (pipe_ctx_old->stream->dpms_off != pipe_ctx->stream->dpms_off) in pipe_need_reprogram() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 2898 struct pipe_ctx *pipe_ctx_old = in dcn20_reset_hw_ctx_wrap() local 2902 if (!pipe_ctx_old->stream) in dcn20_reset_hw_ctx_wrap() 2905 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn20_reset_hw_ctx_wrap() 2909 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn20_reset_hw_ctx_wrap() 2910 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn20_reset_hw_ctx_wrap() 2912 dcn20_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn20_reset_hw_ctx_wrap() 2914 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn20_reset_hw_ctx_wrap()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 2055 struct pipe_ctx *pipe_ctx_old = in dcn401_reset_hw_ctx_wrap() local 2059 if (!pipe_ctx_old->stream) in dcn401_reset_hw_ctx_wrap() 2062 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn401_reset_hw_ctx_wrap() 2066 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn401_reset_hw_ctx_wrap() 2067 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn401_reset_hw_ctx_wrap() 2070 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn401_reset_hw_ctx_wrap() 2072 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn401_reset_hw_ctx_wrap()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| H A D | dcn10_hwseq.c | 1956 struct pipe_ctx *pipe_ctx_old = in dcn10_reset_hw_ctx_wrap() local 1960 if (!pipe_ctx_old->stream) in dcn10_reset_hw_ctx_wrap() 1963 if (pipe_ctx_old->top_pipe) in dcn10_reset_hw_ctx_wrap() 1967 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn10_reset_hw_ctx_wrap() 1968 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn10_reset_hw_ctx_wrap() 1970 dcn10_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn10_reset_hw_ctx_wrap() 1972 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn10_reset_hw_ctx_wrap()
|