]> 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)
commit346cf627fb27c0fea63a041cedbaa4f31784e504
tree19489364ab6fbb7037e58cd56f289d6d450b406c
parent416b4e7596fa8cbe47f94f53009e252acfd36ece
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