-
- Downloads
drm/amdgpu: fix HMM config dependency issue
Only select HMM_MIRROR will get kernel config dependency warnings if CONFIG_HMM is missing in the config. Add depends on HMM will solve the issue. Add conditional compilation to fix compilation errors if HMM_MIRROR is not enabled as HMM config is not enabled. Remove unused function amdgpu_ttm_tt_mark_user_pages. Signed-off-by:Philip Yang <Philip.Yang@amd.com> Reviewed-by:
Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/Kconfig 1 addition, 0 deletionsdrivers/gpu/drm/amd/amdgpu/Kconfig
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 6 additions, 23 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h 12 additions, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
Loading
Please register or sign in to comment