drm/amdkfd: Add SDMA mqd support
authorBen Goz <ben.goz@amd.com>
Sat, 3 Jan 2015 20:12:31 +0000 (22:12 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Fri, 9 Jan 2015 20:26:04 +0000 (22:26 +0200)
commit77669eb87a904ee983d6c31563be20981837705d
tree8d1af00c8176cd04b17533ec86e5bb49da51fe17
parenta84a9903b5885ce1f0b258f8a6568f17d746ab44
drm/amdkfd: Add SDMA mqd support

This patch adds support for SDMA mqd operations:
- init_mqd_sdma
- uninit_mqd_sdma
- load_mqd_sdma
- update_mqd_sdma
- destroy_mqd_sdma
- is_occupied_sdma

It also adds SDMA queue information to some private structures of amdkfd.

v3: Use the new names of some of the defines.

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>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h