| commit | 56ac72dba5d24a477d281b985797d5e62d3f5c2e | [log] [tgz] |
|---|---|---|
| author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | Wed Jun 10 04:38:47 2009 +0000 |
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jun 15 13:26:20 2009 +1000 |
| tree | d2eba5567ba763b054f8c185b209b81bb35381da | |
| parent | e78d0c5c14ab91648274b2c5e6c4c35f072cea64 [diff] |
ps3vram: GPU memory mapping cleanup
- Make the IOMMU flags used for mapping main memory into the GPU's I/O space
explicit, instead of relying on the default in the hypervisor,
- Add missing calls to lv1_gpu_context_iomap(..., CBE_IOPTE_M) to unmap the
memory during cleanup.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Jim Paris <jim@jtan.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>