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 v2 8/9] fixup! drm/xe/display: Implement display support
Date: Tue, 14 Nov 2023 15:04:42 +0200 [thread overview]
Message-ID: <20231114130443.2503708-9-jouni.hogander@intel.com> (raw)
In-Reply-To: <20231114130443.2503708-1-jouni.hogander@intel.com>
Add i915_ggtt_offset into i915_vma.h compatibility header. This is needed
by intel_fbdev.c.
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
| 6 ++++++
1 file changed, 6 insertions(+)
--git a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
index 9424144b1b5a..23f2d037c313 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
@@ -19,4 +19,10 @@ struct i915_vma {
#define i915_ggtt_clear_scanout(bo) do { } while (0)
#define i915_vma_fence_id(vma) -1
+
+static inline u32 i915_ggtt_offset(const struct i915_vma *vma)
+{
+ return vma->node.start;
+}
+
#endif
--
2.34.1
next prev parent reply other threads:[~2023-11-14 13:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 13:04 [Intel-xe] [PATCH v2 0/9] Intel_fbdev.c refactoring Jouni Högander
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 1/9] Revert "FIXME: drm/i915/display: Allow fbdev to allocate stolen memory" Jouni Högander
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 2/9] fixup! FIXME: drm/i915/display: Remaining changes to make xe compile Jouni Högander
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 3/9] drm/i915/display: split i915 specific code from intel_fbdev Jouni Högander
2023-11-14 18:47 ` Rodrigo Vivi
2023-11-15 6:06 ` Hogander, Jouni
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 4/9] fixup! drm/xe/display: Implement display support Jouni Högander
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 5/9] " Jouni Högander
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 6/9] " Jouni Högander
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 7/9] " Jouni Högander
2023-11-14 13:04 ` Jouni Högander [this message]
2023-11-14 13:04 ` [Intel-xe] [PATCH v2 9/9] drm/i915/display: use intel_bo_to_drm_bo in intel_fbdev Jouni Högander
2023-11-14 18:49 ` Rodrigo Vivi
2023-11-14 14:29 ` [Intel-xe] ✓ CI.Patch_applied: success for Intel_fbdev.c refactoring (rev2) Patchwork
2023-11-14 14:30 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-11-14 14:31 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-11-14 14:38 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-11-14 14:39 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-11-14 14:40 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-11-14 15:15 ` [Intel-xe] ✗ CI.BAT: failure " Patchwork
2023-11-14 18:52 ` [Intel-xe] [PATCH v2 0/9] Intel_fbdev.c refactoring Rodrigo Vivi
-- strict thread matches above, loose matches on Subject: below --
2023-12-04 6:49 [Intel-xe] [PATCH v2 0/9] Intel_fb.c refactoring Jouni Högander
2023-12-04 6:49 ` [Intel-xe] [PATCH v2 8/9] fixup! drm/xe/display: Implement display support Jouni Högander
2023-08-09 19:04 [Intel-xe] [PATCH v2 1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 8/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=20231114130443.2503708-9-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