Directory Files
.. 0
File Size
Kconfig 1.5 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 74 kB
cwsr_trap_handler_gfx10.asm 49 kB
cwsr_trap_handler_gfx8.asm 43 kB
cwsr_trap_handler_gfx9.asm 45 kB
kfd_chardev.c 76 kB
kfd_crat.c 71 kB
kfd_crat.h 9.1 kB
kfd_debugfs.c 3.4 kB
kfd_device.c 32 kB
kfd_device_queue_manager.c 68 kB
kfd_device_queue_manager.h 10 kB
kfd_device_queue_manager_cik.c 7.1 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 8.5 kB
kfd_doorbell.c 9.6 kB
kfd_events.c 37 kB
kfd_events.h 2.9 kB
kfd_flat_memory.c 17 kB
kfd_int_process_v11.c 16 kB
kfd_int_process_v9.c 15 kB
kfd_interrupt.c 5.6 kB
kfd_iommu.c 9.1 kB
kfd_iommu.h 2.5 kB
kfd_kernel_queue.c 10 kB
kfd_kernel_queue.h 2.9 kB
kfd_migrate.c 28 kB
kfd_migrate.h 2.1 kB
kfd_module.c 2.6 kB
kfd_mqd_manager.c 8.1 kB
kfd_mqd_manager.h 5.9 kB
kfd_mqd_manager_cik.c 14 kB
kfd_mqd_manager_v10.c 15 kB
kfd_mqd_manager_v11.c 14 kB
kfd_mqd_manager_v9.c 17 kB
kfd_mqd_manager_vi.c 16 kB
kfd_packet_manager.c 12 kB
kfd_packet_manager_v9.c 13 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 14 kB
kfd_pm4_headers_aldebaran.h 2.6 kB
kfd_pm4_headers_diq.h 7.2 kB
kfd_pm4_headers_vi.h 12 kB
kfd_pm4_opcodes.h 4.6 kB
kfd_priv.h 43 kB
kfd_process.c 54 kB
kfd_process_queue_manager.c 25 kB
kfd_queue.c 3.1 kB
kfd_smi_events.c 10 kB
kfd_smi_events.h 2.6 kB
kfd_svm.c 112 kB
kfd_svm.h 9.3 kB
kfd_topology.c 57 kB
kfd_topology.h 4.8 kB
soc15_int.h 2.3 kB

Linux v6.1-rc8 - 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)
	imply AMD_IOMMU_V2 if X86_64
	select HMM_MIRROR
	  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"
	default y
	select HMM_MIRROR
	  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"
	  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.