commit | 4d6eb44e2c8fde50da59f8117bee1aa4e66fe99e | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Apr 01 20:25:21 2013 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Apr 01 20:25:21 2013 -0700 |
tree | 579f10e7ada153bae7b69768aa9bc992b35870ee | |
parent | 5ba9acf1ecae2cce8c5ba0f3edbcbae372dad548 [diff] | |
parent | bbdc30ad169827fbe4a2245ceddccbad79327cc4 [diff] |
Merge "gpu: ion: Set dma length in sg_list"
diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c index 16c2900..ce25bfd 100644 --- a/drivers/gpu/ion/ion.c +++ b/drivers/gpu/ion/ion.c
@@ -1281,6 +1281,7 @@ for_each_sg(table->sgl, sg, table->nents, i) { dma_addr_t addr = buffer_base + i * chunk_size; sg_dma_address(sg) = addr; + sg_dma_len(sg) = chunk_size; } return table;