]> nv-tegra.nvidia Code Review - linux-4.9.git/commitdiff
video: fbdev: enable accurate pixel clk on android
authorNaveen Kumar S <nkumars@nvidia.com>
Mon, 22 Oct 2018 07:03:53 +0000 (12:33 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sun, 4 Nov 2018 03:13:19 +0000 (20:13 -0700)
This change enbales Accurate Pixel Clock feature on Android. This
feature helps in programming the exact pixel clock rate specified
in the standard CEA/VESA modes or in the detailed timings provided
by the sink. The original pixel clock rate is stored and used during
modeset without using the value that was converted between KHz
(specified in EDID or standard mode arrays) and pico seconds (needed
by fbdev), which helps avoid the precision loss caused by this

bug 2045478

Change-Id: Ifedb659429de240ab567c9ebf064b12cec0ffbce
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1932221
(cherry picked from commit e1994d8784c3bbad32c8c587deef119611d70f23)
Reviewed-on: https://git-master.nvidia.com/r/1940192
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
arch/arm64/configs/tegra_android_defconfig

index d8463bd5a665e0608beffe7ec67b31b9bf9e79a2..6a798a02cbc2a81e360680ad950fd2b8aa479601 100644 (file)
@@ -479,6 +479,7 @@ CONFIG_VIDEO_IMX390=y
 CONFIG_VIDEO_IMX204=m
 # CONFIG_VGA_ARB is not set
 CONFIG_FB=y
+CONFIG_FB_MODE_PIXCLOCK_HZ=y
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
 CONFIG_BACKLIGHT_GENERIC=m
 CONFIG_BACKLIGHT_PWM=y