linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Ben Goz ff3d04a171 drm/amdkfd: Add new VI-specific queue properties
This patch adds new fields to the queue_properties structure. The new fields
are relevant only for queues running on AMD GPU VI architecture.

The eop_ring_buffer_address and eop_ring_buffer_size describe an
end-of-pipe queue which is assigned to the MQD. In CI, the EOP queue was per
pipeline and in VI it is per queue.

The ctx_save_restore_area_address and ctx_save_restore_area_size describe a
memory area that is designated to allow the CP to do context save/restore in
mid-wave state.

This patch also modifies the set_queue_properties_from_user() (called from
kfd_ioctl_create_queue()) to check and copy those new parameters.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-01-04 10:37:18 +02:00
..
cik_regs.h drm/amdkfd: Don't include header files from radeon 2015-01-02 23:18:54 +02:00
Kconfig amdkfd: Remove DRM_AMDGPU dependency from Kconfig 2014-11-21 22:36:09 +02:00
kfd_chardev.c drm/amdkfd: Add new VI-specific queue properties 2015-01-04 10:37:18 +02:00
kfd_crat.h amdkfd: Add topology module to amdkfd 2014-07-16 21:22:32 +03:00
kfd_device_queue_manager.c drm/amdkfd: Don't include header files from radeon 2015-01-02 23:18:54 +02:00
kfd_device_queue_manager.h drm/amdkfd: Add SDMA user-mode queues support to QCM 2015-01-09 22:26:05 +02:00
kfd_device.c drm/amdkfd: Allocate gart memory using new interface 2015-01-09 22:26:09 +02:00
kfd_doorbell.c drm/amdkfd: Process-device data creation and lookup split 2015-01-09 22:25:58 +02:00
kfd_flat_memory.c drm/amdkfd: Process-device data creation and lookup split 2015-01-09 22:25:58 +02:00
kfd_interrupt.c amdkfd: Add interrupt handling module 2014-07-17 01:37:30 +03:00
kfd_kernel_queue.c drm/amdkfd: Using new gtt sa in amdkfd 2015-01-09 22:26:10 +02:00
kfd_kernel_queue.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_module.c amdkfd: Add module parameter of scheduling policy 2014-07-17 00:48:28 +03:00
kfd_mqd_manager.c drm/amdkfd: Don't include header files from radeon 2015-01-02 23:18:54 +02:00
kfd_mqd_manager.h amdkfd: Add mqd_manager module 2014-07-17 00:36:17 +03:00
kfd_packet_manager.c drm/amdkfd: Using new gtt sa in amdkfd 2015-01-09 22:26:10 +02:00
kfd_pasid.c amdkfd: use sizeof(long) granularity for the pasid bitmask 2014-12-03 09:26:25 -05:00
kfd_pm4_headers.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_pm4_opcodes.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_priv.h drm/amdkfd: Add new VI-specific queue properties 2015-01-04 10:37:18 +02:00
kfd_process_queue_manager.c drm/amdkfd: Add SDMA user-mode queues support to QCM 2015-01-09 22:26:05 +02:00
kfd_process.c drm/amdkfd: Process-device data creation and lookup split 2015-01-09 22:25:58 +02:00
kfd_queue.c amdkfd: Add queue module 2014-07-17 00:18:51 +03:00
kfd_topology.c drm/amdkfd: Add number of watch points to topology 2015-01-09 22:25:55 +02:00
kfd_topology.h amdkfd: Add topology module to amdkfd 2014-07-16 21:22:32 +03:00
Makefile amdkfd: Add interrupt handling module 2014-07-17 01:37:30 +03:00