]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Block z-states when stutter period exceeds criteria
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 7 Dec 2021 17:58:07 +0000 (12:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:44 +0000 (08:54 -0500)
commit8348b4bdd9c8c8a85cad65d0dfd00514cf9e0322
tree14d3149fe1a4826680e1602984f46a0d404e7d55
parent7e99c5c7e01c543c4010d3079923a34c96bb054d
drm/amd/display: Block z-states when stutter period exceeds criteria

[Why]
Stutter period won't be less than 5000.0, but if PSR is enabled then we
can potentially enter Z9 when MPO is enabled.

SMU will try to enter Z9 too early in these cases (before PSR is
enabled) and we'll see underflow.

[How]
Block z-states (z9, z10) until we can add a new interface to SMU to
signal when we can support z10 but not z9.

We can revert this once the interface change is in.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/dcn20/dcn20_resource.c