diff options
| author | Oak Zeng <[email protected]> | 2019-04-11 19:43:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-05-24 17:20:47 +0000 |
| commit | d8e408a82704c86ba87c3d58cfe69dcdb758aa07 (patch) | |
| tree | 3cb4be068142e653816c43541852b5116283a4ff /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
| parent | drm/amdgpu: Remap hdp coherency registers (diff) | |
| download | kernel-d8e408a82704c86ba87c3d58cfe69dcdb758aa07.tar.gz kernel-d8e408a82704c86ba87c3d58cfe69dcdb758aa07.zip | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions
