linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Andres Rodriguez d0b63bb338 drm/amdkfd: allow split HQD on per-queue granularity v5
Update the KGD to KFD interface to allow sharing pipes with queue
granularity instead of pipe granularity.

This allows for more interesting pipe/queue splits.

v2: fix overflow check for res.queue_mask
v3: fix shift overflow when setting res.queue_mask
v4: fix comment in is_pipeline_enabled()
v5: clamp res.queue_mask to the first MEC only

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-31 16:48:54 -04:00
..
cik_event_interrupt.c drm/amdkfd: Add bad opcode exception handling 2015-05-19 13:02:28 +03:00
cik_int.h drm/amdkfd: Add bad opcode exception handling 2015-05-19 13:02:28 +03:00
cik_regs.h drm/amdkfd: Use generic defines in new amd headers 2015-07-20 09:16:49 +03:00
Kconfig drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig 2015-07-20 09:16:48 +03:00
kfd_chardev.c amdkfd: fix spelling mistake in kfd_ioctl_dbg_unrgesiter 2017-01-12 09:53:03 +02:00
kfd_crat.h amdkfd: Add topology module to amdkfd 2014-07-16 21:22:32 +03:00
kfd_dbgdev.c drm/amdkfd: uninitialized variable in dbgdev_wave_control_set_registers() 2016-03-15 14:09:37 +02:00
kfd_dbgdev.h drm/amdkfd: avoid CONFIG_ prefix for non-Kconfig symbols 2015-06-06 20:48:34 +03:00
kfd_dbgmgr.c drm/amdkfd: Add address watch operation to debugger 2015-06-03 11:33:06 +03:00
kfd_dbgmgr.h drm/amdkfd: Add address watch operation to debugger 2015-06-03 11:33:06 +03:00
kfd_device_queue_manager_cik.c drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
kfd_device_queue_manager_vi.c drm/amdkfd: fix bug when initializing sdma vm 2015-07-30 09:26:15 +03:00
kfd_device_queue_manager.c drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
kfd_device_queue_manager.h drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
kfd_device.c drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
kfd_doorbell.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
kfd_events.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
kfd_events.h drm/amdkfd: Add bad opcode exception handling 2015-05-19 13:02:28 +03:00
kfd_flat_memory.c amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h> 2015-08-30 12:36:58 +03:00
kfd_interrupt.c drm/amdkfd: Add the events module 2015-05-19 13:02:26 +03:00
kfd_kernel_queue_cik.c drm/amdkfd: Add initial VI support for KQ 2014-12-02 16:38:57 +02:00
kfd_kernel_queue_vi.c drm/amdkfd: Add initial VI support for KQ 2014-12-02 16:38:57 +02:00
kfd_kernel_queue.c drm/amdkfd: Pass 'struct queue_propertices' by reference 2016-09-19 20:58:35 +03:00
kfd_kernel_queue.h drm/amdkfd: Remove sync_with_hw() from amdkfd 2015-01-15 12:07:48 +02:00
kfd_module.c drm/amdkfd: Track when module's init is complete 2016-02-27 22:52:40 +02:00
kfd_mqd_manager_cik.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
kfd_mqd_manager_vi.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
kfd_mqd_manager.c drm/amdkfd: Change MQD manager to be H/W specific 2015-01-04 11:24:25 +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: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
kfd_pasid.c drm/amdkfd: Allow user to limit only queues per device 2015-01-18 13:18:01 +02:00
kfd_pm4_headers_diq.h drm/amdkfd: Add skeleton H/W debugger module support 2015-06-03 11:32:28 +03:00
kfd_pm4_headers_vi.h drm/amdkfd: add CP HWS packet headers for VI 2015-07-20 09:16:48 +03:00
kfd_pm4_headers.h drm/amdkfd: Add static user-mode queues support 2015-06-03 11:32:28 +03:00
kfd_pm4_opcodes.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_priv.h drm/amdkfd: Pass 'struct queue_propertices' by reference 2016-09-19 20:58:35 +03:00
kfd_process_queue_manager.c drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
kfd_process.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/mm.h> 2017-03-02 08:42:28 +01:00
kfd_queue.c drm/amdkfd: Pass 'struct queue_propertices' by reference 2016-09-19 20:58:35 +03:00
kfd_topology.c drm/amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack 2016-09-19 20:58:35 +03:00
kfd_topology.h drm/amdkfd: Set correct doorbell packet type for Carrizo 2015-07-20 09:16:49 +03:00
Makefile drm/amdkfd: add support for VI in MQD manager 2015-07-20 09:16:48 +03:00