diff options
| author | Dave Airlie <airlied@redhat.com> | 2017-01-31 17:39:35 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2017-01-31 17:39:35 -0500 |
| commit | 29a73d906bd386839015602c4bd35ef2e3531abc (patch) | |
| tree | f2d1e92e90e4286d6882f052c9b24f244610f52f /include/uapi | |
| parent | 012bbe28c0e3a479ec7ba6f311710cf8409647d4 (diff) | |
| parent | 268c3001842cb179b54a2825dad9b70151bf4de6 (diff) | |
Merge branch 'drm-next-4.11' of git://people.freedesktop.org/~agd5f/linux into drm-next
This is the main feature pull for radeon and amdgpu for 4.11. Highlights:
- Power and clockgating improvements
- Preliminary SR-IOV support
- ttm buffer priority support
- ttm eviction fixes
- Removal of the ttm lru callbacks
- Remove SI DPM quirks due to MC firmware issues
- Handle VFCT with multiple vbioses
- Powerplay improvements
- Lots of driver cleanups
* 'drm-next-4.11' of git://people.freedesktop.org/~agd5f/linux: (120 commits)
drm/amdgpu: fix amdgpu_bo_va_mapping flags
drm/amdgpu: access stolen VRAM directly on CZ (v2)
drm/amdgpu: access stolen VRAM directly on KV/KB (v2)
drm/amdgpu: fix kernel panic when dpm disabled on Kv.
drm/amdgpu: fix dpm bug on Kv.
drm/amd/powerplay: fix regresstion issue can't set manual dpm mode.
drm/amdgpu: handle vfct with multiple vbios images
drm/radeon: handle vfct with multiple vbios images
drm/amdgpu: move misc si headers into amdgpu
drm/amdgpu: remove unused header si_reg.h
drm/radeon: drop pitcairn dpm quirks
drm/amdgpu: drop pitcairn dpm quirks
drm: radeon: radeon_ttm: Handle return NULL error from ioremap_nocache
drm/amd/amdgpu/amdgpu_ttm: Handle return NULL error from ioremap_nocache
drm/amdgpu: add new virtual display ID
drm/amd/amdgpu: remove the uncessary parameter for ib scheduler
drm/amdgpu: Bring bo creation in line with radeon driver (v2)
drm/amd/powerplay: fix misspelling in header guard
drm/ttm: revert "add optional LRU removal callback v2"
drm/ttm: revert "implement LRU add callbacks v2"
...
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 396183628f3c..5797283c2d79 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h | |||
| @@ -528,6 +528,8 @@ struct drm_amdgpu_cs_chunk_data { | |||
| 528 | #define AMDGPU_INFO_VBIOS_SIZE 0x1 | 528 | #define AMDGPU_INFO_VBIOS_SIZE 0x1 |
| 529 | /* Subquery id: Query vbios image */ | 529 | /* Subquery id: Query vbios image */ |
| 530 | #define AMDGPU_INFO_VBIOS_IMAGE 0x2 | 530 | #define AMDGPU_INFO_VBIOS_IMAGE 0x2 |
| 531 | /* Query UVD handles */ | ||
| 532 | #define AMDGPU_INFO_NUM_HANDLES 0x1C | ||
| 531 | 533 | ||
| 532 | #define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0 | 534 | #define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0 |
| 533 | #define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff | 535 | #define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff |
| @@ -719,6 +721,13 @@ struct drm_amdgpu_info_hw_ip { | |||
| 719 | __u32 _pad; | 721 | __u32 _pad; |
| 720 | }; | 722 | }; |
| 721 | 723 | ||
| 724 | struct drm_amdgpu_info_num_handles { | ||
| 725 | /** Max handles as supported by firmware for UVD */ | ||
| 726 | __u32 uvd_max_handles; | ||
| 727 | /** Handles currently in use for UVD */ | ||
| 728 | __u32 uvd_used_handles; | ||
| 729 | }; | ||
| 730 | |||
| 722 | #define AMDGPU_VCE_CLOCK_TABLE_ENTRIES 6 | 731 | #define AMDGPU_VCE_CLOCK_TABLE_ENTRIES 6 |
| 723 | 732 | ||
| 724 | struct drm_amdgpu_info_vce_clock_table_entry { | 733 | struct drm_amdgpu_info_vce_clock_table_entry { |
