All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/display: fix compilation error
@ 2019-06-13  2:32 ` Hariprasad Kelam
  0 siblings, 0 replies; 19+ messages in thread
From: Hariprasad Kelam @ 2019-06-13  2:32 UTC (permalink / raw)
  To: Harry Wentland, Leo Li, Alex Deucher, Christian König,
	David (ChunMing) Zhou, David Airlie, Daniel Vetter,
	Dmytro Laktyushkin, Bhawanpreet Lakha, Tony Cheng, Anthony Koo,
	Charlene Liu, Nicholas Kazlauskas, Yongqiang Sun, Gloria Li,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

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>
---
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 +
 1 file changed, 1 insertion(+)

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 d2352949..1ac9a4f 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"
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [PATCH] drm/amd/display: [FIX] Compilation error
@ 2020-10-02 23:56 ` Qingqing Zhuo
  0 siblings, 0 replies; 19+ messages in thread
From: Qingqing Zhuo @ 2020-10-02 23:56 UTC (permalink / raw)
  To: amd-gfx
  Cc: Lewis.Huang, Aric.Cyr, sfr, Harry.Wentland, stable,
	Alexander.Deucher, Bhawanpreet.Lakha, Nicholas.Kazlauskas

[Why]
ifdef mismatch.

[How]
Update to the correct flag.

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Cc: <stable@vger.kernel.org>
---
 drivers/gpu/drm/amd/display/dc/dce/dce_abm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
index 389ca0d54d1b..24f7fe374e13 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
@@ -189,7 +189,7 @@
 
 #define ABM_MASK_SH_LIST_DCN20(mask_sh) ABM_MASK_SH_LIST_DCE110(mask_sh)
 
-#if defined(CONFIG_DRM_AMD_DC_DCN3_01)
+#if defined(CONFIG_DRM_AMD_DC_DCN3_0)
 #define ABM_MASK_SH_LIST_DCN301(mask_sh) ABM_MASK_SH_LIST_DCN10(mask_sh)
 #endif
 
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [PATCH] drm/amd/display: [FIX] Compilation error
@ 2020-10-03  0:16 ` Qingqing Zhuo
  0 siblings, 0 replies; 19+ messages in thread
From: Qingqing Zhuo @ 2020-10-03  0:16 UTC (permalink / raw)
  To: amd-gfx
  Cc: Eryk.Brol, Sunpeng.Li, Harry.Wentland, Qingqing.Zhuo,
	Rodrigo.Siqueira, stable, Bhawanpreet.Lakha

[Why]
ifdef mismatch.

[How]
Update to the correct flag.

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Cc: <stable@vger.kernel.org>
---
 drivers/gpu/drm/amd/display/dc/dce/dce_abm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
index 389ca0d54d1b..829cd9a93ba9 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h
@@ -189,7 +189,7 @@
 
 #define ABM_MASK_SH_LIST_DCN20(mask_sh) ABM_MASK_SH_LIST_DCE110(mask_sh)
 
-#if defined(CONFIG_DRM_AMD_DC_DCN3_01)
+#if defined(CONFIG_DRM_AMD_DC_DCN3_0) || defined(CONFIG_DRM_AMD_DC_DCN3_01)
 #define ABM_MASK_SH_LIST_DCN301(mask_sh) ABM_MASK_SH_LIST_DCN10(mask_sh)
 #endif
 
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-10-05 15:42 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13  2:32 [PATCH] drm/amd/display: fix compilation error Hariprasad Kelam
2019-06-13  2:32 ` Hariprasad Kelam
2019-06-13  2:35 ` Alex Deucher
2019-06-13  2:35   ` Alex Deucher
     [not found]   ` <CADnq5_PU_jvOskC-=+oRQdvYXZvu_n26ogoWTxLRxnW+ke4wDw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-06-13  2:48     ` Hariprasad Kelam
2019-06-13  2:48       ` Hariprasad Kelam
2019-06-13  8:23       ` Daniel Vetter
2019-06-13  8:23         ` Daniel Vetter
2019-06-13 18:42     ` Sam Ravnborg
2019-06-13 18:42       ` Sam Ravnborg
2019-06-13 18:52       ` Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2020-10-02 23:56 [PATCH] drm/amd/display: [FIX] Compilation error Qingqing Zhuo
2020-10-02 23:56 ` Qingqing Zhuo
2020-10-03  1:11 ` Stephen Rothwell
2020-10-03  1:11   ` Stephen Rothwell
2020-10-03  0:16 Qingqing Zhuo
2020-10-03  0:16 ` Qingqing Zhuo
2020-10-05 15:27 ` Rodrigo Siqueira
2020-10-05 15:27   ` Rodrigo Siqueira

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.