diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-07-07 17:55:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-13 11:35:03 -0400 |
commit | 468f04cfbb4351be3f8188625f77f54de353215a (patch) | |
tree | 18db2ff725f1d5f8f4a27f931da90f557d77fc16 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | c5b53d128130b39371303a01fbbe1d7d6f519ca5 (diff) | |
download | linux-468f04cfbb4351be3f8188625f77f54de353215a.tar.gz linux-468f04cfbb4351be3f8188625f77f54de353215a.tar.bz2 linux-468f04cfbb4351be3f8188625f77f54de353215a.zip |
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_irq.c')
0 files changed, 0 insertions, 0 deletions