diff options
author | Vladimir Stempen <vladimir.stempen@amd.com> | 2020-12-29 15:01:12 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-22 18:05:48 -0500 |
commit | 77a2b7265f20ee827e527eaa6f82b87e88388947 (patch) | |
tree | ad682d99286a0cc1a5e4210837e9402ab55e7366 /drivers/gpu/drm/amd/display/dc/inc/clock_source.h | |
parent | 860b0cf52a239a422b89cd652393e1f1c81e161d (diff) | |
download | linux-77a2b7265f20ee827e527eaa6f82b87e88388947.tar.gz linux-77a2b7265f20ee827e527eaa6f82b87e88388947.tar.bz2 linux-77a2b7265f20ee827e527eaa6f82b87e88388947.zip |
drm/amd/display: Synchronize displays with different timings
[why]
Vendor based fan noise improvement
[how]
Report timing synchronizable when DP streams time frame
difference is less than 0.05 percent. Adjust DP DTOs and
sync displays using MASTER_UPDATE_LOCK_DB_X_Y
Signed-off-by: Vladimir Stempen <vladimir.stempen@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/clock_source.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/clock_source.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/clock_source.h b/drivers/gpu/drm/amd/display/dc/inc/clock_source.h index 1b01a9a58d14..e2b3a2c7a927 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/clock_source.h +++ b/drivers/gpu/drm/amd/display/dc/inc/clock_source.h @@ -170,6 +170,11 @@ struct clock_source_funcs { const struct clock_source *clock_source, unsigned int inst, unsigned int *pixel_clk_khz); + bool (*override_dp_pix_clk)( + struct clock_source *clock_source, + unsigned int inst, + unsigned int pixel_clk, + unsigned int ref_clk); }; struct clock_source { |