commit | 46d71337f9aa84694e4e6cca7f3beb6b033bbf76 | [log] [tgz] |
---|---|---|
author | Rebecca Schultz Zavin <rebecca@android.com> | Mon May 07 16:06:32 2012 -0700 |
committer | Rebecca Schultz Zavin <rebecca@android.com> | Tue May 22 14:01:07 2012 -0700 |
tree | b60160368f5fc7ee1ae8226f455ddc86d14ed7d2 | |
parent | be4a1ee79a89da3ca705aecc2ac92cbeedd032bd [diff] |
gpu: ion: Allocate the sg_table at creation time rather than dynamically Rather than calling map_dma on the allocations dynamically, this patch switches to creating the sg_table at the time the buffer is created. This is necessary because in future updates the sg_table will be used for cache maintenance. Change-Id: I49aac7c6d3a5afc440d18b917ae0e73be5d3f56d Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>