Commit 7e8af88c authored by Dillon Varone's avatar Dillon Varone Committed by Alex Deucher

drm/amd/display: Block SubVP if hardware rotation is used in DML2.1

[WHY&HOW]
SubVP is not supported when hardware rotation is in use.
Reviewed-by: default avatarAlvin Lee <alvin.lee2@amd.com>
Acked-by: default avatarZaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: default avatarDillon Varone <dillon.varone@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1608e201
...@@ -929,7 +929,8 @@ static bool all_timings_support_svp(const struct dml2_pmo_instance *pmo, ...@@ -929,7 +929,8 @@ static bool all_timings_support_svp(const struct dml2_pmo_instance *pmo,
/* check recout height covers entire otg vactive, and single plane */ /* check recout height covers entire otg vactive, and single plane */
if (num_planes_per_stream[plane_descriptor->stream_index] > 1 || if (num_planes_per_stream[plane_descriptor->stream_index] > 1 ||
!plane_descriptor->composition.rect_out_height_spans_vactive) { !plane_descriptor->composition.rect_out_height_spans_vactive ||
plane_descriptor->composition.rotation_angle != dml2_rotation_0) {
return false; return false;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment