sm6150-common: rootdir: Avoid delay for vblank disable from DRM

Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt  the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.

Change-Id: Idc1dfe6a6994f2ac2d3c60ae8fd5a4e883b675d9
This commit is contained in:
Prabhanjan Kandula
2017-06-19 18:08:14 -07:00
committed by basamaryan
parent 03408f01f4
commit 2efa487655

View File

@@ -45,6 +45,9 @@ on early-init
# Disable UFS clock scaling
write /sys/bus/platform/devices/1d84000.ufshc/clkscale_enable 0
# turn off vblank irq immediately after turning off
write /sys/module/drm/parameters/vblankoffdelay -1
on init
# Create cgroup mount point for memory
mkdir /sys/fs/cgroup/memory/bg 0750 root system