Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/display: Include drm_drv.h in intel_display_params.c
@ 2023-10-26 11:40 Jouni Högander
  2023-10-26 12:00 ` Jani Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jouni Högander @ 2023-10-26 11:40 UTC (permalink / raw)
  To: intel-gfx

intel_display_params.c is accessing drm_drv->name. Due to this include
drm_drv.h to avoid build problem with Xe.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display_params.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display_params.c b/drivers/gpu/drm/i915/display/intel_display_params.c
index 11e03cfb774d..cd1dd2fbd8a4 100644
--- a/drivers/gpu/drm/i915/display/intel_display_params.c
+++ b/drivers/gpu/drm/i915/display/intel_display_params.c
@@ -3,6 +3,8 @@
  * Copyright © 2023 Intel Corporation
  */
 
+#include <drm/drm_drv.h>
+
 #include "intel_display_params.h"
 #include "i915_drv.h"
 
-- 
2.34.1


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

end of thread, other threads:[~2023-10-28  5:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-26 11:40 [Intel-gfx] [PATCH] drm/i915/display: Include drm_drv.h in intel_display_params.c Jouni Högander
2023-10-26 12:00 ` Jani Nikula
2023-10-27  1:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2023-10-28  5:58 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox