Re: [git pull] amdkfd next 4.14

2017-09-24 Thread Oded Gabbay
On Sun, Sep 17, 2017 at 9:37 PM, Alex Deucher  wrote:
> On Sat, Sep 16, 2017 at 11:58 AM, Oded Gabbay  wrote:
>> On Mon, Sep 4, 2017 at 10:50 AM, Daniel Vetter  wrote:
>>> Hi Alex,
>>>
>>> Since Dave is out, can you just pull that into the amd pile?
>>> -Daniel
>>>
>>
>> Hi Alex,
>> Did you take the patches to your pile ?
>> If not, I'll ping Dave again as it seems he is back to work (at least
>> partially).
>
> I didn't pick up these patches.  Dave was around last week so he took
> my pull.  Not sure if he is around this week or not.  I'll be
> travelling for XDC so I'm not sure if I'll get around to a pull this
> week or not.
>
> Alex
>
Dave picked them up for rc2 so things worked out.
Thanks,
Oded

>>
>> Oded
>>
>>> On Sat, Sep 02, 2017 at 04:29:38PM +0300, Oded Gabbay wrote:
 Hi Dave,

 Three more amdkfd commits for the 4.14 merge window, nothing too major:

 - Removing redundant memset before memcpy
 - Passing valid mqd pointer to destroy_mqd function (fix apply to VI cards)
 - Replace uint32_t and uint64_t with __u32 and __u64 respectively in 
 kfd_ioctl.h

 Thanks,
 Oded

 The following changes since commit 
 7846b12fe0b5feab5446d892f41b5140c1419109:

   Merge branch 'drm-vmwgfx-next' of 
 git://people.freedesktop.org/~syeh/repos_linux into drm-next (2017-08-29 
 10:38:14 +1000)

 are available in the git repository at:

   git://people.freedesktop.org/~gabbayo/linux 
 tags/drm-amdkfd-next-2017-09-02

 for you to fetch changes up to 1fabbf781167052f4480bdcc627378a27e78a559:

   drm/amdkfd: pass queue's mqd when destroying mqd (2017-09-02 15:00:25 
 +0300)

 
 Himanshu Jha (1):
   drm/amdkfd: remove memset before memcpy

 Mikko Rapeli (1):
   uapi linux/kfd_ioctl.h: only use __u32 and __u64

 Oded Gabbay (1):
   drm/amdkfd: pass queue's mqd when destroying mqd

  drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c  |   2 +-
  .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   1 -
  include/uapi/linux/kfd_ioctl.h | 172 
 ++---
  3 files changed, 87 insertions(+), 88 deletions(-)
 ___
 dri-devel mailing list
 dri-devel@lists.freedesktop.org
 https://lists.freedesktop.org/mailman/listinfo/dri-devel
>>>
>>> --
>>> Daniel Vetter
>>> Software Engineer, Intel Corporation
>>> http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [git pull] amdkfd next 4.14

2017-09-17 Thread Alex Deucher
On Sat, Sep 16, 2017 at 11:58 AM, Oded Gabbay  wrote:
> On Mon, Sep 4, 2017 at 10:50 AM, Daniel Vetter  wrote:
>> Hi Alex,
>>
>> Since Dave is out, can you just pull that into the amd pile?
>> -Daniel
>>
>
> Hi Alex,
> Did you take the patches to your pile ?
> If not, I'll ping Dave again as it seems he is back to work (at least
> partially).

I didn't pick up these patches.  Dave was around last week so he took
my pull.  Not sure if he is around this week or not.  I'll be
travelling for XDC so I'm not sure if I'll get around to a pull this
week or not.

Alex

>
> Oded
>
>> On Sat, Sep 02, 2017 at 04:29:38PM +0300, Oded Gabbay wrote:
>>> Hi Dave,
>>>
>>> Three more amdkfd commits for the 4.14 merge window, nothing too major:
>>>
>>> - Removing redundant memset before memcpy
>>> - Passing valid mqd pointer to destroy_mqd function (fix apply to VI cards)
>>> - Replace uint32_t and uint64_t with __u32 and __u64 respectively in 
>>> kfd_ioctl.h
>>>
>>> Thanks,
>>> Oded
>>>
>>> The following changes since commit 7846b12fe0b5feab5446d892f41b5140c1419109:
>>>
>>>   Merge branch 'drm-vmwgfx-next' of 
>>> git://people.freedesktop.org/~syeh/repos_linux into drm-next (2017-08-29 
>>> 10:38:14 +1000)
>>>
>>> are available in the git repository at:
>>>
>>>   git://people.freedesktop.org/~gabbayo/linux 
>>> tags/drm-amdkfd-next-2017-09-02
>>>
>>> for you to fetch changes up to 1fabbf781167052f4480bdcc627378a27e78a559:
>>>
>>>   drm/amdkfd: pass queue's mqd when destroying mqd (2017-09-02 15:00:25 
>>> +0300)
>>>
>>> 
>>> Himanshu Jha (1):
>>>   drm/amdkfd: remove memset before memcpy
>>>
>>> Mikko Rapeli (1):
>>>   uapi linux/kfd_ioctl.h: only use __u32 and __u64
>>>
>>> Oded Gabbay (1):
>>>   drm/amdkfd: pass queue's mqd when destroying mqd
>>>
>>>  drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c  |   2 +-
>>>  .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   1 -
>>>  include/uapi/linux/kfd_ioctl.h | 172 
>>> ++---
>>>  3 files changed, 87 insertions(+), 88 deletions(-)
>>> ___
>>> dri-devel mailing list
>>> dri-devel@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>>
>> --
>> Daniel Vetter
>> Software Engineer, Intel Corporation
>> http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [git pull] amdkfd next 4.14

2017-09-16 Thread Oded Gabbay
On Mon, Sep 4, 2017 at 10:50 AM, Daniel Vetter  wrote:
> Hi Alex,
>
> Since Dave is out, can you just pull that into the amd pile?
> -Daniel
>

Hi Alex,
Did you take the patches to your pile ?
If not, I'll ping Dave again as it seems he is back to work (at least
partially).

Oded

> On Sat, Sep 02, 2017 at 04:29:38PM +0300, Oded Gabbay wrote:
>> Hi Dave,
>>
>> Three more amdkfd commits for the 4.14 merge window, nothing too major:
>>
>> - Removing redundant memset before memcpy
>> - Passing valid mqd pointer to destroy_mqd function (fix apply to VI cards)
>> - Replace uint32_t and uint64_t with __u32 and __u64 respectively in 
>> kfd_ioctl.h
>>
>> Thanks,
>> Oded
>>
>> The following changes since commit 7846b12fe0b5feab5446d892f41b5140c1419109:
>>
>>   Merge branch 'drm-vmwgfx-next' of 
>> git://people.freedesktop.org/~syeh/repos_linux into drm-next (2017-08-29 
>> 10:38:14 +1000)
>>
>> are available in the git repository at:
>>
>>   git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2017-09-02
>>
>> for you to fetch changes up to 1fabbf781167052f4480bdcc627378a27e78a559:
>>
>>   drm/amdkfd: pass queue's mqd when destroying mqd (2017-09-02 15:00:25 
>> +0300)
>>
>> 
>> Himanshu Jha (1):
>>   drm/amdkfd: remove memset before memcpy
>>
>> Mikko Rapeli (1):
>>   uapi linux/kfd_ioctl.h: only use __u32 and __u64
>>
>> Oded Gabbay (1):
>>   drm/amdkfd: pass queue's mqd when destroying mqd
>>
>>  drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c  |   2 +-
>>  .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   1 -
>>  include/uapi/linux/kfd_ioctl.h | 172 
>> ++---
>>  3 files changed, 87 insertions(+), 88 deletions(-)
>> ___
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [git pull] amdkfd next 4.14

2017-09-04 Thread Daniel Vetter
Hi Alex,

Since Dave is out, can you just pull that into the amd pile?
-Daniel

On Sat, Sep 02, 2017 at 04:29:38PM +0300, Oded Gabbay wrote:
> Hi Dave,
> 
> Three more amdkfd commits for the 4.14 merge window, nothing too major:
> 
> - Removing redundant memset before memcpy
> - Passing valid mqd pointer to destroy_mqd function (fix apply to VI cards)
> - Replace uint32_t and uint64_t with __u32 and __u64 respectively in 
> kfd_ioctl.h
> 
> Thanks,
> Oded
> 
> The following changes since commit 7846b12fe0b5feab5446d892f41b5140c1419109:
> 
>   Merge branch 'drm-vmwgfx-next' of 
> git://people.freedesktop.org/~syeh/repos_linux into drm-next (2017-08-29 
> 10:38:14 +1000)
> 
> are available in the git repository at:
> 
>   git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2017-09-02
> 
> for you to fetch changes up to 1fabbf781167052f4480bdcc627378a27e78a559:
> 
>   drm/amdkfd: pass queue's mqd when destroying mqd (2017-09-02 15:00:25 +0300)
> 
> 
> Himanshu Jha (1):
>   drm/amdkfd: remove memset before memcpy
> 
> Mikko Rapeli (1):
>   uapi linux/kfd_ioctl.h: only use __u32 and __u64
> 
> Oded Gabbay (1):
>   drm/amdkfd: pass queue's mqd when destroying mqd
> 
>  drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c  |   2 +-
>  .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   1 -
>  include/uapi/linux/kfd_ioctl.h | 172 
> ++---
>  3 files changed, 87 insertions(+), 88 deletions(-)
> ___
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] amdkfd next 4.14

2017-09-02 Thread Oded Gabbay
Hi Dave,

Three more amdkfd commits for the 4.14 merge window, nothing too major:

- Removing redundant memset before memcpy
- Passing valid mqd pointer to destroy_mqd function (fix apply to VI cards)
- Replace uint32_t and uint64_t with __u32 and __u64 respectively in kfd_ioctl.h

Thanks,
Oded

The following changes since commit 7846b12fe0b5feab5446d892f41b5140c1419109:

  Merge branch 'drm-vmwgfx-next' of 
git://people.freedesktop.org/~syeh/repos_linux into drm-next (2017-08-29 
10:38:14 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2017-09-02

for you to fetch changes up to 1fabbf781167052f4480bdcc627378a27e78a559:

  drm/amdkfd: pass queue's mqd when destroying mqd (2017-09-02 15:00:25 +0300)


Himanshu Jha (1):
  drm/amdkfd: remove memset before memcpy

Mikko Rapeli (1):
  uapi linux/kfd_ioctl.h: only use __u32 and __u64

Oded Gabbay (1):
  drm/amdkfd: pass queue's mqd when destroying mqd

 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c  |   2 +-
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   1 -
 include/uapi/linux/kfd_ioctl.h | 172 ++---
 3 files changed, 87 insertions(+), 88 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] amdkfd next 4.14

2017-08-18 Thread Oded Gabbay
Hi Dave,

This is the amdkfd pull request for 4.14 merge window.
AMD has started cleaning the pipe and sending patches from their internal
development to the upstream community.

The plan as I understand it is to first get all the non-dGPU patches to
upstream and then move to upstream dGPU support.

The patches here are relevant only for Kaveri and Carrizo.

The following is a summary of the changes:
- Add new IOCTL to set a Scratch memory VA
- Update PM4 headers for new firmware that support scratch memory
- Support image tiling mode
- Remove all uses of BUG_ON
- Various Bug fixes and coding style fixes

Thanks,
Oded

The following changes since commit 8824c751eb61ebffb053c291199932845bac88b4:

  Merge tag 'omapdrm-4.14' of 
git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next 
(2017-08-18 05:41:32 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2017-08-18

for you to fetch changes up to 5d71dbc3a588690c3d66d76db8cd29973425ce6d:

  drm/amdkfd: Implement image tiling mode support v2 (2017-08-15 23:00:22 -0400)


Felix Kuehling (13):
  drm/amdkfd: Fix typo in dbgdev_wave_reset_wavefronts
  drm/radeon: Return dword offsets of address watch registers
  drm/amdkfd: Remove bogus divide-by-sizeof(uint32_t)
  drm/amdkfd: Fix allocated_queues bitmap initialization
  drm/amdgpu: Remove hard-coded assumptions about compute pipes
  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 v2
  drm/amdkfd: Update PM4 packet headers
  drm/amdgpu: Disable GFX PG on CZ
  drm/amd: Update MEC HQD loading code for KFD
  drm/amdgpu: Program SH_STATIC_MEM_CONFIG globally, not per-VMID

Jay Cornwall (1):
  drm/amdkfd: Clamp EOP queue size correctly on Gfx8

Kent Russell (5):
  drm/amdkfd: Clean up KFD style errors and warnings v2
  drm/amdkfd: Consolidate and clean up log commands
  drm/amdkfd: Change x==NULL/false references to !x
  drm/amdkfd: Fix goto usage v2
  drm/amdkfd: Remove usage of alloc(sizeof(struct...

Moses Reuben (2):
  drm/amdgpu: Add kgd/kfd interface to support scratch memory v2
  drm/amdkfd: Adding new IOCTL for scratch memory v2

Yong Zhao (3):
  drm/amdkfd: Add more error printing to help bringup v2
  drm/amdgpu: Add kgd kfd interface get_tile_config() v2
  drm/amdkfd: Implement image tiling mode support v2

 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  | 189 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  | 227 --
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c  |   2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c  |   3 +-
 drivers/gpu/drm/amd/amdgpu/vi.c|   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c   | 183 
 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| 123 
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  | 316 
 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c  |   8 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c   |   8 +-
 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| 294 ++
 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  |  32 +-
 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|  30 +-
 drivers/gpu/drm/radeon/radeon_kfd.c|  15 +-
 include/uapi/linux/kfd_ioctl.h |  37 ++-
 36 files changed, 1280 insertio