mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
drm/amd/display: Don't lock phantom pipe on disabling
[ Upstream commit cbb4c9bc55 ]
[Description]
- When disabling a phantom pipe, we first enable the phantom
OTG so the double buffer update can successfully take place
- However, want to avoid locking the phantom otherwise setting
DPG_EN=1 for the phantom pipe is blocked (without this we could
hit underflow due to phantom HUBP being blanked by default)
Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
67af2e23e2
commit
f95d571bb5
|
|
@ -111,7 +111,8 @@ void dcn10_lock_all_pipes(struct dc *dc,
|
|||
if (pipe_ctx->top_pipe ||
|
||||
!pipe_ctx->stream ||
|
||||
(!pipe_ctx->plane_state && !old_pipe_ctx->plane_state) ||
|
||||
!tg->funcs->is_tg_enabled(tg))
|
||||
!tg->funcs->is_tg_enabled(tg) ||
|
||||
pipe_ctx->stream->mall_stream_config.type == SUBVP_PHANTOM)
|
||||
continue;
|
||||
|
||||
if (lock)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user