Directory Files
.. 0
File Size
Kconfig 1.4 kB
Makefile 2.8 kB
cik_event_interrupt.c 4.7 kB
cik_int.h 1.6 kB
cik_regs.h 2.5 kB
cwsr_trap_handler.h 86 kB
cwsr_trap_handler_gfx10.asm 49 kB
cwsr_trap_handler_gfx8.asm 43 kB
cwsr_trap_handler_gfx9.asm 46 kB
kfd_chardev.c 88 kB
kfd_crat.c 65 kB
kfd_crat.h 9.0 kB
kfd_debug.c 29 kB
kfd_debug.h 5.5 kB
kfd_debugfs.c 3.4 kB
kfd_device.c 40 kB
kfd_device_queue_manager.c 87 kB
kfd_device_queue_manager.h 11 kB
kfd_device_queue_manager_cik.c 5.0 kB
kfd_device_queue_manager_v10.c 2.8 kB
kfd_device_queue_manager_v11.c 2.8 kB
kfd_device_queue_manager_v9.c 3.2 kB
kfd_device_queue_manager_vi.c 5.1 kB
kfd_doorbell.c 8.8 kB
kfd_events.c 35 kB
kfd_events.h 2.9 kB
kfd_flat_memory.c 17 kB
kfd_int_process_v10.c 16 kB
kfd_int_process_v11.c 16 kB
kfd_int_process_v9.c 19 kB
kfd_interrupt.c 5.7 kB
kfd_kernel_queue.c 10 kB
kfd_kernel_queue.h 2.9 kB
kfd_migrate.c 28 kB
kfd_migrate.h 1.9 kB
kfd_module.c 2.6 kB
kfd_mqd_manager.c 9.6 kB
kfd_mqd_manager.h 6.3 kB
kfd_mqd_manager_cik.c 13 kB
kfd_mqd_manager_v10.c 16 kB
kfd_mqd_manager_v11.c 17 kB
kfd_mqd_manager_v9.c 27 kB
kfd_mqd_manager_vi.c 15 kB
kfd_packet_manager.c 12 kB
kfd_packet_manager_v9.c 15 kB
kfd_packet_manager_vi.c 10 kB
kfd_pasid.c 1.9 kB
kfd_pm4_headers.h 3.7 kB
kfd_pm4_headers_ai.h 16 kB
kfd_pm4_headers_aldebaran.h 2.6 kB
kfd_pm4_headers_vi.h 12 kB
kfd_pm4_opcodes.h 4.6 kB
kfd_priv.h 46 kB
kfd_process.c 59 kB
kfd_process_queue_manager.c 28 kB
kfd_queue.c 3.1 kB
kfd_smi_events.c 10 kB
kfd_smi_events.h 2.6 kB
kfd_svm.c 115 kB
kfd_svm.h 9.5 kB
kfd_topology.c 66 kB
kfd_topology.h 5.2 kB
soc15_int.h 2.4 kB

Linux v6.6.1 - amdkfd

# SPDX-License-Identifier: MIT
#
# Heterogeneous system architecture configuration
#

config HSA_AMD
	bool "HSA kernel driver for AMD GPU devices"
	depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64)
	select HMM_MIRROR
	select MMU_NOTIFIER
	select DRM_AMDGPU_USERPTR
	help
	  Enable this if you want to use HSA features on AMD GPU devices.

config HSA_AMD_SVM
	bool "Enable HMM-based shared virtual memory manager"
	depends on HSA_AMD && DEVICE_PRIVATE
	default y
	select HMM_MIRROR
	select MMU_NOTIFIER
	help
	  Enable this to use unified memory and managed memory in HIP. This
	  memory manager supports two modes of operation. One based on
	  preemptions and one based on page faults. To enable page fault
	  based memory management on most GFXv9 GPUs, set the module
	  parameter amdgpu.noretry=0.

config HSA_AMD_P2P
	bool "HSA kernel driver support for peer-to-peer for AMD GPU devices"
	depends on HSA_AMD && PCI_P2PDMA && DMABUF_MOVE_NOTIFY
	help
	  Enable peer-to-peer (P2P) communication between AMD GPUs over
	  the PCIe bus. This can improve performance of multi-GPU compute
	  applications and libraries by enabling GPUs to access data directly
	  in peer GPUs' memory without intermediate copies in system memory.

	  This P2P feature is only enabled on compatible chipsets, and between
	  GPUs with large memory BARs that expose the entire VRAM in PCIe bus
	  address space within the physical address limits of the GPUs.