[drm]: add android drm allocator support

1. enable drm allocator in android
2. modify size calculating when alloc

Todo: wait for new interface of kernel to decide
use whether drm or ion as allocator

Change-Id: Ia6791d91d113b238be77088ae747012fb786d683
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
This commit is contained in:
Jung Zhao
2016-08-24 16:53:10 +08:00
parent e8a2c929ce
commit 70e2ebdb2b
6 changed files with 1450 additions and 1329 deletions

File diff suppressed because it is too large Load Diff