History

Merge branch 'drm-next-4.18' of git://people.freedesktop.org/~agd5f/linux into drm-next

Main changes for 4.18. I'd like to do a separate pull for vega20 later this week or next. Highlights: - Reserve pre-OS scanout buffer during init for seemless transition from console to driver - VEGAM support - Improved GPU scheduler documentation - Initial gfxoff support for raven - SR-IOV fixes - Default to non-AGP on PowerPC for radeon - Fine grained clock voltage control for vega10 - Power profiles for vega10 - Further clean up of powerplay/driver interface - Underlay fixes - Display link bw updates - Gamma fixes - Scatter/Gather display support on CZ/ST - Misc bug fixes and clean ups [airlied: fixup v3d vs scheduler API change]

Dave Airlie committed 8 years ago

Commit 95d2c3e2 parents b8a7108 8344c53259 files · +14419 −4589Browse files

Showing the changes to include/uapi (1 of 259 files). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+20−0
@@ -78,6 +78,12 @@ extern "C" { · 77 unmodified lines
7878 #define AMDGPU_GEM_DOMAIN_GDS 0x8
7979 #define AMDGPU_GEM_DOMAIN_GWS 0x10
8080 #define AMDGPU_GEM_DOMAIN_OA 0x20
81+#define AMDGPU_GEM_DOMAIN_MASK (AMDGPU_GEM_DOMAIN_CPU | \
82+ AMDGPU_GEM_DOMAIN_GTT | \
83+ AMDGPU_GEM_DOMAIN_VRAM | \
84+ AMDGPU_GEM_DOMAIN_GDS | \
85+ AMDGPU_GEM_DOMAIN_GWS | \
86+ AMDGPU_GEM_DOMAIN_OA)
8187
8288 /* Flag that CPU access will be required for the case of VRAM domain */
8389 #define AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED (1 << 0)
@@ -95,6 +101,10 @@ extern "C" { · 11 unmodified lines
95101 #define AMDGPU_GEM_CREATE_VM_ALWAYS_VALID (1 << 6)
96102 /* Flag that BO sharing will be explicitly synchronized */
97103 #define AMDGPU_GEM_CREATE_EXPLICIT_SYNC (1 << 7)
104+/* Flag that indicates allocating MQD gart on GFX9, where the mtype
105+ * for the second page onward should be set to NC.
106+ */
107+#define AMDGPU_GEM_CREATE_MQD_GFX9 (1 << 8)
98108
99109 struct drm_amdgpu_gem_create_in {
100110 /** the requested memory size */
@@ -520,6 +530,10 @@ union drm_amdgpu_cs { · 419 unmodified lines
520530 /* Preempt flag, IB should set Pre_enb bit if PREEMPT flag detected */
521531 #define AMDGPU_IB_FLAG_PREEMPT (1<<2)
522532
533+/* The IB fence should do the L2 writeback but not invalidate any shader
534+ * caches (L2/vL1/sL1/I$). */
535+#define AMDGPU_IB_FLAG_TC_WB_NOT_INVALIDATE (1 << 3)
536+
523537 struct drm_amdgpu_cs_chunk_ib {
524538 __u32 _pad;
525539 /** AMDGPU_IB_FLAG_* */
@@ -620,6 +634,12 @@ struct drm_amdgpu_cs_chunk_data { · 94 unmodified lines
620634 #define AMDGPU_INFO_FW_ASD 0x0d
621635 /* Subquery id: Query VCN firmware version */
622636 #define AMDGPU_INFO_FW_VCN 0x0e
637+ /* Subquery id: Query GFX RLC SRLC firmware version */
638+ #define AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL 0x0f
639+ /* Subquery id: Query GFX RLC SRLG firmware version */
640+ #define AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM 0x10
641+ /* Subquery id: Query GFX RLC SRLS firmware version */
642+ #define AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_SRM_MEM 0x11
623643 /* number of bytes moved for TTM migration */
624644 #define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f
625645 /* the used VRAM size */

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