]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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: 9fbde645a31c ("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 6619d2ac6fa37e46cfc3520326c6333ccd2dac59..684692a8ed76c82b760f2a0a51c8a9b3412a8b58 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)