diff options
| author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-07-11 06:10:21 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-18 22:17:18 +0300 |
| commit | 3457b3055e43fbe457d9779c1362d56f19a888e7 (patch) | |
| tree | 1abfde610aeb7179ac8c74f53969174285bc4776 /scripts/gdb/linux/utils.py | |
| parent | 1a195ed5f197fcfd1d99ceedd469857fcd7d8c4f (diff) | |
| download | linux-3457b3055e43fbe457d9779c1362d56f19a888e7.tar.xz | |
drm/ttm: use the same attributes when freeing d_page->vaddr
In function __ttm_dma_alloc_page(), d_page->addr is allocated
by dma_alloc_attrs() but freed with use dma_free_coherent() in
__ttm_dma_free_page().
Use the correct dma_free_attrs() to free d_page->vaddr.
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
