History

Merge tag 'amd-drm-next-6.9-2024-02-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next

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

Dave Airlie committed 2 years ago

Commit b344e642 parents 0de6239 d559744296 files · +6767 −2541Browse files

Showing the changes to include/uapi (2 of 296 files). Show all

Unified · Split

2 files
  1. include/uapi/drm/amdgpu_drm.h +2 −0
  2. include/uapi/linux/kfd_ioctl.h +2 −1
include/uapi/drm/amdgpu_drm.h+2−0
@@ -865,6 +865,8 @@ struct drm_amdgpu_cs_chunk_cp_gfx_shadow { · 864 unmodified lines
865865 #define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_SCLK 0xa
866866 /* Subquery id: Query GPU peak pstate memory clock */
867867 #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
868870 /* Number of VRAM page faults on CPU access. */
869871 #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E
870872 #define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F
include/uapi/linux/kfd_ioctl.h+2−1
@@ -40,9 +40,10 @@ · 39 unmodified lines
4040 * - 1.12 - Add DMA buf export ioctl
4141 * - 1.13 - Add debugger API
4242 * - 1.14 - Update kfd_event_data
43+ * - 1.15 - Enable managing mappings in compute VMs with GEM_VA ioctl
4344 */
4445 #define KFD_IOCTL_MAJOR_VERSION 1
45−#define KFD_IOCTL_MINOR_VERSION 14
46+#define KFD_IOCTL_MINOR_VERSION 15
4647
4748 struct kfd_ioctl_get_version_args {
4849 __u32 major_version; /* from KFD */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t