diff options
author | Long Ling <longling@google.com> | 2020-07-14 15:06:17 -0700 |
---|---|---|
committer | Adrian Salido <salidoa@google.com> | 2020-09-29 13:59:27 -0700 |
commit | 4011d1aa4734cc16af70cad7c83c3f9c6ac89c45 (patch) | |
tree | 7404787202ac7a0da66093b4d1d28b69bac47f66 /samsung/exynos_drm_dsim.c | |
parent | 0343185ac47bd224b612653dadc41fb44d47e430 (diff) | |
download | display-4011d1aa4734cc16af70cad7c83c3f9c6ac89c45.tar.gz |
drivers/drm/samsung: enable video mode refresh rate change
Remove the 60Hz hardcoded video mode refresh rate and set the current
refresh rate in display mode.
Bug: 160733271
Signed-off-by: Long Ling <longling@google.com>
Change-Id: I4ec9a7ae4dac57392835da0aa02cc301cc60c07b
Diffstat (limited to 'samsung/exynos_drm_dsim.c')
-rw-r--r-- | samsung/exynos_drm_dsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samsung/exynos_drm_dsim.c b/samsung/exynos_drm_dsim.c index eccb654..1c3251e 100644 --- a/samsung/exynos_drm_dsim.c +++ b/samsung/exynos_drm_dsim.c @@ -479,6 +479,7 @@ static void dsim_adjust_video_timing(struct dsim_device *dsim, p_timing->hfp = vm.hfront_porch; p_timing->hbp = vm.hback_porch; p_timing->hsa = vm.hsync_len; + p_timing->vrefresh = mode->vrefresh; dsim_set_clock_mode(dsim, mode); } |