amd-drm-next-6.9-2024-02-09: amdgpu: - Validate DMABuf imports in compute VMs - Add RAS ACA framework - PSP 13 fixes - Misc code cleanups - Replay fixes - Atom interpretor PS, WS bounds checking - DML2 fixes - Audio fixes - DCN 3.5 Z state fixes - Remove deprecated ida_simple usage - UBSAN fixes - RAS fixes - Enable seq64 infrastructure - DC color block enablement - Documentation updates - DC documentation updates - DMCUB updates - S3 fixes - VCN 4.0.5 fixes - DP MST fixes - SR-IOV fixes amdkfd: - Validate DMABuf imports in compute VMs - SVM fixes - Trap handler updates radeon: - Atom interpretor PS, WS bounds checking - Misc code cleanups UAPI: - Bump KFD version so UMDs know that the fixes that enable the management of VA mappings in compute VMs using the GEM_VA ioctl for DMABufs exported from KFD are present - Add INFO query for input power. This matches the existing INFO query for average power. Used in gaming HUDs, etc. Example userspace: https://github.com/Umio-Yasuno/libdrm-amdgpu-sys-rs/tree/input_power
Showing the changes to include/uapi (2 of 296 files). Show all
Unified · Split
| @@ -865,6 +865,8 @@ struct drm_amdgpu_cs_chunk_cp_gfx_shadow { · 864 unmodified lines | ||
| 865 | 865 | #define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_SCLK 0xa |
| 866 | 866 | /* Subquery id: Query GPU peak pstate memory clock */ |
| 867 | 867 | #define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_MCLK 0xb |
| 868 | + /* Subquery id: Query input GPU power */ | |
| 869 | + #define AMDGPU_INFO_SENSOR_GPU_INPUT_POWER 0xc | |
| 868 | 870 | /* Number of VRAM page faults on CPU access. */ |
| 869 | 871 | #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E |
| 870 | 872 | #define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F |
| @@ -40,9 +40,10 @@ · 39 unmodified lines | ||
| 40 | 40 | * - 1.12 - Add DMA buf export ioctl |
| 41 | 41 | * - 1.13 - Add debugger API |
| 42 | 42 | * - 1.14 - Update kfd_event_data |
| 43 | + * - 1.15 - Enable managing mappings in compute VMs with GEM_VA ioctl | |
| 43 | 44 | */ |
| 44 | 45 | #define KFD_IOCTL_MAJOR_VERSION 1 |
| 45 | −#define KFD_IOCTL_MINOR_VERSION 14 | |
| 46 | +#define KFD_IOCTL_MINOR_VERSION 15 | |
| 46 | 47 | |
| 47 | 48 | struct kfd_ioctl_get_version_args { |
| 48 | 49 | __u32 major_version; /* from KFD */ |