summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-09-23 22:56:25 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-09-24 20:15:40 +0200
commit697d7150502e3b4f6eb536b42ef189e897d94914 (patch)
tree1fa893614b4a13d825b238a93607dbf43384474f /drivers/gpu
parentdrm/amdgpu/display: fix 64 bit divide (diff)
downloadlinux-697d7150502e3b4f6eb536b42ef189e897d94914.tar.xz
linux-697d7150502e3b4f6eb536b42ef189e897d94914.zip
drm/amdgpu/display: include slab.h in dcn21_resource.c
It's apparently needed in some configurations. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
index 3ca5139f1273..de182185fe1f 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
@@ -23,6 +23,8 @@
*
*/
+#include <linux/slab.h>
+
#include "dm_services.h"
#include "dc.h"