drm/amd/display: Disable SubVP if Hardware Rotation is Used

[Why and How]
SubVP is not supported when hardware rotation is being used

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Austin Zheng 2024-07-23 17:26:47 -04:00 committed by Alex Deucher
parent 5aacf8917f
commit 7b2363e06c

View File

@ -1058,7 +1058,8 @@ static bool all_timings_support_svp(const struct dml2_pmo_instance *pmo,
/* check recout height covers entire otg vactive, and single plane */
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;
}
}