drm/sched: struct completion requires linux/completion.h inclusion
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 8 Nov 2019 05:31:10 +0000 (16:31 +1100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2019 17:29:52 +0000 (12:29 -0500)
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>
include/drm/gpu_scheduler.h

index 6619d2a..684692a 100644 (file)
@@ -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)