All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oded Gabbay <oded.gabbay@gmail.com>
To: dri-devel@lists.freedesktop.org, alexdeucher@gmail.com
Subject: [PATCH 00/13] Add Carrizo support for amdkfd
Date: Fri, 12 Jun 2015 22:31:08 +0300	[thread overview]
Message-ID: <1434137481-13315-1-git-send-email-oded.gabbay@gmail.com> (raw)

This patch-set adds Carrizo support for amdkfd, to allow running HSA
applications on Carrizo.

To operate, it requires the presence of the recently published amdgpu.

While the official support for Kaveri is still being done using radeon, this
patch-set includes support running HSA applications on Kaveri with amdgpu
handling Kaveri. However, this should be regarded as best-effort only, as it
is not tested, nor maintained. 

To reiterate, The official and support way of running HSA applications on
Kaveri is by using amdkfd and radeon.

It is important for me to mention that this patch-set does *not* modify the
amdkfd IOCTLs in any way, shape or form. In addition, it doesn't change any
other kernel-userspace interface (sysfs, kernel module params, etc.).

Please review.

Thanks,

  Oded

Ben Goz (8):
  drm/amdgpu: Add amdgpu <--> amdkfd gfx8 interface
  drm/amdkfd: add supported CZ devices PCI IDs to amdkfd
  drm/amdkfd: add CP HWS packet headers for VI
  drm/amdkfd: add support for VI in MQD manager
  drm/amdkfd: Add support for VI in DQM
  drm/amdkfd: fix runlist length calculation
  drm/amdkfd: Implement create_map_queues() for Carrizo
  drm/amdkfd: Set correct doorbell packet type for Carrizo

Oded Gabbay (5):
  drm/radeon: Modify kgd_engine_type enum to match CZ
  drm/amdgpu: Add H/W agnostic amdgpu <--> amdkfd interface
  drm/amdgpu: add amdgpu <--> amdkfd gfx7 interface
  drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig
  drm/amdkfd: Use generic defines in new amd headers

 MAINTAINERS                                        |   5 +
 drivers/gpu/drm/amd/amdgpu/Makefile                |   6 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         | 267 ++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |  65 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  | 670 +++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  | 543 +++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c             |   7 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c            |   7 +
 drivers/gpu/drm/amd/amdgpu/cik.c                   |  11 +-
 drivers/gpu/drm/amd/amdgpu/cikd.h                  |  12 +
 drivers/gpu/drm/amd/amdgpu/vid.h                   |   5 +
 drivers/gpu/drm/amd/amdkfd/Kconfig                 |   2 +-
 drivers/gpu/drm/amd/amdkfd/Makefile                |   3 +-
 drivers/gpu/drm/amd/amdkfd/cik_regs.h              |  11 -
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            |   7 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c  |  12 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c   | 103 +++-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |  20 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    | 249 +++++++-
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    |  99 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h    | 398 ++++++++++++
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |   5 +
 drivers/gpu/drm/amd/amdkfd/kfd_topology.h          |   1 +
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |   3 +-
 drivers/gpu/drm/amd/include/vi_structs.h           | 417 +++++++++++++
 drivers/gpu/drm/radeon/radeon_kfd.c                |   3 +-
 28 files changed, 2899 insertions(+), 40 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h
 create mode 100644 drivers/gpu/drm/amd/include/vi_structs.h

-- 
2.4.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2015-06-12 19:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12 19:31 Oded Gabbay [this message]
2015-06-12 19:31 ` [PATCH 01/13] drm/radeon: Modify kgd_engine_type enum to match CZ Oded Gabbay
2015-06-12 19:31 ` [PATCH 02/13] drm/amdgpu: Add H/W agnostic amdgpu <--> amdkfd interface Oded Gabbay
2015-06-12 19:31 ` [PATCH 03/13] drm/amdgpu: add amdgpu <--> amdkfd gfx7 interface Oded Gabbay
2015-06-12 19:31 ` [PATCH 04/13] drm/amdgpu: Add amdgpu <--> amdkfd gfx8 interface Oded Gabbay
2015-06-12 19:31 ` [PATCH 05/13] drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig Oded Gabbay
2015-06-12 19:31 ` [PATCH 06/13] drm/amdkfd: add supported CZ devices PCI IDs to amdkfd Oded Gabbay
2015-06-12 19:31 ` [PATCH 07/13] drm/amdkfd: add CP HWS packet headers for VI Oded Gabbay
2015-06-12 19:31 ` [PATCH 08/13] drm/amdkfd: add support for VI in MQD manager Oded Gabbay
2015-06-12 19:31 ` [PATCH 09/13] drm/amdkfd: Add support for VI in DQM Oded Gabbay
2015-06-12 19:31 ` [PATCH 10/13] drm/amdkfd: fix runlist length calculation Oded Gabbay
2015-06-12 19:31 ` [PATCH 11/13] drm/amdkfd: Implement create_map_queues() for Carrizo Oded Gabbay
2015-06-12 19:31 ` [PATCH 12/13] drm/amdkfd: Use generic defines in new amd headers Oded Gabbay
2015-06-12 19:31 ` [PATCH 13/13] drm/amdkfd: Set correct doorbell packet type for Carrizo Oded Gabbay

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=1434137481-13315-1-git-send-email-oded.gabbay@gmail.com \
    --to=oded.gabbay@gmail.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.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.