All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Deucher, Alexander" <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org>
To: "Kuehling, Felix" <Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>,
	Oded Gabbay <oded.gabbay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: amd-gfx list <amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: RE: [PATCH 00/19] KFD fixes and cleanups
Date: Mon, 14 Aug 2017 16:25:08 +0000	[thread overview]
Message-ID: <CY4PR12MB1653ACDE8226C3E06245F8EEF78C0@CY4PR12MB1653.namprd12.prod.outlook.com> (raw)
In-Reply-To: <DM5PR1201MB0235D9AA9FAEF6F2635942C8928E0-grEf7a3NxMBd8L2jMOIKKmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>

> -----Original Message-----
> From: Kuehling, Felix
> Sent: Saturday, August 12, 2017 2:08 PM
> To: Oded Gabbay; Deucher, Alexander
> Cc: amd-gfx list
> Subject: Re: [PATCH 00/19] KFD fixes and cleanups
> 
> [+Alex]
> 
> I'll rebase this on drm-next-4.14. Alex, is this the branch that will become the
> new default development branch for the amdgpu team? This should make
> coordination of dependent AMDGPU and KFD changes easier.

Yes.  drm-next-4.14-wip is my latest patch queue for upstream.  drm-next-4.14 is the latest code that Dave has pulled.  amd-staging-drm-next is drm-next-4.14-wip with DC and a few other things from amd-staging rebased on top.  amd-staging-drm-next will become the new amd-staging.

Alex

> 
> Regards,
>   Felix
> 
> 
> 
> From: Oded Gabbay <oded.gabbay@gmail.com>
> Sent: Saturday, August 12, 2017 8:28 AM
> To: Kuehling, Felix
> Cc: amd-gfx list
> Subject: Re: [PATCH 00/19] KFD fixes and cleanups
> 
> Hi Felix,
> Thanks for all the patches.
> I have started to review them, but I have a small request from you
> while I'm doing the review.
> Could you please rebase them over my amdkfd-next branch, or
> alternatively, over Alex's drm-next-4.14  or Dave Airlie's drm-next
> (which amdkfd-next currently points to) branches ?
> I tried to apply this patch-set on amdkfd-next, but it fails on patch
> 5. I can't upstream them to Dave when they don't apply to his upstream
> branch.
> 
> Thanks,
> Oded
> 
> On Sat, Aug 12, 2017 at 12:56 AM, Felix Kuehling <Felix.Kuehling@amd.com>
> wrote:
> > This is the first round of changes preparing for upstreaming KFD
> > changes made internally in the last 2 years at AMD. A big part of it
> > is coding style and messaging cleanup. I have tried to avoid making
> > gratuitous formatting changes. All coding style changes should have a
> > justification based on the Linux style guide.
> >
> > The last few patches (15-19) enable running pieces of the current ROCm
> > user mode stack (with minor Thunk fixes for backwards compatibility)
> > on this soon-to-be upstream kernel on CZ. At this time I can run some
> > KFDTest unit tests, which are currently not open source. I'm trying to
> > find other more substantial tests using a real compute API as a
> > baseline for testing further KFD upstreaming patches.
> >
> > This patch series is freshly rebased on amd-staging-4.12.
> >
> > Felix Kuehling (11):
> >   drm/amdkfd: Fix typo in dbgdev_wave_reset_wavefronts
> >   drm/amdkfd: Remove bogus divide-by-sizeof(uint32_t)
> >   drm/amdkfd: Fix allocated_queues bitmap initialization
> >   drm/amdkfd: Remove BUG_ONs for NULL pointer arguments
> >   drm/amdkfd: Fix doorbell initialization and finalization
> >   drm/amdkfd: Allocate gtt_sa_bitmap in long units
> >   drm/amdkfd: Handle remaining BUG_ONs more gracefully
> >   drm/amdkfd: Update PM4 packet headers
> >   drm/amdgpu: Remove hard-coded assumptions about compute pipes
> >   drm/amdgpu: Disable GFX PG on CZ
> >   drm/amd: Update MEC HQD loading code for KFD
> >
> > Jay Cornwall (1):
> >   drm/amdkfd: Clamp EOP queue size correctly on Gfx8
> >
> > Kent Russell (5):
> >   drm/amdkfd: Clean up KFD style errors and warnings
> >   drm/amdkfd: Consolidate and clean up log commands
> >   drm/amdkfd: Change x==NULL/false references to !x
> >   drm/amdkfd: Fix goto usage
> >   drm/amdkfd: Remove usage of alloc(sizeof(struct...
> >
> > Yair Shachar (1):
> >   drm/amdkfd: Fix double Mutex lock order
> >
> > Yong Zhao (1):
> >   drm/amdkfd: Add more error printing to help bringup
> >
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |   4 +-
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |  16 +
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  | 156
> +++++++---
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  | 185
> ++++++++++--
> >  drivers/gpu/drm/amd/amdgpu/vi.c                    |   3 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           | 107 +++----
> >  drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c            | 102 +++----
> >  drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c            |  21 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.h            |  27 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_device.c            | 122 ++++----
> >  .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  | 313
> ++++++++-----------
> >  .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c  |   6 +-
> >  .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c   |   6 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c          |  40 +--
> >  drivers/gpu/drm/amd/amdkfd/kfd_events.c            |  33 +--
> >  drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c       |   2 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c         |   2 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      |  63 ++--
> >  drivers/gpu/drm/amd/amdkfd/kfd_module.c            |  10 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h       |   3 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |  62 ++--
> >  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |  46 +--
> >  drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    | 301 +++++++---
> ---------
> >  drivers/gpu/drm/amd/amdkfd/kfd_pasid.c             |   7 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h       | 330 +++-----------
> -------
> >  drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h    | 140 ++++++++-
> >  drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  31 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_process.c           |  25 +-
> >  .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |  71 ++---
> >  drivers/gpu/drm/amd/amdkfd/kfd_queue.c             |  12 +-
> >  drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |  46 +--
> >  drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |  11 +-
> >  drivers/gpu/drm/radeon/radeon_kfd.c                |  12 +-
> >  33 files changed, 1054 insertions(+), 1261 deletions(-)
> >
> > --
> > 2.7.4
> >
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-08-14 16:25 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11 21:56 [PATCH 00/19] KFD fixes and cleanups Felix Kuehling
     [not found] ` <1502488589-30272-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-11 21:56   ` [PATCH 01/19] drm/amdkfd: Fix double Mutex lock order Felix Kuehling
     [not found]     ` <1502488589-30272-2-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 12:23       ` Oded Gabbay
     [not found]         ` <CAFCwf12A9Qr-HCyQFR2eDN_TEExzxHEBVK9XQ9_xuwPKErHg3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-12 19:28           ` Kuehling, Felix
2017-08-11 21:56   ` [PATCH 02/19] drm/amdkfd: Fix typo in dbgdev_wave_reset_wavefronts Felix Kuehling
     [not found]     ` <1502488589-30272-3-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 12:29       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 03/19] drm/amdkfd: Remove bogus divide-by-sizeof(uint32_t) Felix Kuehling
     [not found]     ` <1502488589-30272-4-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 12:37       ` Oded Gabbay
     [not found]         ` <CAFCwf11Bg41FNg2sChh6EZkczb6quSzxdFXoJ-qhoE8JwqgGJw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-12 18:02           ` Kuehling, Felix
     [not found]             ` <DM5PR1201MB02356DFA5A4EAE4CC747F12F928E0-grEf7a3NxMBd8L2jMOIKKmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-12 20:00               ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 04/19] drm/amdkfd: Fix allocated_queues bitmap initialization Felix Kuehling
     [not found]     ` <1502488589-30272-5-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 12:45       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 05/19] drm/amdkfd: Clean up KFD style errors and warnings Felix Kuehling
     [not found]     ` <1502488589-30272-6-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 12:46       ` Oded Gabbay
     [not found]         ` <CAFCwf13wgCm9qPk4XX5DNOx0toPmZxogpxt5zBvEKzcMd2x3tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-12 12:58           ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 06/19] drm/amdkfd: Consolidate and clean up log commands Felix Kuehling
     [not found]     ` <1502488589-30272-7-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 13:01       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 07/19] drm/amdkfd: Change x==NULL/false references to !x Felix Kuehling
     [not found]     ` <1502488589-30272-8-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 13:07       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 08/19] drm/amdkfd: Fix goto usage Felix Kuehling
     [not found]     ` <1502488589-30272-9-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 13:21       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 09/19] drm/amdkfd: Remove usage of alloc(sizeof(struct Felix Kuehling
     [not found]     ` <1502488589-30272-10-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 13:23       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 10/19] drm/amdkfd: Remove BUG_ONs for NULL pointer arguments Felix Kuehling
     [not found]     ` <1502488589-30272-11-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 14:19       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 11/19] drm/amdkfd: Fix doorbell initialization and finalization Felix Kuehling
     [not found]     ` <1502488589-30272-12-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 14:21       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 12/19] drm/amdkfd: Allocate gtt_sa_bitmap in long units Felix Kuehling
     [not found]     ` <1502488589-30272-13-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 14:26       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 13/19] drm/amdkfd: Handle remaining BUG_ONs more gracefully Felix Kuehling
     [not found]     ` <1502488589-30272-14-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 14:39       ` Oded Gabbay
     [not found]         ` <CAFCwf129vQLO5owYBQt6S-V5WcxSrO7tu+v62-HhH2eOzATS1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-12 18:37           ` Kuehling, Felix
     [not found]             ` <DM5PR1201MB0235FD5550E28485BCF31EB1928E0-grEf7a3NxMBd8L2jMOIKKmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-13  8:48               ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 14/19] drm/amdkfd: Add more error printing to help bringup Felix Kuehling
     [not found]     ` <1502488589-30272-15-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 14:54       ` Oded Gabbay
     [not found]         ` <CAFCwf12LtX8Me-DSVvnf72eZr=UQm6sWnBoSuB2DM8jbqk3nOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-15  3:50           ` Zhao, Yong
     [not found]             ` <CY1PR1201MB109725CE39D52B9E482824FAF08D0-JBJ/M6OpXY/YBI+VM8qCl2rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-15 18:39               ` Felix Kuehling
2017-08-16  1:14               ` Felix Kuehling
2017-08-11 21:56   ` [PATCH 15/19] drm/amdkfd: Clamp EOP queue size correctly on Gfx8 Felix Kuehling
     [not found]     ` <1502488589-30272-16-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 15:04       ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 16/19] drm/amdkfd: Update PM4 packet headers Felix Kuehling
     [not found]     ` <1502488589-30272-17-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-12 15:10       ` Oded Gabbay
     [not found]         ` <CAFCwf12mAxpYF0-AWA=4hJiEe093KkakUYO28-+VxV=Uo+X4Tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-12 18:16           ` Kuehling, Felix
     [not found]             ` <DM5PR1201MB023536CBDE40370D9703EBD6928E0-grEf7a3NxMBd8L2jMOIKKmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-12 19:09               ` Bridgman, John
     [not found]                 ` <BN6PR12MB13489181F8A90932135C1CBBE88E0-/b2+HYfkarQX0pEhCR5T8QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-08-13  8:49                   ` Oded Gabbay
     [not found]                     ` <CAFCwf12edu4VXLP8UTTJk+x9uu9D1bkgO23FpiJbuz3BEreYzg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-16  1:19                       ` Felix Kuehling
     [not found]                         ` <6137eb72-cb41-d65a-7863-71adf31a3506-5C7GfCeVMHo@public.gmane.org>
2017-08-16  7:37                           ` Christian König
     [not found]                             ` <4a8512a4-21df-cf48-4500-0424b08cd357-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-08-16  9:54                               ` Oded Gabbay
2017-08-16 22:31                               ` Felix Kuehling
2017-08-16 16:10                           ` Deucher, Alexander
     [not found]                             ` <BN6PR12MB16521615E13EE720D7D5FE51F7820-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-08-16 22:33                               ` Felix Kuehling
     [not found]                                 ` <0a2aee42-c1ad-c356-dbdd-812633e570bf-5C7GfCeVMHo@public.gmane.org>
2017-08-16 22:36                                   ` Deucher, Alexander
2017-08-11 21:56   ` [PATCH 17/19] drm/amdgpu: Remove hard-coded assumptions about compute pipes Felix Kuehling
     [not found]     ` <1502488589-30272-18-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-13  8:29       ` Oded Gabbay
     [not found]         ` <CAFCwf108X+f6+jehRvykPy0NPCnYa6uHjoVAXWDvoN+35h-N5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-14 14:53           ` Felix Kuehling
     [not found]             ` <0eec4793-c9fa-4dfb-c8d7-41995d20e738-5C7GfCeVMHo@public.gmane.org>
2017-08-14 15:06               ` Oded Gabbay
2017-08-11 21:56   ` [PATCH 18/19] drm/amdgpu: Disable GFX PG on CZ Felix Kuehling
     [not found]     ` <1502488589-30272-19-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-11 23:45       ` StDenis, Tom
     [not found]         ` <DM5PR1201MB0074CE2415F056F739B6A8B7F7890-grEf7a3NxMAwZliakWjjqGrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-11 23:56           ` Felix Kuehling
     [not found]             ` <b5039bc6-5be9-d8b3-c995-082a60b40490-5C7GfCeVMHo@public.gmane.org>
2017-08-12  0:08               ` StDenis, Tom
     [not found]                 ` <DM5PR1201MB0074364796DD927ADB4746A7F78E0-grEf7a3NxMAwZliakWjjqGrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-12  0:40                   ` Felix Kuehling
     [not found]                     ` <1d263ee5-e1e3-aa3a-a8aa-c1fbfbcbb8ab-5C7GfCeVMHo@public.gmane.org>
2017-08-12  0:54                       ` StDenis, Tom
     [not found]                         ` <DM5PR1201MB00745120AE898231F7BAD8DFF78E0-grEf7a3NxMAwZliakWjjqGrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-12  1:18                           ` Felix Kuehling
2017-08-14 15:28                       ` Deucher, Alexander
2017-08-11 21:56   ` [PATCH 19/19] drm/amd: Update MEC HQD loading code for KFD Felix Kuehling
     [not found]     ` <1502488589-30272-20-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2017-08-13  8:33       ` Oded Gabbay
2017-08-12 12:28   ` [PATCH 00/19] KFD fixes and cleanups Oded Gabbay
     [not found]     ` <CAFCwf10L0sMCWnPxOi=zLuXLor4X90--m-a6UnervTmEguGL9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-12 18:07       ` Kuehling, Felix
     [not found]         ` <DM5PR1201MB0235D9AA9FAEF6F2635942C8928E0-grEf7a3NxMBd8L2jMOIKKmrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-08-14 16:25           ` Deucher, Alexander [this message]
     [not found]             ` <CY4PR12MB1653ACDE8226C3E06245F8EEF78C0-rpdhrqHFk06apTa93KjAaQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-08-14 22:23               ` 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=CY4PR12MB1653ACDE8226C3E06245F8EEF78C0@CY4PR12MB1653.namprd12.prod.outlook.com \
    --to=alexander.deucher-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.