[Intel-xe] [RFC PATCH 12/20] drm/xe/display: Include i916_active related headers
Jouni Högander
jouni.hogander at intel.com
Fri May 5 08:29:48 UTC 2023
We have compatibility headers containing dummy defines to handle lack
of i915_active in Xe driver. Include those headers to avoid build
problems.
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_frontbuffer.c | 1 +
drivers/gpu/drm/i915/display/intel_frontbuffer.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
index cdd214413746..d4788be078dd 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
@@ -55,6 +55,7 @@
* cancelled as soon as busyness is detected.
*/
+#include "i915_active.h"
#include "i915_drv.h"
#include "intel_display_trace.h"
#include "intel_display_types.h"
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.h b/drivers/gpu/drm/i915/display/intel_frontbuffer.h
index a3d47ab619cc..73d4581aba2c 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.h
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.h
@@ -40,6 +40,8 @@ enum fb_op_origin {
ORIGIN_CURSOR_UPDATE,
};
+#include "i915_active_types.h"
+
struct intel_frontbuffer {
struct kref ref;
atomic_t bits;
--
2.34.1
More information about the Intel-xe
mailing list