linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Felix Kuehling 0fc8011f89 drm/amdkfd: Kmap event page for dGPUs
The events page must be accessible in user mode by the GPU and CPU
as well as in kernel mode by the CPU. On dGPUs user mode virtual
addresses are managed by the Thunk's GPU memory allocation code.
Therefore we can't allocate the memory in kernel mode like we do
on APUs. But KFD still needs to map the memory for kernel access.
To facilitate this, the Thunk provides the buffer handle of the
events page to KFD when creating the first event.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-03-15 17:27:52 -04:00
..
cik_event_interrupt.c
cik_int.h
cik_regs.h
cwsr_trap_handler_gfx8.asm drm/amdkfd: Add trap handler for CWSR 2017-11-14 16:41:18 -05:00
Kconfig drm/amdkfd: Centralize IOMMUv2 code and make it conditional 2017-12-08 19:22:12 -05:00
kfd_chardev.c drm/amdkfd: Kmap event page for dGPUs 2018-03-15 17:27:52 -04:00
kfd_crat.c drm/amdkfd: fix uninitialized variable use 2018-03-15 17:49:40 +01:00
kfd_crat.h drm/amdkfd: Add topology support for dGPUs 2017-12-08 23:08:59 -05:00
kfd_dbgdev.c drm/amdkfd: Hardware DWORD size is 4 bytes 2017-11-06 14:52:27 -05:00
kfd_dbgdev.h
kfd_dbgmgr.c drm/amdkfd: Make sched_policy a per-device setting 2018-01-04 17:17:43 -05:00
kfd_dbgmgr.h
kfd_debugfs.c drm/amdkfd: Add debugfs support to KFD 2017-11-27 18:29:49 -05:00
kfd_device_queue_manager_cik.c drm/amdkfd: Add dGPU support to the device queue manager 2018-01-04 17:17:44 -05:00
kfd_device_queue_manager_vi.c drm/amdkfd: Add dGPU support to the device queue manager 2018-01-04 17:17:44 -05:00
kfd_device_queue_manager.c drm/amdkfd: Add TC flush on VMID deallocation for Hawaii 2018-03-15 17:27:50 -04:00
kfd_device_queue_manager.h drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
kfd_device.c drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
kfd_doorbell.c drm/amdkfd: Fix printing pointer cast 2017-12-04 06:50:17 -05:00
kfd_events.c drm/amdkfd: Kmap event page for dGPUs 2018-03-15 17:27:52 -04:00
kfd_events.h
kfd_flat_memory.c drm/amdkfd: Aperture setup for dGPUs 2018-03-15 17:27:47 -04:00
kfd_interrupt.c
kfd_iommu.c drm/amdkfd: Centralize IOMMUv2 code and make it conditional 2017-12-08 19:22:12 -05:00
kfd_iommu.h drm/amdkfd: Centralize IOMMUv2 code and make it conditional 2017-12-08 19:22:12 -05:00
kfd_kernel_queue_cik.c
kfd_kernel_queue_vi.c
kfd_kernel_queue.c drm/amdkfd: Add dGPU support to kernel_queue_init 2018-01-04 17:17:46 -05:00
kfd_kernel_queue.h
kfd_module.c drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
kfd_mqd_manager_cik.c drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
kfd_mqd_manager_vi.c drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
kfd_mqd_manager.c drm/amdkfd: Add dGPU support to the MQD manager 2018-01-04 17:17:45 -05:00
kfd_mqd_manager.h drm/amdkfd: Add debugfs support to KFD 2017-11-27 18:29:49 -05:00
kfd_packet_manager.c drm/amdkfd: Add TC flush on VMID deallocation for Hawaii 2018-03-15 17:27:50 -04:00
kfd_pasid.c drm/amdkfd: Support enumerating non-GPU devices 2017-12-08 23:08:53 -05:00
kfd_pm4_headers_diq.h
kfd_pm4_headers_vi.h
kfd_pm4_headers.h
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: Kmap event page for dGPUs 2018-03-15 17:27:52 -04:00
kfd_process_queue_manager.c drm/amdkfd: Make sched_policy a per-device setting 2018-01-04 17:17:43 -05:00
kfd_process.c drm/amdkfd: Add TC flush on VMID deallocation for Hawaii 2018-03-15 17:27:50 -04:00
kfd_queue.c
kfd_topology.c drm/amdkfd: Populate DRM render device minor 2018-03-15 17:27:45 -04:00
kfd_topology.h drm/amdkfd: Populate DRM render device minor 2018-03-15 17:27:45 -04:00
Makefile drm/amdkfd: Group up CRAT related functions 2017-12-08 23:08:49 -05:00