drm/amd/display: add a option to force the clock at every mode change.
authorCharlene Liu <charlene.liu@amd.com>
Tue, 2 Jul 2019 18:04:35 +0000 (14:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:25 +0000 (14:27 -0500)
commit39bca3599aab8edbc4a6c6d10fc76b1a932e5dfa
treef16ce8c4e1cdf7776c7d120003c741d13a690902
parent54eef8a411699779fdbb1a2cd333f1b914bd5699
drm/amd/display: add a option to force the clock at every mode change.

[Description]
This is for HW negative stress testing use.
force reset the dispclk and dppclk even the same clock already set in HW.

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dc.h