summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorHariprasad Kelam2019-06-13 04:32:08 +0200
committerGreg Kroah-Hartman2019-07-31 07:27:00 +0200
commit6a7047471073c2cf8e375b2fe5a71bacf9799973 (patch)
tree32838a9902d8fa833f517724f4194549acefdb69 /drivers/gpu/drm/amd
parentphy: renesas: rcar-gen2: Fix memory leak at error paths (diff)
downloadkernel-qcow2-linux-6a7047471073c2cf8e375b2fe5a71bacf9799973.tar.gz
kernel-qcow2-linux-6a7047471073c2cf8e375b2fe5a71bacf9799973.tar.xz
kernel-qcow2-linux-6a7047471073c2cf8e375b2fe5a71bacf9799973.zip
drm/amd/display: fix compilation error
[ Upstream commit 88099f53cc3717437f5fc9cf84205c5b65118377 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
index 7736ef123e9b..ead221ccb93e 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
@@ -23,6 +23,7 @@
*
*/
+#include <linux/delay.h>
#include "dm_services.h"
#include "core_types.h"
#include "resource.h"