]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: fix compilation error
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Thu, 13 Jun 2019 02:32:08 +0000 (08:02 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Jun 2019 18:59:49 +0000 (13:59 -0500)
this patch fixes below compilation error

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c: In
function ‘dcn10_apply_ctx_for_surface’:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2378:3:
error: implicit declaration of function ‘udelay’
[-Werror=implicit-function-declaration]
   udelay(underflow_check_delay_us);

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index d2352949c06ea8123f6677eeb3ceb76fd147e097..1ac9a4f039902dc7bd932b1e5e8af23e3515dfc4 100644 (file)
@@ -23,6 +23,7 @@
  *
  */
 
+#include <linux/delay.h>
 #include "dm_services.h"
 #include "core_types.h"
 #include "resource.h"