Re: [PATCH v2 1/1] drm/amdkfd: Enable userptr support when KFD is enabled

2021-01-18 Thread philip yang
Reviewed-by: Philip Yang On 2021-01-18 8:20 p.m., Felix Kuehling wrote: Am 2021-01-18 um 8:01 p.m. schrieb philip yang: On 2021-01-18 6:28 p.m., Felix Kuehling wrote: ROCm user mode depends on userptr support. Without it,

Re: [PATCH v2 1/1] drm/amdkfd: Enable userptr support when KFD is enabled

2021-01-18 Thread Felix Kuehling
Am 2021-01-18 um 8:01 p.m. schrieb philip yang: > > > On 2021-01-18 6:28 p.m., Felix Kuehling wrote: >> 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

Re: [PATCH v2 1/1] drm/amdkfd: Enable userptr support when KFD is enabled

2021-01-18 Thread philip yang
On 2021-01-18 6:28 p.m., Felix Kuehling wrote: 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

[PATCH v2 1/1] drm/amdkfd: Enable userptr support when KFD is enabled

2021-01-18 Thread Felix Kuehling
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 --- drivers/gpu/drm/amd/am