Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -489,6 +489,8 @@ struct drm_amdgpu_cs_chunk_data { · 488 unmodified lines | ||
| 489 | 489 | #define AMDGPU_INFO_NUM_EVICTIONS 0x18 |
| 490 | 490 | /* Query the total size of VRAM and GTT domains */ |
| 491 | 491 | #define AMDGPU_INFO_VRAM_GTT_TOTAL 0x19 |
| 492 | +/* Query the max allocation size of VRAM and GTT domains */ | |
| 493 | +#define AMDGPU_INFO_VRAM_GTT_MAX 0x1a | |
| 492 | 494 | |
| 493 | 495 | #define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0 |
| 494 | 496 | #define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff |
| @@ -580,6 +582,12 @@ struct drm_amdgpu_info_vram_gtt_total { · 85 unmodified lines | ||
| 580 | 582 | __u64 gtt_total_size; |
| 581 | 583 | }; |
| 582 | 584 | |
| 585 | +struct drm_amdgpu_info_vram_gtt_max { | |
| 586 | + __u64 vram_max_size; | |
| 587 | + __u64 vram_cpu_accessible_max_size; | |
| 588 | + __u64 gtt_max_size; | |
| 589 | +}; | |
| 590 | + | |
| 583 | 591 | struct drm_amdgpu_info_firmware { |
| 584 | 592 | __u32 ver; |
| 585 | 593 | __u32 feature; |