]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Enable userptr support when KFD is enabled
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 15 Jan 2021 18:21:18 +0000 (13:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Jan 2021 14:55:16 +0000 (09:55 -0500)
commit08bcaeae605e728dd134a700633d8a6620046c38
tree22927b6d537ab6a86cce3369116fc8d1e9c6674b
parent6c2fddcf03f6abd27da4820bd737f764eb7af214
drm/amdkfd: Enable userptr support when KFD is enabled

ROCm user mode depends on userptr support. Without it, KFD is basically
useless.

Make sure HSA_AMD selects the same options as DRM_AMDGPU_USERPTR to avoid
broken configurations where userptr gets enabled but its dependencies are
disabled.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <philip.yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/Kconfig