diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2019-04-11 14:43:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-24 12:20:47 -0500 |
commit | d8e408a82704c86ba87c3d58cfe69dcdb758aa07 (patch) | |
tree | 3cb4be068142e653816c43541852b5116283a4ff /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | |
parent | 88807dc8d573c0f718d0d26f592f212c5a487cf0 (diff) |
drm/amdkfd: Expose HDP registers to user space
Introduce a new memory type (KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP) and
expose mmio page of HDP registers to user space through this new
memory type.
v2: moved remapped hdp regs to adev struct
v3: rename the new memory type to ALLOC_MEM_FLAGS_MMIO_REMAP
v4: use more generic function name
v5: Fail remapped mmio allocation for asics before gfx9
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-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_xgmi.h')
0 files changed, 0 insertions, 0 deletions