tag | 6e585fce0828108b57ef4d49661b6233247f3fe5 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Mar 29 13:56:12 2019 -0700 |
object | c5371788edf2e8d8cea7365475ce89ed786c6320 |
Android 9.0.0 release 35
commit | c5371788edf2e8d8cea7365475ce89ed786c6320 | [log] [tgz] |
---|---|---|
author | Adrian Salido <salidoa@google.com> | Mon Jul 09 13:31:11 2018 -0700 |
committer | Adrian Salido <salidoa@google.com> | Mon Jul 09 16:28:12 2018 -0700 |
tree | 913e1b5b348ceba02989eae9bc6d8dac5334ecd4 | |
parent | 8965152a5b26a0063c9070d42f95769ddc5b97c3 [diff] |
libdrm: reduce number of reallocations in drmModeAtomicAddProperty When calling drmModeAtomicAddProperty allocation of memory happens as needed in increments of 16 elements. This can be very slow if there are multiple properties to be updated in an Atomic Commit call. Increase this to as many as can fit in a memory PAGE to avoid having to reallocate memory too often. Bug: 111047515 Change-Id: I043db1e7608b0a606adf1a6e468c90734372f363