Oak Zeng d8e408a827 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>
2019-05-24 12:20:47 -05:00
..
2019-05-15 08:58:49 -07:00
2019-05-08 21:35:19 -07:00
2019-05-16 08:38:17 -07:00
2019-04-08 15:58:54 -07:00
2019-05-16 11:57:16 -07:00
2019-05-16 17:00:13 -07:00
2019-05-06 13:47:50 -03:00
2019-05-17 13:57:54 -07:00
2019-04-01 17:46:57 +02:00