drm/amd/display: Remove min_dst_y_next_start check for Z8
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 8 Nov 2023 15:55:53 +0000 (10:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:49:00 +0000 (16:49 -0500)
commitfcd94ef1b3e78f7dc76309c9611915018d2d62a3
tree16d08aac83f9f9f6ec37ded74be038ef4eb7eba8
parentc4b8394e76adba4f50a3c2696c75b214a291e24a
drm/amd/display: Remove min_dst_y_next_start check for Z8

[Why]
Flickering occurs on DRR supported panels when engaged in DRR due to
min_dst_y_next becoming larger than the frame size itself.

[How]
In general, we should be able to enter Z8 when this is engaged but it
might be a net power loss even if the calculation wasn't bugged.

Don't support enabling Z8 during the DRR region.

Cc: stable@vger.kernel.org # 6.1+
Reviewed-by: Syed Hassan <syed.hassan@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c