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

Alex Deucher alexdeucher at gmail.com
Fri Oct 20 02:09:35 UTC 2017


On Thu, Oct 19, 2017 at 8:52 PM, Dave Airlie <airlied at gmail.com> wrote:
> 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>

Reviewed-by: Alex Deucher <alexander.deucher at amd.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
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list