summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
diff options
context:
space:
mode:
authorOak Zeng <ozeng@amd.com>2018-12-05 19:56:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-05-24 20:21:02 +0300
commit6c6cde557a8ee2400b169b37ec146cb67518befd (patch)
treebadcc0c6a7125e594f06d94304e18a26a37bbeb5 /drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
parentfdfa090bc90f34543b8efd05b05a143ae6d52406 (diff)
downloadlinux-6c6cde557a8ee2400b169b37ec146cb67518befd.tar.xz
drm/amdkfd: Add mqd size in mqd manager struct
Also initialize mqd size on mqd manager initialization Signed-off-by: Oak Zeng <ozeng@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
index f8261313ae7b..009d232fb60b 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
@@ -99,6 +99,7 @@ struct mqd_manager {
struct mutex mqd_mutex;
struct kfd_dev *dev;
+ uint32_t mqd_size;
};
void mqd_symmetrically_map_cu_mask(struct mqd_manager *mm,