Commit b523c3a6 authored by Alex Deucher's avatar Alex Deucher

Revert "drm/amdgpu: more descriptive message if HMM not enabled"

This reverts commit 194f87dd.

This depends on an HMM fix which is not upstream yet.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e815a9e6
...@@ -53,8 +53,6 @@ static inline struct amdgpu_mn *amdgpu_mn_get(struct amdgpu_device *adev, ...@@ -53,8 +53,6 @@ static inline struct amdgpu_mn *amdgpu_mn_get(struct amdgpu_device *adev,
} }
static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr)
{ {
DRM_WARN_ONCE("HMM_MIRROR kernel config option is not enabled, "
"add CONFIG_ZONE_DEVICE=y in config file to fix this\n");
return -ENODEV; return -ENODEV;
} }
static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {} static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment