mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
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:
committed by
basamaryan
parent
03408f01f4
commit
2efa487655
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user