]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: more descriptive message if HMM not enabled
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 4 Mar 2019 15:37:55 +0000 (10:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:47 +0000 (23:39 -0500)
commit988e2b27ffd240a5758006fb93c3a7ef698a932c
treef244950fb565f3ad506bdd86e8ecf999b3f83398
parentc5ea247b545eb9e32809d76c4fe88ddcacd55437
drm/amdgpu: more descriptive message if HMM not enabled

If using old kernel config file, CONFIG_ZONE_DEVICE is not selected,
so CONFIG_HMM and CONFIG_HMM_MIRROR is not enabled, the current driver
error message "Failed to register MMU notifier" is not clear. Inform
user with more descriptive message on how to fix the missing kernel
config option.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109808

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h