Tuning of binder buffer for ARM devices

Author: Hari Veerubhotla <vsubrahm@codeaurora.org>
Date:   Tue Jul 3 12:42:42 2018 +0530

    Tuning of Binder buffer for below HALs
    1. Boot Control
    2. Vibrator

    Set the Binder buffer memory limit for boot control
    and Vibrator HALs to 8 KiB.

    CRs-Fixed: 2275027

    Change-Id: I7955af000aa34e19d1229949c0966ef93e7ff0cb

Author: Bharath Gopal <gopalb@codeaurora.org>
Date:   Wed Jul 11 14:48:09 2018 +0530

    graphics: Optimize binder buffer allocation

     Optimize binder buffer allocation based on maximum page size
     observed during peak usage.

    CRs-Fixed: 2275027

    Change-Id: I50ff14fb49382f286c3c07e959e2fb0e1e54a9ad

Author: Ramjee Singh <ramjee@codeaurora.org>
Date:   Thu Jul 26 14:19:01 2018 +0530

    audio_hal: Optimize binder buffer allocation.

    Optimize binder buffer allocation based on maximum page size
    observed during peak usage.

    CRs-Fixed: 2290589

    Change-Id: I308f3eaff5ada787426526e1efcc787cd4f12409

Author: Shaikh Shadul <sshadu@codeaurora.org>
Date:   Tue Aug 14 19:12:01 2018 +0530

    Interfaces: Set binder buffer for sensors HIDL

    Setting custom binder buffer size for sensors HIDL service.

    Change-Id: I83ebdc77ed7aec0e25a975097358440681ca5f11
    CRs-Fixed: 2305971

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Fri Sep 14 11:15:57 2018 +0530

    Reduce hwbinder buffer size for cas HAL

    Set hwbinder buffer size to 16KB for 32 bit architecture.

    CRs-Fixed: 2315283

    Change-Id: I14b77a2476be57a121ba4e036737b5a19bdc86fd

Author:	Purushottam Kushwaha <pkushwah@codeaurora.org>
Date:   Wed Sep 19 11:32:08 2018 +0530

    Binder: limit hw binder buffer size for 32bit platform.

    Hardware binder by default consumes 1 MB of buffer, though the HALs
    are using hardly 1 page (4KB).

    This commit introduces a configurable binder buffer size via persist
    property: "persist.vendor.wifi.wifihal.hw.binder.size"
    Default value when this property is not configured is 4 (for 4KB)

    Change-Id: I4c2ed5ec2a295892fb6f37c583580a33d035fe10
    CRs-Fixed: 2318236

Author: Vinay Verma <vvinay@codeaurora.org>
Date:   Fri Sep 14 11:25:46 2018 +0530

    Reduce hwbinder buffer size for power HAL

    Set hwbinder buffer size to 16KB for 32 bit architecture.

    Change-Id: I4272a12853269dd6363f58a5bb81caa09cc47e9a
    CRs-Fixed: 2315283

Author: Baldev Sahu <bsahu@codeaurora.org>
Date:   Wed Sep 12 14:41:03 2018 +0530

    Tuning of Binder buffer for below HALs

    1. Allocator
    2. ConfigStore
    3. Light

    Set the Binder buffer memory limit for above HALs.

    CRs-Fixed: 2275027

    Change-Id: I11d3bcf6073d3d6412491c88acc9f79496ed1ba0

Author: Baldev Sahu <bsahu@codeaurora.org>
Date:   Wed Sep 19 16:44:09 2018 +0530

    Modify binder buffer tuning sequence for configstore

    Setting the binder buffer size should be done as the first
    step when configstore starts. Otherwise the initWithmMapSize
    api fails with a fatal error 'ProcessState already intialized
    with a differenet mmap size'.

    CRs-Fixed: 2275027

    Change-Id: I024bfb1f92efbbb3c4d9ee576991401f4b2a0098

Author: Hari Veerubhotla <vsubrahm@codeaurora.org>
Date:   Wed Sep 26 17:38:56 2018 +0530

    Tuning of Binder buffer for below HALs on 32-bit
    1. Boot Control
    2. Vibrator

    Set the Binder buffer memory limit for boot control
    and Vibrator HALs to 8 KiB.

    Change-Id: Ic7f73d33489260e2fe7375ccb819a0c1f022c684
    CRs-Fixed: 2275027

Change-Id: I171eea605aaa1cc0288bf9bd950fb90764ca22e3
22 files changed