summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2020-01-28 15:42:27 +1100
committerAlex Deucher <alexander.deucher@amd.com>2020-01-30 17:15:42 -0500
commit7044cb6c20776a1d546f08c332601bb6005388a2 (patch)
treefed2e37e5890521bb6dd563e1b6c584803a41cb0 /drivers/gpu
parent977f7e1068be60f3cac7d80ab18692341f3b7fc5 (diff)
downloadlinux-7044cb6c20776a1d546f08c332601bb6005388a2.tar.gz
linux-7044cb6c20776a1d546f08c332601bb6005388a2.tar.bz2
linux-7044cb6c20776a1d546f08c332601bb6005388a2.zip
amdgpu: using vmalloc requires includeing vmalloc.h
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/psp_v11_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
index ac173d2eb809..0829188c1a5c 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
@@ -22,6 +22,7 @@
#include <linux/firmware.h>
#include <linux/module.h>
+#include <linux/vmalloc.h>
#include "amdgpu.h"
#include "amdgpu_psp.h"