diff options
| author | 2019-07-11 11:10:21 +0800 | |
|---|---|---|
| committer | 2019-07-18 14:18:07 -0500 | |
| commit | b64d98656f0284cb88fa203541d4d0404b0e6c1a (patch) | |
| tree | a7385d469bfd4b84e04b0040ad7fac34f930d32b /drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | |
| parent | drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10 (diff) | |
| download | wireguard-linux-b64d98656f0284cb88fa203541d4d0404b0e6c1a.tar.xz wireguard-linux-b64d98656f0284cb88fa203541d4d0404b0e6c1a.zip | |
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 'drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c')
0 files changed, 0 insertions, 0 deletions
