aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/gpu_scheduler.h
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/gpu_scheduler.h
parentdrm/amdgpu: Avoid accidental thread reactivation. (diff)
downloadwireguard-linux-dc10218da86b2ab40b9471c05edd53a9097c29c3.tar.xz
wireguard-linux-dc10218da86b2ab40b9471c05edd53a9097c29c3.zip
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/gpu_scheduler.h')
-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)