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
487#define AMDGPU_INFO_MMR_SH_INDEX_SHIFT 8487#define AMDGPU_INFO_MMR_SH_INDEX_SHIFT 8
488#define AMDGPU_INFO_MMR_SH_INDEX_MASK 0xff488#define AMDGPU_INFO_MMR_SH_INDEX_MASK 0xff
489 489
490struct 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
490/* Input structure for the INFO ioctl */506/* Input structure for the INFO ioctl */
491struct drm_amdgpu_info {507struct drm_amdgpu_info {
492 /* Where the return value will be stored */508 /* Where the return value will be stored */
@@ -522,21 +538,7 @@ struct drm_amdgpu_info { · 29 unmodified lines
522 __u32 flags;538 __u32 flags;
523 } read_mmr_reg;539 } read_mmr_reg;
524 540
525 struct {541 struct drm_amdgpu_query_fw query_fw;
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;
540 };542 };
541};543};
542 544
include/uapi/drm/i915_drm.h+3−0
@@ -361,6 +361,8 @@ typedef struct drm_i915_irq_wait { · 360 unmodified lines
361#define I915_PARAM_HAS_GPU_RESET 35361#define I915_PARAM_HAS_GPU_RESET 35
362#define I915_PARAM_HAS_RESOURCE_STREAMER 36362#define I915_PARAM_HAS_RESOURCE_STREAMER 36
363#define I915_PARAM_HAS_EXEC_SOFTPIN 37363#define I915_PARAM_HAS_EXEC_SOFTPIN 37
364#define I915_PARAM_HAS_POOLED_EU 38
365#define I915_PARAM_MIN_EU_IN_POOL 39
364 366
365typedef struct drm_i915_getparam {367typedef struct drm_i915_getparam {
366 __s32 param;368 __s32 param;
@@ -1171,6 +1173,7 @@ struct drm_i915_gem_context_param { · 804 unmodified lines
1171#define I915_CONTEXT_PARAM_BAN_PERIOD 0x11173#define I915_CONTEXT_PARAM_BAN_PERIOD 0x1
1172#define I915_CONTEXT_PARAM_NO_ZEROMAP 0x21174#define I915_CONTEXT_PARAM_NO_ZEROMAP 0x2
1173#define I915_CONTEXT_PARAM_GTT_SIZE 0x31175#define I915_CONTEXT_PARAM_GTT_SIZE 0x3
1176#define I915_CONTEXT_PARAM_NO_ERROR_CAPTURE 0x4
1174 __u64 value;1177 __u64 value;
1175};1178};
1176 1179
include/uapi/drm/vc4_drm.h+13−0
@@ -37,6 +37,7 @@ extern "C" { · 36 unmodified lines
37#define DRM_VC4_MMAP_BO 0x0437#define DRM_VC4_MMAP_BO 0x04
38#define DRM_VC4_CREATE_SHADER_BO 0x0538#define DRM_VC4_CREATE_SHADER_BO 0x05
39#define DRM_VC4_GET_HANG_STATE 0x0639#define DRM_VC4_GET_HANG_STATE 0x06
40#define DRM_VC4_GET_PARAM 0x07
40 41
41#define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl)42#define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl)
42#define DRM_IOCTL_VC4_WAIT_SEQNO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_WAIT_SEQNO, struct drm_vc4_wait_seqno)43#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
45#define DRM_IOCTL_VC4_MMAP_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_MMAP_BO, struct drm_vc4_mmap_bo)46#define DRM_IOCTL_VC4_MMAP_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_MMAP_BO, struct drm_vc4_mmap_bo)
46#define DRM_IOCTL_VC4_CREATE_SHADER_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_CREATE_SHADER_BO, struct drm_vc4_create_shader_bo)47#define DRM_IOCTL_VC4_CREATE_SHADER_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_CREATE_SHADER_BO, struct drm_vc4_create_shader_bo)
47#define DRM_IOCTL_VC4_GET_HANG_STATE DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_HANG_STATE, struct drm_vc4_get_hang_state)48#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)
48 50
49struct drm_vc4_submit_rcl_surface {51struct drm_vc4_submit_rcl_surface {
50 __u32 hindex; /* Handle index, or ~0 if not present. */52 __u32 hindex; /* Handle index, or ~0 if not present. */
@@ -280,6 +282,17 @@ struct drm_vc4_get_hang_state { · 229 unmodified lines
280 __u32 pad[16];282 __u32 pad[16];
281};283};
282 284
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
290struct drm_vc4_get_param {
291 __u32 param;
292 __u32 pad;
293 __u64 value;
294};
295
283#if defined(__cplusplus)296#if defined(__cplusplus)
284}297}
285#endif298#endif
include/uapi/linux/btrfs.h+1−1
@@ -118,7 +118,7 @@ struct btrfs_ioctl_vol_args_v2 { · 117 unmodified lines
118 };118 };
119 union {119 union {
120 char name[BTRFS_SUBVOL_NAME_MAX + 1];120 char name[BTRFS_SUBVOL_NAME_MAX + 1];
121 u64 devid;121 __u64 devid;
122 };122 };
123};123};
124 124
include/uapi/linux/gtp.h+1−1
@@ -1,5 +1,5 @@
1#ifndef _UAPI_LINUX_GTP_H_1#ifndef _UAPI_LINUX_GTP_H_
2#define _UAPI_LINUX_GTP_H__2#define _UAPI_LINUX_GTP_H_
3 3
4enum gtp_genl_cmds {4enum gtp_genl_cmds {
5 GTP_CMD_NEWPDP,5 GTP_CMD_NEWPDP,
include/uapi/sound/Kbuild+3−0
@@ -1,5 +1,6 @@
1# UAPI Header export list1# UAPI Header export list
2header-y += asequencer.h2header-y += asequencer.h
3header-y += asoc.h
3header-y += asound.h4header-y += asound.h
4header-y += asound_fm.h5header-y += asound_fm.h
5header-y += compress_offload.h6header-y += compress_offload.h
@@ -10,3 +11,5 @@ header-y += hdsp.h · 4 unmodified lines
10header-y += hdspm.h11header-y += hdspm.h
11header-y += sb16_csp.h12header-y += sb16_csp.h
12header-y += sfnt_info.h13header-y += sfnt_info.h
14header-y += tlv.h
15header-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