summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2019-11-08 16:31:10 +1100
committerAlex Deucher <alexander.deucher@amd.com>2019-11-08 12:29:52 -0500
commitdc10218da86b2ab40b9471c05edd53a9097c29c3 (patch)
tree115f6d1c49ff099b46f84c6c2cb5fcbc929bbeb9 /include/drm
parenta28fda312a9fabdf0e5f5652449d6197c9fb0a90 (diff)
downloadlinux-dc10218da86b2ab40b9471c05edd53a9097c29c3.tar.bz2
drm/sched: struct completion requires linux/completion.h inclusion
Fixes: 83a7772ba223 ("drm/sched: Use completion to wait for sched->thread idle v2.") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/gpu_scheduler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
index 6619d2ac6fa3..684692a8ed76 100644
--- a/include/drm/gpu_scheduler.h
+++ b/include/drm/gpu_scheduler.h
@@ -26,6 +26,7 @@
#include <drm/spsc_queue.h>
#include <linux/dma-fence.h>
+#include <linux/completion.h>
#define MAX_WAIT_SCHED_ENTITY_Q_EMPTY msecs_to_jiffies(1000)