[PULL] drm-amdkfd-next
Oded Gabbay
oded.gabbay at gmail.com
Mon Jul 20 01:01:58 PDT 2015
Hi Dave,
This is amdkfd's pull request for kernel 4.3.
drm-amdkfd-next-2015-07-20:
- Add Carrizo support for amdkfd, using the new amdgpu driver as the relevant
kgd. The support includes interfaces with amdgpu both for gfx7 (Kaveri) and
gfx8 (Carrizo). However, gfx7 interface is used for debugging purposes only,
so amdkfd defaults to using radeon when Kaveri is installed.
I would like to note that no new IOCTLs are being introduced, and there is no
change in the current IOCTLs, as they are suited both for gfx7 and gfx8.
Thanks,
Oded
The following changes since commit 52721d9d3334c1cb1f76219a161084094ec634dc:
Linux 4.2-rc3 (2015-07-19 14:45:02 -0700)
are available in the git repository at:
git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2015-07-20
for you to fetch changes up to 7639a8c420f04ca9be87974416efb2848b0962d9:
drm/amdkfd: Set correct doorbell packet type for Carrizo (2015-07-20 09:16:49 +0300)
----------------------------------------------------------------
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 | 6 +
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, 2893 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
More information about the dri-devel
mailing list