]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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: 3ec693113eef ("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 ac173d2eb8099ff45d6409b616ca6fd54a6a790d..0829188c1a5c5eca2992d8468fd7d5f5f3edd1c3 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"