]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix DCN 3.01 DSCCLK validation
authorNikola Cornij <nikola.cornij@amd.com>
Tue, 18 May 2021 16:33:12 +0000 (12:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Jun 2021 16:16:06 +0000 (12:16 -0400)
commit993b148121a29585fc02c72d06e419aac77e21de
tree19489364ab6fbb7037e58cd56f289d6d450b406c
parentb4ec3b5ac238e81fe67f518b41bc6ecd94e199aa
drm/amd/display: Fix DCN 3.01 DSCCLK validation

[why]
DSCCLK validation is not necessary because DSCCLK is derrived from
DISPCLK, therefore if DISPCLK validation passes, DSCCLK is valid, too.
Doing DSCLK validation in addition to DISPCLK leads to modes being
wrongly rejected when DSCCLK was incorrectly set outside of DML.

[how]
Remove DSCCLK validation because it's implicitly validated under DISPCLK

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c