summaryrefslogtreecommitdiff
path: root/graphics/drm/drm.rc
blob: 5386c1c57f95d2dbca129f4545434753c007687e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
on post-fs
    # This will only get set if not already set and may be overriden by the
    # build or on kernel command line for s/w rendering
    setprop ro.kernel.qemu 0

on early-boot && property:ro.kernel.qemu=0
    mount debugfs debugfs /sys/kernel/debug
    chmod 755 /sys/kernel/debug
    chmod 755 /sys/kernel/debug/sync
    chown graphics graphics /sys/kernel/debug/sync/sw_sync
    chmod 777 /sys/kernel/debug/sync/sw_sync
    chown graphics graphics /sys/kernel/debug/sync/info

    setprop ro.hardware.gralloc gbm
    setprop ro.hardware.hwcomposer drm
    setprop debug.sf.no_hw_vsync 1
    setprop hwc.drm.use_framebuffer_target 1
    setprop hwc.drm.use_overlay_planes 0