[PATCH] amdgpu: add padding to the fence to handle ioctl.

Dave Airlie airlied at gmail.com
Fri Oct 20 00:52:18 UTC 2017


From: Dave Airlie <airlied at redhat.com>

I don't think this ioctl is in a Linus release yet.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 include/uapi/drm/amdgpu_drm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index ff01818..919248f 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -553,6 +553,7 @@ union drm_amdgpu_fence_to_handle {
 	struct {
 		struct drm_amdgpu_fence fence;
 		__u32 what;
+		__u32 pad;
 	} in;
 	struct {
 		__u32 handle;
-- 
2.9.5



More information about the amd-gfx mailing list