d74d663374
Add a fallback mechanism to allocate memory from ashmem if pmem allocation fails. Do not fallback in the following cases: - MDP composition is being used. - Client has explicitly requested that the memory be allocated from pmem. - Buffer will not be sent to the overlay. Change-Id: Ic690af48f81914cb4c9a102cb386356797451141