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
cik_int.h
cik_regs.h
Kconfig
kfd_chardev.c
kfd_crat.h
kfd_dbgdev.c
kfd_dbgdev.h
kfd_dbgmgr.c
kfd_dbgmgr.h
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
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
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
kfd_flat_memory.c
kfd_interrupt.c
kfd_kernel_queue_cik.c
kfd_kernel_queue_vi.c
kfd_kernel_queue.c
kfd_kernel_queue.h
kfd_module.c
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
kfd_mqd_manager.h
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
kfd_pm4_headers_diq.h
kfd_pm4_headers_vi.h
kfd_pm4_headers.h
kfd_pm4_opcodes.h
kfd_priv.h
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
kfd_queue.c
kfd_topology.c
kfd_topology.h
Makefile