drm/amd/display: Require immediate flip support for DCN3.1 planes
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 29 Sep 2021 20:22:53 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Oct 2021 19:26:42 +0000 (15:26 -0400)
commit672437486ee9da3ed0e774937e6d0dd570921b39
tree95fccac16021899eabb6b066d478507047bee375
parentc938aed88f8259dc913b717a32319101c66e87a9
drm/amd/display: Require immediate flip support for DCN3.1 planes

[Why]
Immediate flip can be enabled dynamically and has higher BW requirements
when validating which voltage mode to use.

If we validate when it's not set then potentially DCFCLK will be too low
and we will underflow.

[How]
DM always requires support so always require it as part of DML input
parameters.

This can't be enabled unconditionally on older ASIC because it blocks
some expected modes so only target DCN3.1 for now.

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c