commit | 0e89268266a8754f5fc09595d6d7545bccb88017 | [log] [tgz] |
---|---|---|
author | Adrian Salido <salidoa@google.com> | Wed Mar 01 14:57:39 2017 -0800 |
committer | Adrian Salido <salidoa@google.com> | Thu Mar 02 13:09:29 2017 -0800 |
tree | 0b7574fe6689c2288c20b949ee95d389d86a015b | |
parent | e5c7565114b786bdf1bacc8c8ff3cb9517d17b92 [diff] |
drm_hwcomposer: introduce QueueWorker Current method to queue work such as display compositions relies on spinning the CPU until there is space in the queue. This is inefficient for the time in which the queue happens to fill up. Introduce a new QueueWorker class to simplify queueing work and handle blocking for available space more efficiently. Change-Id: Ida7aa612931700a56ecae3efc7ddd1c86efec699