All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oded Gabbay <oded.gabbay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Kuehling, Felix" <Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
Cc: amd-gfx list <amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH 1/2] drm/amd: Add CU-masking ioctl definition to kfd_ioctl.h
Date: Sat, 28 Jul 2018 12:19:34 +0300	[thread overview]
Message-ID: <CAFCwf10s32-6PRsRUS=6WC8iAtgcV_RP34a14dwrEefO7E-t4w@mail.gmail.com> (raw)
In-Reply-To: <1531609559-30402-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>

On Sun, Jul 15, 2018 at 2:06 AM Felix Kuehling <Felix.Kuehling@amd.com> wrote:
>
> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
> ---
>  include/uapi/linux/kfd_ioctl.h | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h
> index 88d17c3..01674b5 100644
> --- a/include/uapi/linux/kfd_ioctl.h
> +++ b/include/uapi/linux/kfd_ioctl.h
> @@ -76,6 +76,12 @@ struct kfd_ioctl_update_queue_args {
>         __u32 queue_priority;   /* to KFD */
>  };
>
> +struct kfd_ioctl_set_cu_mask_args {
> +       __u32 queue_id;         /* to KFD */
> +       __u32 num_cu_mask;              /* to KFD */
> +       __u64 cu_mask_ptr;              /* to KFD */
> +};
> +
>  /* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */
>  #define KFD_IOC_CACHE_POLICY_COHERENT 0
>  #define KFD_IOC_CACHE_POLICY_NONCOHERENT 1
> @@ -466,7 +472,10 @@ struct kfd_ioctl_unmap_memory_from_gpu_args {
>  #define AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU       \
>                 AMDKFD_IOWR(0x19, struct kfd_ioctl_unmap_memory_from_gpu_args)
>
> +#define AMDKFD_IOC_SET_CU_MASK         \
> +               AMDKFD_IOW(0x1A, struct kfd_ioctl_set_cu_mask_args)
> +
>  #define AMDKFD_COMMAND_START           0x01
> -#define AMDKFD_COMMAND_END             0x1A
> +#define AMDKFD_COMMAND_END             0x1B
>
>  #endif
> --
> 2.7.4
>


This patch is:
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

      parent reply	other threads:[~2018-07-28  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14 23:05 [PATCH 1/2] drm/amd: Add CU-masking ioctl definition to kfd_ioctl.h Felix Kuehling
     [not found] ` <1531609559-30402-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-07-14 23:05   ` [PATCH 2/2] drm/amdkfd: Add CU-masking ioctl to KFD Felix Kuehling
     [not found]     ` <1531609559-30402-2-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-07-28  9:19       ` Oded Gabbay
2018-07-28  9:19   ` Oded Gabbay [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFCwf10s32-6PRsRUS=6WC8iAtgcV_RP34a14dwrEefO7E-t4w@mail.gmail.com' \
    --to=oded.gabbay-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Felix.Kuehling-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.