diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-07-08 00:55:55 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-13 18:58:38 +0300 |
commit | 99e7d65cccc8f54581eb961a50da676b79c966d0 (patch) | |
tree | 9f23c6893ecdee4c08d2b699a5457c3b600ea47c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | c010efb7f0bc0c3cb2cd26b000f71d4bd0c427cd (diff) | |
download | linux-99e7d65cccc8f54581eb961a50da676b79c966d0.tar.xz |
drm/amdkfd: Allow CPU access for all VRAM BOs
The thunk needs to mmap all BOs for CPU access to allow the debugger to
access them. Invisible ones are mapped with PROT_NONE.
Fixes: 71df0368e9b6 ("drm/amdgpu: Implement mmap as GEM object function")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions