Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jouni Högander" <jouni.hogander@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: "Jouni Högander" <jouni.hogander@intel.com>
Subject: [Intel-xe] [PATCH 7/9] fixup! drm/xe/display: Implement display support
Date: Tue, 14 Nov 2023 13:00:54 +0200	[thread overview]
Message-ID: <20231114110056.2423853-8-jouni.hogander@intel.com> (raw)
In-Reply-To: <20231114110056.2423853-1-jouni.hogander@intel.com>

Add i915_gem_object_is_shmem into i915_gem_object.h compatibility
header. This is needed by intel_fbdev.c.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 .../drm/xe/compat-i915-headers/gem/i915_gem_object.h  | 11 +++++++++++
 drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h     |  2 ++
 2 files changed, 13 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
new file mode 100644
index 000000000000..3b305c291cdd
--- /dev/null
+++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2022 Intel Corporation
+ */
+
+#ifndef _I915_GEM_OBJECT_H_
+#define _I915_GEM_OBJECT_H_
+
+#define i915_gem_object_is_shmem(obj) ((obj)->flags & XE_BO_CREATE_SYSTEM_BIT)
+
+#endif
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
index 3012b787aa6a..8e67f38e98fd 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -12,6 +12,8 @@
 
 #include <drm/drm_drv.h>
 
+#include "gem/i915_gem_object.h"
+
 #include "soc/intel_pch.h"
 #include "xe_device.h"
 #include "xe_bo.h"
-- 
2.34.1


  parent reply	other threads:[~2023-11-14 11:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-14 11:00 [Intel-xe] [PATCH 0/9] Intel_fbdev.c refactoring Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 1/9] Revert "FIXME: drm/i915/display: Allow fbdev to allocate stolen memory" Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 2/9] fixup! FIXME: drm/i915/display: Remaining changes to make xe compile Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 3/9] drm/i915/display: split i915 specific code from intel_fbdev Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 4/9] fixup! drm/xe/display: Implement display support Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 5/9] " Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 6/9] " Jouni Högander
2023-11-14 11:00 ` Jouni Högander [this message]
2023-11-14 11:00 ` [Intel-xe] [PATCH 8/9] " Jouni Högander
2023-11-14 11:00 ` [Intel-xe] [PATCH 9/9] drm/i915/display: use intel_bo_to_drm_bo in intel_fbdev Jouni Högander
2023-11-14 11:33 ` [Intel-xe] ✓ CI.Patch_applied: success for Intel_fbdev.c refactoring Patchwork
2023-11-14 11:33 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-11-14 11:34 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-11-14 11:37 ` [Intel-xe] ✗ CI.Build: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-08-11  9:35 [Intel-xe] [PATCH 0/9] drm/xe: i915 irq backports + display cleanups Jani Nikula
2023-08-11  9:35 ` [Intel-xe] [PATCH 7/9] fixup! drm/xe/display: Implement display support Jani Nikula
2023-08-08 11:45 [Intel-xe] [PATCH 1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h Jani Nikula
2023-08-08 11:45 ` [Intel-xe] [PATCH 7/9] fixup! drm/xe/display: Implement display support Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231114110056.2423853-8-jouni.hogander@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox