gem5  v20.1.0.0
Classes | Macros
kfd_ioctl.h File Reference
#include <linux/types.h>
#include <linux/ioctl.h>

Go to the source code of this file.

Classes

struct  kfd_ioctl_get_version_args
 
struct  kfd_ioctl_create_queue_args
 
struct  kfd_ioctl_destroy_queue_args
 
struct  kfd_ioctl_update_queue_args
 
struct  kfd_ioctl_set_cu_mask_args
 
struct  kfd_ioctl_set_memory_policy_args
 
struct  kfd_ioctl_set_trap_handler_args
 
struct  kfd_ioctl_get_clock_counters_args
 
struct  kfd_process_device_apertures
 
struct  kfd_ioctl_get_process_apertures_args
 
struct  kfd_ioctl_get_process_apertures_new_args
 
struct  kfd_ioctl_dbg_register_args
 
struct  kfd_ioctl_dbg_unregister_args
 
struct  kfd_ioctl_dbg_address_watch_args
 
struct  kfd_ioctl_dbg_wave_control_args
 
struct  kfd_ioctl_create_event_args
 
struct  kfd_ioctl_destroy_event_args
 
struct  kfd_ioctl_set_event_args
 
struct  kfd_ioctl_reset_event_args
 
struct  kfd_memory_exception_failure
 
struct  kfd_hsa_memory_exception_data
 
struct  kfd_event_data
 
struct  kfd_ioctl_wait_events_args
 
struct  kfd_ioctl_alloc_memory_of_scratch_args
 
struct  kfd_ioctl_alloc_memory_of_gpu_args
 
struct  kfd_ioctl_free_memory_of_gpu_args
 
struct  kfd_ioctl_map_memory_to_gpu_args
 
struct  kfd_ioctl_unmap_memory_from_gpu_args
 
struct  kfd_ioctl_open_graphic_handle_args
 
struct  kfd_ioctl_set_process_dgpu_aperture_args
 
struct  kfd_ioctl_get_dmabuf_info_args
 
struct  kfd_ioctl_import_dmabuf_args
 
struct  kfd_ioctl_ipc_export_handle_args
 
struct  kfd_ioctl_ipc_import_handle_args
 
struct  kfd_ioctl_get_tile_config_args
 
struct  kfd_memory_range
 
struct  kfd_ioctl_cross_memory_copy_args
 

Macros

#define KFD_IOCTL_MAJOR_VERSION   1
 
#define KFD_IOCTL_MINOR_VERSION   2
 
#define KFD_IOC_QUEUE_TYPE_COMPUTE   0
 
#define KFD_IOC_QUEUE_TYPE_SDMA   1
 
#define KFD_IOC_QUEUE_TYPE_COMPUTE_AQL   2
 
#define KFD_MAX_QUEUE_PERCENTAGE   100
 
#define KFD_MAX_QUEUE_PRIORITY   15
 
#define KFD_IOC_CACHE_POLICY_COHERENT   0
 
#define KFD_IOC_CACHE_POLICY_NONCOHERENT   1
 
#define NUM_OF_SUPPORTED_GPUS   7
 
#define MAX_ALLOWED_NUM_POINTS   100
 
#define MAX_ALLOWED_AW_BUFF_SIZE   4096
 
#define MAX_ALLOWED_WAC_BUFF_SIZE   128
 
#define KFD_IOC_EVENT_SIGNAL   0
 
#define KFD_IOC_EVENT_NODECHANGE   1
 
#define KFD_IOC_EVENT_DEVICESTATECHANGE   2
 
#define KFD_IOC_EVENT_HW_EXCEPTION   3
 
#define KFD_IOC_EVENT_SYSTEM_EVENT   4
 
#define KFD_IOC_EVENT_DEBUG_EVENT   5
 
#define KFD_IOC_EVENT_PROFILE_EVENT   6
 
#define KFD_IOC_EVENT_QUEUE_EVENT   7
 
#define KFD_IOC_EVENT_MEMORY   8
 
#define KFD_IOC_WAIT_RESULT_COMPLETE   0
 
#define KFD_IOC_WAIT_RESULT_TIMEOUT   1
 
#define KFD_IOC_WAIT_RESULT_FAIL   2
 
#define KFD_SIGNAL_EVENT_LIMIT   (4096 + 512)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_VRAM   (1 << 0)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_GTT   (1 << 1)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_USERPTR   (1 << 2)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL   (1 << 3)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_NONPAGED   (1 << 31)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_READONLY   (1 << 30)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_PUBLIC   (1 << 29)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_NO_SUBSTITUTE   (1 << 28)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM   (1 << 27)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_EXECUTE_ACCESS   (1 << 26)
 
#define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT   (1 << 25)
 
#define KFD_CROSS_MEMORY_RW_BIT   (1 << 0)
 
#define KFD_SET_CROSS_MEMORY_READ(flags)   (flags &= ~KFD_CROSS_MEMORY_RW_BIT)
 
#define KFD_SET_CROSS_MEMORY_WRITE(flags)   (flags |= KFD_CROSS_MEMORY_RW_BIT)
 
#define KFD_IS_CROSS_MEMORY_WRITE(flags)   (flags & KFD_CROSS_MEMORY_RW_BIT)
 
#define AMDKFD_IOCTL_BASE   'K'
 
#define AMDKFD_IO(nr)   _IO(AMDKFD_IOCTL_BASE, nr)
 
#define AMDKFD_IOR(nr, type)   _IOR(AMDKFD_IOCTL_BASE, nr, type)
 
#define AMDKFD_IOW(nr, type)   _IOW(AMDKFD_IOCTL_BASE, nr, type)
 
#define AMDKFD_IOWR(nr, type)   _IOWR(AMDKFD_IOCTL_BASE, nr, type)
 
#define AMDKFD_IOC_GET_VERSION   AMDKFD_IOR(0x01, struct kfd_ioctl_get_version_args)
 
#define AMDKFD_IOC_CREATE_QUEUE   AMDKFD_IOWR(0x02, struct kfd_ioctl_create_queue_args)
 
#define AMDKFD_IOC_DESTROY_QUEUE   AMDKFD_IOWR(0x03, struct kfd_ioctl_destroy_queue_args)
 
#define AMDKFD_IOC_SET_MEMORY_POLICY   AMDKFD_IOW(0x04, struct kfd_ioctl_set_memory_policy_args)
 
#define AMDKFD_IOC_GET_CLOCK_COUNTERS   AMDKFD_IOWR(0x05, struct kfd_ioctl_get_clock_counters_args)
 
#define AMDKFD_IOC_GET_PROCESS_APERTURES   AMDKFD_IOR(0x06, struct kfd_ioctl_get_process_apertures_args)
 
#define AMDKFD_IOC_UPDATE_QUEUE   AMDKFD_IOW(0x07, struct kfd_ioctl_update_queue_args)
 
#define AMDKFD_IOC_CREATE_EVENT   AMDKFD_IOWR(0x08, struct kfd_ioctl_create_event_args)
 
#define AMDKFD_IOC_DESTROY_EVENT   AMDKFD_IOW(0x09, struct kfd_ioctl_destroy_event_args)
 
#define AMDKFD_IOC_SET_EVENT   AMDKFD_IOW(0x0A, struct kfd_ioctl_set_event_args)
 
#define AMDKFD_IOC_RESET_EVENT   AMDKFD_IOW(0x0B, struct kfd_ioctl_reset_event_args)
 
#define AMDKFD_IOC_WAIT_EVENTS   AMDKFD_IOWR(0x0C, struct kfd_ioctl_wait_events_args)
 
#define AMDKFD_IOC_DBG_REGISTER   AMDKFD_IOW(0x0D, struct kfd_ioctl_dbg_register_args)
 
#define AMDKFD_IOC_DBG_UNREGISTER   AMDKFD_IOW(0x0E, struct kfd_ioctl_dbg_unregister_args)
 
#define AMDKFD_IOC_DBG_ADDRESS_WATCH   AMDKFD_IOW(0x0F, struct kfd_ioctl_dbg_address_watch_args)
 
#define AMDKFD_IOC_DBG_WAVE_CONTROL   AMDKFD_IOW(0x10, struct kfd_ioctl_dbg_wave_control_args)
 
#define AMDKFD_IOC_ALLOC_MEMORY_OF_GPU   AMDKFD_IOWR(0x11, struct kfd_ioctl_alloc_memory_of_gpu_args)
 
#define AMDKFD_IOC_FREE_MEMORY_OF_GPU   AMDKFD_IOWR(0x12, struct kfd_ioctl_free_memory_of_gpu_args)
 
#define AMDKFD_IOC_MAP_MEMORY_TO_GPU   AMDKFD_IOWR(0x13, struct kfd_ioctl_map_memory_to_gpu_args)
 
#define AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU   AMDKFD_IOWR(0x14, struct kfd_ioctl_unmap_memory_from_gpu_args)
 
#define AMDKFD_IOC_ALLOC_MEMORY_OF_SCRATCH   AMDKFD_IOWR(0x15, struct kfd_ioctl_alloc_memory_of_scratch_args)
 
#define AMDKFD_IOC_SET_CU_MASK   AMDKFD_IOW(0x16, struct kfd_ioctl_set_cu_mask_args)
 
#define AMDKFD_IOC_SET_PROCESS_DGPU_APERTURE
 
#define AMDKFD_IOC_SET_TRAP_HANDLER   AMDKFD_IOW(0x18, struct kfd_ioctl_set_trap_handler_args)
 
#define AMDKFD_IOC_GET_PROCESS_APERTURES_NEW   AMDKFD_IOWR(0x19, struct kfd_ioctl_get_process_apertures_new_args)
 
#define AMDKFD_IOC_GET_DMABUF_INFO   AMDKFD_IOWR(0x1A, struct kfd_ioctl_get_dmabuf_info_args)
 
#define AMDKFD_IOC_IMPORT_DMABUF   AMDKFD_IOWR(0x1B, struct kfd_ioctl_import_dmabuf_args)
 
#define AMDKFD_IOC_GET_TILE_CONFIG   AMDKFD_IOWR(0x1C, struct kfd_ioctl_get_tile_config_args)
 
#define AMDKFD_IOC_IPC_IMPORT_HANDLE   AMDKFD_IOWR(0x1D, struct kfd_ioctl_ipc_import_handle_args)
 
#define AMDKFD_IOC_IPC_EXPORT_HANDLE   AMDKFD_IOWR(0x1E, struct kfd_ioctl_ipc_export_handle_args)
 
#define AMDKFD_IOC_CROSS_MEMORY_COPY   AMDKFD_IOWR(0x1F, struct kfd_ioctl_cross_memory_copy_args)
 
#define AMDKFD_IOC_OPEN_GRAPHIC_HANDLE   AMDKFD_IOWR(0x20, struct kfd_ioctl_open_graphic_handle_args)
 
#define AMDKFD_COMMAND_START   0x01
 
#define AMDKFD_COMMAND_END   0x21
 

Macro Definition Documentation

◆ AMDKFD_COMMAND_END

#define AMDKFD_COMMAND_END   0x21

Definition at line 534 of file kfd_ioctl.h.

◆ AMDKFD_COMMAND_START

#define AMDKFD_COMMAND_START   0x01

Definition at line 533 of file kfd_ioctl.h.

◆ AMDKFD_IO

#define AMDKFD_IO (   nr)    _IO(AMDKFD_IOCTL_BASE, nr)

Definition at line 430 of file kfd_ioctl.h.

◆ AMDKFD_IOC_ALLOC_MEMORY_OF_GPU

#define AMDKFD_IOC_ALLOC_MEMORY_OF_GPU   AMDKFD_IOWR(0x11, struct kfd_ioctl_alloc_memory_of_gpu_args)

Definition at line 483 of file kfd_ioctl.h.

◆ AMDKFD_IOC_ALLOC_MEMORY_OF_SCRATCH

#define AMDKFD_IOC_ALLOC_MEMORY_OF_SCRATCH   AMDKFD_IOWR(0x15, struct kfd_ioctl_alloc_memory_of_scratch_args)

Definition at line 495 of file kfd_ioctl.h.

◆ AMDKFD_IOC_CREATE_EVENT

#define AMDKFD_IOC_CREATE_EVENT   AMDKFD_IOWR(0x08, struct kfd_ioctl_create_event_args)

Definition at line 456 of file kfd_ioctl.h.

◆ AMDKFD_IOC_CREATE_QUEUE

#define AMDKFD_IOC_CREATE_QUEUE   AMDKFD_IOWR(0x02, struct kfd_ioctl_create_queue_args)

Definition at line 438 of file kfd_ioctl.h.

◆ AMDKFD_IOC_CROSS_MEMORY_COPY

#define AMDKFD_IOC_CROSS_MEMORY_COPY   AMDKFD_IOWR(0x1F, struct kfd_ioctl_cross_memory_copy_args)

Definition at line 526 of file kfd_ioctl.h.

◆ AMDKFD_IOC_DBG_ADDRESS_WATCH

#define AMDKFD_IOC_DBG_ADDRESS_WATCH   AMDKFD_IOW(0x0F, struct kfd_ioctl_dbg_address_watch_args)

Definition at line 477 of file kfd_ioctl.h.

◆ AMDKFD_IOC_DBG_REGISTER

#define AMDKFD_IOC_DBG_REGISTER   AMDKFD_IOW(0x0D, struct kfd_ioctl_dbg_register_args)

Definition at line 471 of file kfd_ioctl.h.

◆ AMDKFD_IOC_DBG_UNREGISTER

#define AMDKFD_IOC_DBG_UNREGISTER   AMDKFD_IOW(0x0E, struct kfd_ioctl_dbg_unregister_args)

Definition at line 474 of file kfd_ioctl.h.

◆ AMDKFD_IOC_DBG_WAVE_CONTROL

#define AMDKFD_IOC_DBG_WAVE_CONTROL   AMDKFD_IOW(0x10, struct kfd_ioctl_dbg_wave_control_args)

Definition at line 480 of file kfd_ioctl.h.

◆ AMDKFD_IOC_DESTROY_EVENT

#define AMDKFD_IOC_DESTROY_EVENT   AMDKFD_IOW(0x09, struct kfd_ioctl_destroy_event_args)

Definition at line 459 of file kfd_ioctl.h.

◆ AMDKFD_IOC_DESTROY_QUEUE

#define AMDKFD_IOC_DESTROY_QUEUE   AMDKFD_IOWR(0x03, struct kfd_ioctl_destroy_queue_args)

Definition at line 441 of file kfd_ioctl.h.

◆ AMDKFD_IOC_FREE_MEMORY_OF_GPU

#define AMDKFD_IOC_FREE_MEMORY_OF_GPU   AMDKFD_IOWR(0x12, struct kfd_ioctl_free_memory_of_gpu_args)

Definition at line 486 of file kfd_ioctl.h.

◆ AMDKFD_IOC_GET_CLOCK_COUNTERS

#define AMDKFD_IOC_GET_CLOCK_COUNTERS   AMDKFD_IOWR(0x05, struct kfd_ioctl_get_clock_counters_args)

Definition at line 447 of file kfd_ioctl.h.

◆ AMDKFD_IOC_GET_DMABUF_INFO

#define AMDKFD_IOC_GET_DMABUF_INFO   AMDKFD_IOWR(0x1A, struct kfd_ioctl_get_dmabuf_info_args)

Definition at line 511 of file kfd_ioctl.h.

◆ AMDKFD_IOC_GET_PROCESS_APERTURES

#define AMDKFD_IOC_GET_PROCESS_APERTURES   AMDKFD_IOR(0x06, struct kfd_ioctl_get_process_apertures_args)

Definition at line 450 of file kfd_ioctl.h.

◆ AMDKFD_IOC_GET_PROCESS_APERTURES_NEW

#define AMDKFD_IOC_GET_PROCESS_APERTURES_NEW   AMDKFD_IOWR(0x19, struct kfd_ioctl_get_process_apertures_new_args)

Definition at line 508 of file kfd_ioctl.h.

◆ AMDKFD_IOC_GET_TILE_CONFIG

#define AMDKFD_IOC_GET_TILE_CONFIG   AMDKFD_IOWR(0x1C, struct kfd_ioctl_get_tile_config_args)

Definition at line 517 of file kfd_ioctl.h.

◆ AMDKFD_IOC_GET_VERSION

#define AMDKFD_IOC_GET_VERSION   AMDKFD_IOR(0x01, struct kfd_ioctl_get_version_args)

Definition at line 435 of file kfd_ioctl.h.

◆ AMDKFD_IOC_IMPORT_DMABUF

#define AMDKFD_IOC_IMPORT_DMABUF   AMDKFD_IOWR(0x1B, struct kfd_ioctl_import_dmabuf_args)

Definition at line 514 of file kfd_ioctl.h.

◆ AMDKFD_IOC_IPC_EXPORT_HANDLE

#define AMDKFD_IOC_IPC_EXPORT_HANDLE   AMDKFD_IOWR(0x1E, struct kfd_ioctl_ipc_export_handle_args)

Definition at line 523 of file kfd_ioctl.h.

◆ AMDKFD_IOC_IPC_IMPORT_HANDLE

#define AMDKFD_IOC_IPC_IMPORT_HANDLE   AMDKFD_IOWR(0x1D, struct kfd_ioctl_ipc_import_handle_args)

Definition at line 520 of file kfd_ioctl.h.

◆ AMDKFD_IOC_MAP_MEMORY_TO_GPU

#define AMDKFD_IOC_MAP_MEMORY_TO_GPU   AMDKFD_IOWR(0x13, struct kfd_ioctl_map_memory_to_gpu_args)

Definition at line 489 of file kfd_ioctl.h.

◆ AMDKFD_IOC_OPEN_GRAPHIC_HANDLE

#define AMDKFD_IOC_OPEN_GRAPHIC_HANDLE   AMDKFD_IOWR(0x20, struct kfd_ioctl_open_graphic_handle_args)

Definition at line 530 of file kfd_ioctl.h.

◆ AMDKFD_IOC_RESET_EVENT

#define AMDKFD_IOC_RESET_EVENT   AMDKFD_IOW(0x0B, struct kfd_ioctl_reset_event_args)

Definition at line 465 of file kfd_ioctl.h.

◆ AMDKFD_IOC_SET_CU_MASK

#define AMDKFD_IOC_SET_CU_MASK   AMDKFD_IOW(0x16, struct kfd_ioctl_set_cu_mask_args)

Definition at line 498 of file kfd_ioctl.h.

◆ AMDKFD_IOC_SET_EVENT

#define AMDKFD_IOC_SET_EVENT   AMDKFD_IOW(0x0A, struct kfd_ioctl_set_event_args)

Definition at line 462 of file kfd_ioctl.h.

◆ AMDKFD_IOC_SET_MEMORY_POLICY

#define AMDKFD_IOC_SET_MEMORY_POLICY   AMDKFD_IOW(0x04, struct kfd_ioctl_set_memory_policy_args)

Definition at line 444 of file kfd_ioctl.h.

◆ AMDKFD_IOC_SET_PROCESS_DGPU_APERTURE

#define AMDKFD_IOC_SET_PROCESS_DGPU_APERTURE
Value:

Definition at line 501 of file kfd_ioctl.h.

◆ AMDKFD_IOC_SET_TRAP_HANDLER

#define AMDKFD_IOC_SET_TRAP_HANDLER   AMDKFD_IOW(0x18, struct kfd_ioctl_set_trap_handler_args)

Definition at line 505 of file kfd_ioctl.h.

◆ AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU

#define AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU   AMDKFD_IOWR(0x14, struct kfd_ioctl_unmap_memory_from_gpu_args)

Definition at line 492 of file kfd_ioctl.h.

◆ AMDKFD_IOC_UPDATE_QUEUE

#define AMDKFD_IOC_UPDATE_QUEUE   AMDKFD_IOW(0x07, struct kfd_ioctl_update_queue_args)

Definition at line 453 of file kfd_ioctl.h.

◆ AMDKFD_IOC_WAIT_EVENTS

#define AMDKFD_IOC_WAIT_EVENTS   AMDKFD_IOWR(0x0C, struct kfd_ioctl_wait_events_args)

Definition at line 468 of file kfd_ioctl.h.

◆ AMDKFD_IOCTL_BASE

#define AMDKFD_IOCTL_BASE   'K'

Definition at line 429 of file kfd_ioctl.h.

◆ AMDKFD_IOR

#define AMDKFD_IOR (   nr,
  type 
)    _IOR(AMDKFD_IOCTL_BASE, nr, type)

Definition at line 431 of file kfd_ioctl.h.

◆ AMDKFD_IOW

#define AMDKFD_IOW (   nr,
  type 
)    _IOW(AMDKFD_IOCTL_BASE, nr, type)

Definition at line 432 of file kfd_ioctl.h.

◆ AMDKFD_IOWR

#define AMDKFD_IOWR (   nr,
  type 
)    _IOWR(AMDKFD_IOCTL_BASE, nr, type)

Definition at line 433 of file kfd_ioctl.h.

◆ KFD_CROSS_MEMORY_RW_BIT

#define KFD_CROSS_MEMORY_RW_BIT   (1 << 0)

Definition at line 407 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM

#define KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM   (1 << 27)

Definition at line 290 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_COHERENT

#define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT   (1 << 25)

Definition at line 292 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL

#define KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL   (1 << 3)

Definition at line 284 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_EXECUTE_ACCESS

#define KFD_IOC_ALLOC_MEM_FLAGS_EXECUTE_ACCESS   (1 << 26)

Definition at line 291 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_GTT

#define KFD_IOC_ALLOC_MEM_FLAGS_GTT   (1 << 1)

Definition at line 282 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_NO_SUBSTITUTE

#define KFD_IOC_ALLOC_MEM_FLAGS_NO_SUBSTITUTE   (1 << 28)

Definition at line 289 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_NONPAGED

#define KFD_IOC_ALLOC_MEM_FLAGS_NONPAGED   (1 << 31)

Definition at line 286 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_PUBLIC

#define KFD_IOC_ALLOC_MEM_FLAGS_PUBLIC   (1 << 29)

Definition at line 288 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_READONLY

#define KFD_IOC_ALLOC_MEM_FLAGS_READONLY   (1 << 30)

Definition at line 287 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_USERPTR

#define KFD_IOC_ALLOC_MEM_FLAGS_USERPTR   (1 << 2)

Definition at line 283 of file kfd_ioctl.h.

◆ KFD_IOC_ALLOC_MEM_FLAGS_VRAM

#define KFD_IOC_ALLOC_MEM_FLAGS_VRAM   (1 << 0)

Definition at line 281 of file kfd_ioctl.h.

◆ KFD_IOC_CACHE_POLICY_COHERENT

#define KFD_IOC_CACHE_POLICY_COHERENT   0

Definition at line 86 of file kfd_ioctl.h.

◆ KFD_IOC_CACHE_POLICY_NONCOHERENT

#define KFD_IOC_CACHE_POLICY_NONCOHERENT   1

Definition at line 87 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_DEBUG_EVENT

#define KFD_IOC_EVENT_DEBUG_EVENT   5

Definition at line 194 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_DEVICESTATECHANGE

#define KFD_IOC_EVENT_DEVICESTATECHANGE   2

Definition at line 191 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_HW_EXCEPTION

#define KFD_IOC_EVENT_HW_EXCEPTION   3

Definition at line 192 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_MEMORY

#define KFD_IOC_EVENT_MEMORY   8

Definition at line 197 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_NODECHANGE

#define KFD_IOC_EVENT_NODECHANGE   1

Definition at line 190 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_PROFILE_EVENT

#define KFD_IOC_EVENT_PROFILE_EVENT   6

Definition at line 195 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_QUEUE_EVENT

#define KFD_IOC_EVENT_QUEUE_EVENT   7

Definition at line 196 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_SIGNAL

#define KFD_IOC_EVENT_SIGNAL   0

Definition at line 189 of file kfd_ioctl.h.

◆ KFD_IOC_EVENT_SYSTEM_EVENT

#define KFD_IOC_EVENT_SYSTEM_EVENT   4

Definition at line 193 of file kfd_ioctl.h.

◆ KFD_IOC_QUEUE_TYPE_COMPUTE

#define KFD_IOC_QUEUE_TYPE_COMPUTE   0

Definition at line 38 of file kfd_ioctl.h.

◆ KFD_IOC_QUEUE_TYPE_COMPUTE_AQL

#define KFD_IOC_QUEUE_TYPE_COMPUTE_AQL   2

Definition at line 40 of file kfd_ioctl.h.

◆ KFD_IOC_QUEUE_TYPE_SDMA

#define KFD_IOC_QUEUE_TYPE_SDMA   1

Definition at line 39 of file kfd_ioctl.h.

◆ KFD_IOC_WAIT_RESULT_COMPLETE

#define KFD_IOC_WAIT_RESULT_COMPLETE   0

Definition at line 199 of file kfd_ioctl.h.

◆ KFD_IOC_WAIT_RESULT_FAIL

#define KFD_IOC_WAIT_RESULT_FAIL   2

Definition at line 201 of file kfd_ioctl.h.

◆ KFD_IOC_WAIT_RESULT_TIMEOUT

#define KFD_IOC_WAIT_RESULT_TIMEOUT   1

Definition at line 200 of file kfd_ioctl.h.

◆ KFD_IOCTL_MAJOR_VERSION

#define KFD_IOCTL_MAJOR_VERSION   1

Definition at line 29 of file kfd_ioctl.h.

◆ KFD_IOCTL_MINOR_VERSION

#define KFD_IOCTL_MINOR_VERSION   2

Definition at line 30 of file kfd_ioctl.h.

◆ KFD_IS_CROSS_MEMORY_WRITE

#define KFD_IS_CROSS_MEMORY_WRITE (   flags)    (flags & KFD_CROSS_MEMORY_RW_BIT)

Definition at line 410 of file kfd_ioctl.h.

◆ KFD_MAX_QUEUE_PERCENTAGE

#define KFD_MAX_QUEUE_PERCENTAGE   100

Definition at line 42 of file kfd_ioctl.h.

◆ KFD_MAX_QUEUE_PRIORITY

#define KFD_MAX_QUEUE_PRIORITY   15

Definition at line 43 of file kfd_ioctl.h.

◆ KFD_SET_CROSS_MEMORY_READ

#define KFD_SET_CROSS_MEMORY_READ (   flags)    (flags &= ~KFD_CROSS_MEMORY_RW_BIT)

Definition at line 408 of file kfd_ioctl.h.

◆ KFD_SET_CROSS_MEMORY_WRITE

#define KFD_SET_CROSS_MEMORY_WRITE (   flags)    (flags |= KFD_CROSS_MEMORY_RW_BIT)

Definition at line 409 of file kfd_ioctl.h.

◆ KFD_SIGNAL_EVENT_LIMIT

#define KFD_SIGNAL_EVENT_LIMIT   (4096 + 512)

Definition at line 210 of file kfd_ioctl.h.

◆ MAX_ALLOWED_AW_BUFF_SIZE

#define MAX_ALLOWED_AW_BUFF_SIZE   4096

Definition at line 163 of file kfd_ioctl.h.

◆ MAX_ALLOWED_NUM_POINTS

#define MAX_ALLOWED_NUM_POINTS   100

Definition at line 162 of file kfd_ioctl.h.

◆ MAX_ALLOWED_WAC_BUFF_SIZE

#define MAX_ALLOWED_WAC_BUFF_SIZE   128

Definition at line 164 of file kfd_ioctl.h.

◆ NUM_OF_SUPPORTED_GPUS

#define NUM_OF_SUPPORTED_GPUS   7

Definition at line 123 of file kfd_ioctl.h.

kfd_ioctl_set_process_dgpu_aperture_args
Definition: kfd_ioctl.h:335
AMDKFD_IOW
#define AMDKFD_IOW(nr, type)
Definition: kfd_ioctl.h:432

Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17