diff options
author | Vitaly Prosyak <vitaly.prosyak@amd.com> | 2017-06-28 13:36:25 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:08:28 -0400 |
commit | cdc5e04888cec337e44049f9b51d8894364ad52a (patch) | |
tree | 627e9a5d72f44d7cfc9c3d9300707930279ca951 /drivers/gpu/drm/amd/display/dc/calcs | |
parent | 46239f739aa64c797938e9a14b03fd2c1b8ce0e6 (diff) |
drm/amd/display: Fix for hdmi frame pack stereo
Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/calcs')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c index 00961bc37200..4486121e3986 100644 --- a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +++ b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c @@ -987,7 +987,15 @@ bool dcn_validate_bandwidth( if (pipe->surface) { struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; - if (v->dpp_per_plane[input_idx] == 2) { + if (v->dpp_per_plane[input_idx] == 2 || + ((pipe->stream->public.view_format == + VIEW_3D_FORMAT_SIDE_BY_SIDE || + pipe->stream->public.view_format == + VIEW_3D_FORMAT_TOP_AND_BOTTOM) && + (pipe->stream->public.timing.timing_3d_format == + TIMING_3D_FORMAT_TOP_AND_BOTTOM || + pipe->stream->public.timing.timing_3d_format == + TIMING_3D_FORMAT_SIDE_BY_SIDE))) { if (hsplit_pipe && hsplit_pipe->surface == pipe->surface) { /* update previously split pipe */ hsplit_pipe->pipe_dlg_param.vupdate_width = v->v_update_width[input_idx]; |