amdgpu: using vmalloc requires includeing vmalloc.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 28 Jan 2020 04:42:27 +0000 (15:42 +1100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jan 2020 22:15:42 +0000 (17:15 -0500)
Fixes: 240c811ccde4 ("drm/amdgpu: fix VRAM partially encroached issue in GDDR6 memory training(V2)")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c

index ac173d2..0829188 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/firmware.h>
 #include <linux/module.h>
+#include <linux/vmalloc.h>
 
 #include "amdgpu.h"
 #include "amdgpu_psp.h"