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 | 585 struct pipe_ctx *pipe_ctx_old = in dcn31_reset_hw_ctx_wrap() local 589 if (!pipe_ctx_old->stream) in dcn31_reset_hw_ctx_wrap() 592 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn31_reset_hw_ctx_wrap() 596 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn31_reset_hw_ctx_wrap() 597 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn31_reset_hw_ctx_wrap() 600 if (!pipe_ctx_old->plane_state && in dcn31_reset_hw_ctx_wrap() 604 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst, 0); in dcn31_reset_hw_ctx_wrap() 607 dc->res_pool->hubbub, pipe_ctx_old->plane_res.hubp->inst); in dcn31_reset_hw_ctx_wrap() 610 dcn31_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn31_reset_hw_ctx_wrap() 612 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 | 1513 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing() local 1517 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 1561 if (!pipe_ctx_old->stream) { in dce110_enable_stream_timing() 2258 struct pipe_ctx *pipe_ctx_old = in dce110_reset_hw_ctx_wrap() local 2268 if (!pipe_ctx_old->stream || pipe_ctx_old->top_pipe) in dce110_reset_hw_ctx_wrap() 2272 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dce110_reset_hw_ctx_wrap() 2273 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dce110_reset_hw_ctx_wrap() 2279 dc->link_srv->set_dpms_off(pipe_ctx_old); in dce110_reset_hw_ctx_wrap() 2282 if (pipe_ctx_old->stream_res.audio) { in dce110_reset_hw_ctx_wrap() 2284 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 | 1533 struct pipe_ctx *pipe_ctx_old = in dcn32_disable_phantom_streams() local 1537 if (!pipe_ctx_old->stream) in dcn32_disable_phantom_streams() 1540 if (dc_state_get_pipe_subvp_type(dc->current_state, pipe_ctx_old) != SUBVP_PHANTOM) in dcn32_disable_phantom_streams() 1543 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn32_disable_phantom_streams() 1546 if (!pipe_ctx->stream || pipe_need_reprogram(pipe_ctx_old, pipe_ctx) || in dcn32_disable_phantom_streams() 1548 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn32_disable_phantom_streams() 1551 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn32_disable_phantom_streams() 1553 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn32_disable_phantom_streams() 1585 struct pipe_ctx *pipe_ctx_old = in dcn32_enable_phantom_streams() local 1595 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 | 4643 struct pipe_ctx *pipe_ctx_old, in pipe_need_reprogram() argument 4646 if (!pipe_ctx_old->stream) in pipe_need_reprogram() 4649 if (pipe_ctx_old->stream->sink != pipe_ctx->stream->sink) in pipe_need_reprogram() 4652 if (pipe_ctx_old->stream->signal != pipe_ctx->stream->signal) in pipe_need_reprogram() 4655 if (pipe_ctx_old->stream_res.audio != pipe_ctx->stream_res.audio) in pipe_need_reprogram() 4658 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source in pipe_need_reprogram() 4659 && pipe_ctx_old->stream != pipe_ctx->stream) in pipe_need_reprogram() 4662 if (pipe_ctx_old->stream_res.stream_enc != pipe_ctx->stream_res.stream_enc) in pipe_need_reprogram() 4665 if (dc_is_timing_changed(pipe_ctx_old->stream, pipe_ctx->stream)) in pipe_need_reprogram() 4668 if (pipe_ctx_old->stream->dpms_off != pipe_ctx->stream->dpms_off) in pipe_need_reprogram() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | resource.h | 578 struct pipe_ctx *pipe_ctx_old,
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
H A D | dcn401_hwseq.c | 1909 struct pipe_ctx *pipe_ctx_old = in dcn401_reset_hw_ctx_wrap() local 1913 if (!pipe_ctx_old->stream) in dcn401_reset_hw_ctx_wrap() 1916 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn401_reset_hw_ctx_wrap() 1920 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn401_reset_hw_ctx_wrap() 1921 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn401_reset_hw_ctx_wrap() 1924 hws->funcs.reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn401_reset_hw_ctx_wrap() 1926 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn401_reset_hw_ctx_wrap()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.c | 2891 struct pipe_ctx *pipe_ctx_old = in dcn20_reset_hw_ctx_wrap() local 2895 if (!pipe_ctx_old->stream) in dcn20_reset_hw_ctx_wrap() 2898 if (pipe_ctx_old->top_pipe || pipe_ctx_old->prev_odm_pipe) in dcn20_reset_hw_ctx_wrap() 2902 pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) { in dcn20_reset_hw_ctx_wrap() 2903 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dcn20_reset_hw_ctx_wrap() 2905 dcn20_reset_back_end_for_pipe(dc, pipe_ctx_old, dc->current_state); in dcn20_reset_hw_ctx_wrap() 2907 hws->funcs.enable_stream_gating(dc, pipe_ctx_old); in dcn20_reset_hw_ctx_wrap()
|