amdkfd: Add mqd_manager module
authorBen Goz <ben.goz@amd.com>
Wed, 16 Jul 2014 21:36:17 +0000 (00:36 +0300)
committerOded Gabbay <oded.gabbay@amd.com>
Wed, 16 Jul 2014 21:36:17 +0000 (00:36 +0300)
commit6e99df5741b3332dcceb86915b2818af640c51f9
treeb4b70d3fda87cfd7d16ad39882b29b9dcc53a63d
parented8aab4594e0c5054b25b4a8810901ccf70efdcf
amdkfd: Add mqd_manager module

The mqd_manager module handles MQD data structures.
MQD stands for Memory Queue Descriptor, which is used by the H/W to
keep the usermode queue state in memory.

v3:

Removed new typedefs
Removed pragma pack 4
Remove cik_mqds.h file
Changed lower_32/upper_32 calls to use linux macros
Used new gart allocation functions
Added documentation

v4:

Added missing initialization of the addr field in init_mqd()

Setting the hqd persistent.preload_req bit ON so that when queues switches
on/off, their context will kept and read from the mqd when the cp reassign
them, and thus the dispatched workload context kept consistent without any
interrupts.

v5:

Move amdkfd from drm/radeon/ to drm/amd/
Change format of mqd structure to match latest KV firmware
Add support for AQL queues creation to enable working with open-source HSA
runtime.
Various fixes

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/Makefile
drivers/gpu/drm/amd/amdkfd/cik_regs.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
This page took 0.024981 seconds and 5 git commands to generate.