amdgpu: - Fix spelling typos - RAS updates - VCN 5.0.1 updates - SubVP fixes - DCN 4.0.1 fixes - MSO DPCD fixes - DIO encoder refactor - PCON fixes - Misc cleanups - DMCUB fixes - USB4 DP fixes - DM cleanups - Backlight cleanups and fixes - Support platform backlight curves - Misc code cleanups - SMU 14 fixes - JPEG 4.0.3 reset updates - SR-IOV fixes - SVM fixes - GC 12 DCC fixes - DC DCE 6.x fix - Hiberation fix amdkfd: - Fix possible NULL pointer in queue validation - Remove unnecessary CP domain validation - SDMA queue reset support - Add per process flags radeon: - Fix spelling typos - RS400 hyperZ fix UAPI: - Add KFD per process flags for setting precision Proposed user space: https://github.com/ROCm/ROCR-Runtime/commit/2a64fa5e06e80e0af36df4ce0c76ae52eeec0a9d Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing the changes to include/uapi/linux (2 of 305 files). Show all
Unified · Split
| @@ -43,9 +43,10 @@ · 42 unmodified lines | ||
| 43 | 43 | * - 1.15 - Enable managing mappings in compute VMs with GEM_VA ioctl |
| 44 | 44 | * - 1.16 - Add contiguous VRAM allocation flag |
| 45 | 45 | * - 1.17 - Add SDMA queue creation with target SDMA engine ID |
| 46 | + * - 1.18 - Rename pad in set_memory_policy_args to misc_process_flag | |
| 46 | 47 | */ |
| 47 | 48 | #define KFD_IOCTL_MAJOR_VERSION 1 |
| 48 | −#define KFD_IOCTL_MINOR_VERSION 17 | |
| 49 | +#define KFD_IOCTL_MINOR_VERSION 18 | |
| 49 | 50 | |
| 50 | 51 | struct kfd_ioctl_get_version_args { |
| 51 | 52 | __u32 major_version; /* from KFD */ |
| @@ -62,6 +63,8 @@ struct kfd_ioctl_get_version_args { · 10 unmodified lines | ||
| 62 | 63 | #define KFD_MAX_QUEUE_PERCENTAGE 100 |
| 63 | 64 | #define KFD_MAX_QUEUE_PRIORITY 15 |
| 64 | 65 | |
| 66 | +#define KFD_MIN_QUEUE_RING_SIZE 1024 | |
| 67 | + | |
| 65 | 68 | struct kfd_ioctl_create_queue_args { |
| 66 | 69 | __u64 ring_base_address; /* to KFD */ |
| 67 | 70 | __u64 write_pointer_address; /* from KFD */ |
| @@ -148,6 +151,9 @@ struct kfd_dbg_device_info_entry { · 80 unmodified lines | ||
| 148 | 151 | #define KFD_IOC_CACHE_POLICY_COHERENT 0 |
| 149 | 152 | #define KFD_IOC_CACHE_POLICY_NONCOHERENT 1 |
| 150 | 153 | |
| 154 | +/* Misc. per process flags */ | |
| 155 | +#define KFD_PROC_FLAG_MFMA_HIGH_PRECISION (1 << 0) | |
| 156 | + | |
| 151 | 157 | struct kfd_ioctl_set_memory_policy_args { |
| 152 | 158 | __u64 alternate_aperture_base; /* to KFD */ |
| 153 | 159 | __u64 alternate_aperture_size; /* to KFD */ |
| @@ -155,7 +161,7 @@ struct kfd_ioctl_set_memory_policy_args { · 1 unmodified line | ||
| 155 | 161 | __u32 gpu_id; /* to KFD */ |
| 156 | 162 | __u32 default_policy; /* to KFD */ |
| 157 | 163 | __u32 alternate_policy; /* to KFD */ |
| 158 | − __u32 pad; | |
| 164 | + __u32 misc_process_flag; /* to KFD */ | |
| 159 | 165 | }; |
| 160 | 166 | |
| 161 | 167 | /* |
| @@ -63,6 +63,9 @@ · 62 unmodified lines | ||
| 63 | 63 | #define HSA_CAP_PER_QUEUE_RESET_SUPPORTED 0x80000000 |
| 64 | 64 | #define HSA_CAP_RESERVED 0x000f8000 |
| 65 | 65 | |
| 66 | +#define HSA_CAP2_PER_SDMA_QUEUE_RESET_SUPPORTED 0x00000001 | |
| 67 | +#define HSA_CAP2_RESERVED 0xfffffffe | |
| 68 | + | |
| 66 | 69 | /* debug_prop bits in node properties */ |
| 67 | 70 | #define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_MASK 0x0000000f |
| 68 | 71 | #define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_SHIFT 0 |