commit | cbd278e835db0477fbf7ca815b7f3cde6b5cd0a4 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Thu Aug 15 13:22:11 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Thu Aug 15 13:22:11 2019 -0700 |
tree | 8c5c945db20125beb4b6f244327d465de97e1637 | |
parent | b916a74f1674f6226fc808a8d99e4a2f00fecce7 [diff] |
glupload: Don't prealloc any buffers in dmabuf pool This pool logic was added by NXP. The pool gets added to any and all allocation queries and in certain auto plug cases the pool gets activated without any buffers being dequeued before reconfig. This leads to memory churn and in some cases OOM. Instead allocate buffers only when they're needed. Change-Id: Ic38c859db80098a2f81511dfae86fbb0330f1077