]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fc0fcf7f5f388f52a5df6be3b5bc179159e3ca2
tree95fccac16021899eabb6b066d478507047bee375
parent85dddd2dfe7e5d3876c38410e7e54ed4172b45f4
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