History

Merge remote-tracking branch 'airlied/drm-next' into topic/drm-misc

Backmerge drm-next to be able to apply Chris' connector_unregister_all cleanup (need latest i915 and sun4i state for that). Also there's a trivial conflict in ttm_bo.c that git rerere fails to remember.

Daniel Vetter committed 10 years ago

Commit 23830502 parents a1bf09e 2d635fd1107 files · +25070 −13993Browse files

Showing the changes to include/uapi (6 of 1107 files). Show all

Unified · Split

6 files
  1. include/uapi/drm/amdgpu_drm.h +17 −15
  2. include/uapi/drm/i915_drm.h +3 −0
  3. include/uapi/drm/vc4_drm.h +13 −0
  4. include/uapi/linux/btrfs.h +1 −1
  5. include/uapi/linux/gtp.h +1 −1
  6. include/uapi/sound/Kbuild +3 −0
include/uapi/drm/amdgpu_drm.h+17−15
@@ -487,6 +487,22 @@ struct drm_amdgpu_cs_chunk_data { · 486 unmodified lines
487487 #define AMDGPU_INFO_MMR_SH_INDEX_SHIFT 8
488488 #define AMDGPU_INFO_MMR_SH_INDEX_MASK 0xff
489489
490+struct drm_amdgpu_query_fw {
491+ /** AMDGPU_INFO_FW_* */
492+ __u32 fw_type;
493+ /**
494+ * Index of the IP if there are more IPs of
495+ * the same type.
496+ */
497+ __u32 ip_instance;
498+ /**
499+ * Index of the engine. Whether this is used depends
500+ * on the firmware type. (e.g. MEC, SDMA)
501+ */
502+ __u32 index;
503+ __u32 _pad;
504+};
505+
490506 /* Input structure for the INFO ioctl */
491507 struct drm_amdgpu_info {
492508 /* Where the return value will be stored */
@@ -522,21 +538,7 @@ struct drm_amdgpu_info { · 29 unmodified lines
522538 __u32 flags;
523539 } read_mmr_reg;
524540
525− struct {
526− /** AMDGPU_INFO_FW_* */
527− __u32 fw_type;
528− /**
529− * Index of the IP if there are more IPs of
530− * the same type.
531− */
532− __u32 ip_instance;
533− /**
534− * Index of the engine. Whether this is used depends
535− * on the firmware type. (e.g. MEC, SDMA)
536− */
537− __u32 index;
538− __u32 _pad;
539− } query_fw;
541+ struct drm_amdgpu_query_fw query_fw;
540542 };
541543 };
542544
include/uapi/drm/i915_drm.h+3−0
@@ -361,6 +361,8 @@ typedef struct drm_i915_irq_wait { · 360 unmodified lines
361361 #define I915_PARAM_HAS_GPU_RESET 35
362362 #define I915_PARAM_HAS_RESOURCE_STREAMER 36
363363 #define I915_PARAM_HAS_EXEC_SOFTPIN 37
364+#define I915_PARAM_HAS_POOLED_EU 38
365+#define I915_PARAM_MIN_EU_IN_POOL 39
364366
365367 typedef struct drm_i915_getparam {
366368 __s32 param;
@@ -1171,6 +1173,7 @@ struct drm_i915_gem_context_param { · 804 unmodified lines
11711173 #define I915_CONTEXT_PARAM_BAN_PERIOD 0x1
11721174 #define I915_CONTEXT_PARAM_NO_ZEROMAP 0x2
11731175 #define I915_CONTEXT_PARAM_GTT_SIZE 0x3
1176+#define I915_CONTEXT_PARAM_NO_ERROR_CAPTURE 0x4
11741177 __u64 value;
11751178 };
11761179
include/uapi/drm/vc4_drm.h+13−0
@@ -37,6 +37,7 @@ extern "C" { · 36 unmodified lines
3737 #define DRM_VC4_MMAP_BO 0x04
3838 #define DRM_VC4_CREATE_SHADER_BO 0x05
3939 #define DRM_VC4_GET_HANG_STATE 0x06
40+#define DRM_VC4_GET_PARAM 0x07
4041
4142 #define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl)
4243 #define DRM_IOCTL_VC4_WAIT_SEQNO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_WAIT_SEQNO, struct drm_vc4_wait_seqno)
@@ -45,6 +46,7 @@ extern "C" { · 2 unmodified lines
4546 #define DRM_IOCTL_VC4_MMAP_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_MMAP_BO, struct drm_vc4_mmap_bo)
4647 #define DRM_IOCTL_VC4_CREATE_SHADER_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_CREATE_SHADER_BO, struct drm_vc4_create_shader_bo)
4748 #define DRM_IOCTL_VC4_GET_HANG_STATE DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_HANG_STATE, struct drm_vc4_get_hang_state)
49+#define DRM_IOCTL_VC4_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_PARAM, struct drm_vc4_get_param)
4850
4951 struct drm_vc4_submit_rcl_surface {
5052 __u32 hindex; /* Handle index, or ~0 if not present. */
@@ -280,6 +282,17 @@ struct drm_vc4_get_hang_state { · 229 unmodified lines
280282 __u32 pad[16];
281283 };
282284
285+#define DRM_VC4_PARAM_V3D_IDENT0 0
286+#define DRM_VC4_PARAM_V3D_IDENT1 1
287+#define DRM_VC4_PARAM_V3D_IDENT2 2
288+#define DRM_VC4_PARAM_SUPPORTS_BRANCHES 3
289+
290+struct drm_vc4_get_param {
291+ __u32 param;
292+ __u32 pad;
293+ __u64 value;
294+};
295+
283296 #if defined(__cplusplus)
284297 }
285298 #endif
include/uapi/linux/btrfs.h+1−1
@@ -118,7 +118,7 @@ struct btrfs_ioctl_vol_args_v2 { · 117 unmodified lines
118118 };
119119 union {
120120 char name[BTRFS_SUBVOL_NAME_MAX + 1];
121− u64 devid;
121+ __u64 devid;
122122 };
123123 };
124124
include/uapi/linux/gtp.h+1−1
@@ -1,5 +1,5 @@
11 #ifndef _UAPI_LINUX_GTP_H_
2−#define _UAPI_LINUX_GTP_H__
2+#define _UAPI_LINUX_GTP_H_
33
44 enum gtp_genl_cmds {
55 GTP_CMD_NEWPDP,
include/uapi/sound/Kbuild+3−0
@@ -1,5 +1,6 @@
11 # UAPI Header export list
22 header-y += asequencer.h
3+header-y += asoc.h
34 header-y += asound.h
45 header-y += asound_fm.h
56 header-y += compress_offload.h
@@ -10,3 +11,5 @@ header-y += hdsp.h · 4 unmodified lines
1011 header-y += hdspm.h
1112 header-y += sb16_csp.h
1213 header-y += sfnt_info.h
14+header-y += tlv.h
15+header-y += usb_stream.h

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