All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig-5C7GfCeVMHo@public.gmane.org>
To: Oded Gabbay <oded.gabbay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Felix Kuehling <Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>,
	amd-gfx list
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH 9/9] drm/amdgpu: Enable KFD initialization on dGPUs
Date: Wed, 31 Jan 2018 16:34:41 +0100	[thread overview]
Message-ID: <6ea9aa7d-f8c5-e6a5-a492-7506055527c6@amd.com> (raw)
In-Reply-To: <CAFCwf10--hDY=0zFUaSM9+fZWXuk8h4AU5-PE+_0+adCAYJ34Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Am 31.01.2018 um 16:31 schrieb Oded Gabbay:
> On Wed, Jan 31, 2018 at 5:28 PM, Christian König
> <ckoenig.leichtzumerken@gmail.com> wrote:
>> Am 31.01.2018 um 16:25 schrieb Oded Gabbay:
>>> On Fri, Jan 5, 2018 at 12:17 AM, Felix Kuehling <Felix.Kuehling@amd.com>
>>> wrote:
>>>> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
>>>> ---
>>>>    drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 5 +++++
>>>>    1 file changed, 5 insertions(+)
>>>>
>>>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
>>>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
>>>> index 335e454..7ebe430 100644
>>>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
>>>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
>>>> @@ -78,10 +78,15 @@ void amdgpu_amdkfd_device_probe(struct amdgpu_device
>>>> *adev)
>>>>           switch (adev->asic_type) {
>>>>    #ifdef CONFIG_DRM_AMDGPU_CIK
>>>>           case CHIP_KAVERI:
>>>> +       case CHIP_HAWAII:
>>>>                   kfd2kgd = amdgpu_amdkfd_gfx_7_get_functions();
>>>>                   break;
>>>>    #endif
>>>>           case CHIP_CARRIZO:
>>>> +       case CHIP_TONGA:
>>>> +       case CHIP_FIJI:
>>>> +       case CHIP_POLARIS10:
>>>> +       case CHIP_POLARIS11:
>>> Polaris isn't gfx 9 ?
>>> or is it called differently ?
>>
>> No Polaris are just updated gfx8 variants.
>>
>> gfx9 is Vega10.
>>
>> Christian.
> OK, thanks. So this patch is fine and is
> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
>
> Having said that, as I wrote to Alex, if that is the case, I think we
> should rename all soc-dependent functions from using cik and vi as
> identifiers to gfx7/gfx8.

Well that depends on what the name refers to.

gfx7/gfx8 just describe the version of the CP, not the full ASIC.

For example Tonga and Polaris are both gfx8, but have a different SDMA IIRC.

Christian.

>
> Oded
>>>>                   kfd2kgd = amdgpu_amdkfd_gfx_8_0_get_functions();
>>>>                   break;
>>>>           default:
>>>> --
>>>> 2.7.4
>>>>
>>> _______________________________________________
>>> amd-gfx mailing list
>>> amd-gfx@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2018-01-31 15:34 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04 22:17 [PATCH 0/9] KFD dGPU initialization Felix Kuehling
2018-01-04 22:17 ` [PATCH 1/9] PCI: Add pci_enable_atomic_ops_to_root Felix Kuehling
2018-01-04 22:17   ` Felix Kuehling
2018-01-05  0:17   ` Bjorn Helgaas
2018-01-05  0:23     ` Felix Kuehling
2018-01-05  0:23       ` Felix Kuehling
2018-01-04 22:17 ` [PATCH 2/9] drm/amdkfd: Conditionally enable PCIe atomics Felix Kuehling
2018-01-31 15:09   ` Oded Gabbay
2018-01-31 15:09     ` Oded Gabbay
     [not found] ` <1515104268-25087-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-04 22:17   ` [PATCH 3/9] drm/amdkfd: Make IOMMUv2 code conditional Felix Kuehling
     [not found]     ` <1515104268-25087-4-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-31 14:56       ` Oded Gabbay
     [not found]         ` <CAFCwf125cHCf=fsfiMhhASjgMNEcau04gNGKKHFu7PQGeorpZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 15:00           ` Oded Gabbay
     [not found]             ` <CAFCwf12pqRA4KdRLpkUmiBs7EQmTePcy80V2kP9mP3pN8V-eTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 15:11               ` Christian König
2018-01-31 16:14               ` Felix Kuehling
2018-02-03  2:29               ` Felix Kuehling
     [not found]                 ` <5a1e7696-b5bf-547c-4fe6-e71e0ae7f5e0-5C7GfCeVMHo@public.gmane.org>
2018-02-05 19:00                   ` Christian König
     [not found]                     ` <044a3842-92d1-fe2a-c432-0719e8528416-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-02-06  8:53                       ` Oded Gabbay
     [not found]                         ` <CAFCwf12s6sjyxyTNWx+cdqCjQg+O-4WonDLmJ2X9QT0iRLBNsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-07  0:30                           ` Felix Kuehling
     [not found]                             ` <fe5b1bd4-37fc-2ed0-6a68-247abe08406e-5C7GfCeVMHo@public.gmane.org>
2018-02-07  6:55                               ` Oded Gabbay
2018-01-04 22:17   ` [PATCH 4/9] drm/amdkfd: Make sched_policy a per-device setting Felix Kuehling
     [not found]     ` <1515104268-25087-5-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-31 15:06       ` Oded Gabbay
     [not found]         ` <CAFCwf11xXiKH-3sqpjk-cpQ5DyM_dL-6Vk=DrBCPJ=oSyyYyAg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 16:18           ` Felix Kuehling
2018-01-04 22:17   ` [PATCH 5/9] drm/amdkfd: Add dGPU support to the device queue manager Felix Kuehling
     [not found]     ` <1515104268-25087-6-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-31 15:09       ` Oded Gabbay
2018-01-04 22:17   ` [PATCH 6/9] drm/amdkfd: Add dGPU support to the MQD manager Felix Kuehling
     [not found]     ` <1515104268-25087-7-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-31 15:11       ` Oded Gabbay
2018-01-04 22:17   ` [PATCH 7/9] drm/amdkfd: Add dGPU support to kernel_queue_init Felix Kuehling
     [not found]     ` <1515104268-25087-8-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-31 15:17       ` Oded Gabbay
     [not found]         ` <CAFCwf11nyKTuxF4R+GfWt_Zg5pRjYezbp9TEW_-OWqRhhR-rVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 15:23           ` Deucher, Alexander
     [not found]             ` <BN6PR12MB16520A78D8FFA5E0AF393BD2F7FB0-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-01-31 15:29               ` Oded Gabbay
     [not found]                 ` <CAFCwf127vkM7aEcyUK9VjrVekZAFin7d7sk6Ko=JV5gibBeukg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 16:27                   ` Felix Kuehling
     [not found]                     ` <31443990-b612-e9cc-ec07-054b940c8c25-5C7GfCeVMHo@public.gmane.org>
2018-02-06  8:39                       ` Oded Gabbay
2018-01-04 22:17   ` [PATCH 9/9] drm/amdgpu: Enable KFD initialization on dGPUs Felix Kuehling
     [not found]     ` <1515104268-25087-10-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-01-31 15:25       ` Oded Gabbay
     [not found]         ` <CAFCwf11WWuHydSRBu3Pk8-jFLgoxJ7k0GDfuO-HWRjpvSRm5xQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 15:28           ` Christian König
     [not found]             ` <5881ecb1-3d76-9783-2b60-5b43b5547a3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-31 15:31               ` Oded Gabbay
     [not found]                 ` <CAFCwf10--hDY=0zFUaSM9+fZWXuk8h4AU5-PE+_0+adCAYJ34Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-31 15:34                   ` Christian König [this message]
     [not found]                     ` <6ea9aa7d-f8c5-e6a5-a492-7506055527c6-5C7GfCeVMHo@public.gmane.org>
2018-01-31 15:50                       ` Oded Gabbay
2018-01-31 16:33           ` Felix Kuehling
2018-01-27  0:35   ` [PATCH 0/9] KFD dGPU initialization Felix Kuehling
     [not found]     ` <f84a6f6f-0985-a161-f989-b41021085039-5C7GfCeVMHo@public.gmane.org>
2018-01-27 11:31       ` Oded Gabbay
     [not found]         ` <CAFCwf12vCku6JoH3Rcp1-+vQNzqX8zoO_2SG=UhAtTqsYn3SkA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-27 22:19           ` Kuehling, Felix
2018-01-04 22:17 ` [PATCH 8/9] drm/amdkfd: Add dGPU device IDs and device info Felix Kuehling
2018-01-31 15:20   ` Oded Gabbay
2018-01-31 15:20     ` Oded Gabbay
2018-01-31 16:29     ` Felix Kuehling
2018-01-31 16:29       ` Felix Kuehling

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=6ea9aa7d-f8c5-e6a5-a492-7506055527c6@amd.com \
    --to=christian.koenig-5c7gfcevmho@public.gmane.org \
    --cc=Felix.Kuehling-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=oded.gabbay-Re5JQEeQqe8AvxtiuMwx3w@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.