From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: <intel-xe@lists.freedesktop.org>
Cc: Jani Nikula <jani.nikula@intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [PATCH 2/2] fixup! drm/xe/display: Implement display support
Date: Fri, 8 Dec 2023 15:42:46 -0500 [thread overview]
Message-ID: <20231208204246.958662-2-rodrigo.vivi@intel.com> (raw)
In-Reply-To: <20231208204246.958662-1-rodrigo.vivi@intel.com>
Adjust to display changes that already landed on drm-next for a smooth
rebase.
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
| 7 -------
1 file changed, 7 deletions(-)
--git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
index 8e67f38e98fd..5d2a77b52db4 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -98,11 +98,7 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)
#define IP_VER(ver, rel) ((ver) << 8 | (rel))
#define INTEL_DISPLAY_ENABLED(xe) (HAS_DISPLAY((xe)) && !intel_opregion_headless_sku((xe)))
-#define DISPLAY_VER(i915) (DISPLAY_RUNTIME_INFO(i915)->ip.ver)
-#define DISPLAY_VER_FULL(i915) IP_VER(DISPLAY_RUNTIME_INFO(i915)->ip.ver, \
- DISPLAY_RUNTIME_INFO(i915)->ip.rel)
-#define IS_DISPLAY_VER(xe, first, last) ((DISPLAY_VER(xe) >= first && DISPLAY_VER(xe) <= last))
#define IS_GRAPHICS_VER(xe, first, last) \
((xe)->info.graphics_verx100 >= first * 100 && \
(xe)->info.graphics_verx100 <= (last*100 + 99))
@@ -220,9 +216,6 @@ struct i915_sched_attr {
#define pdev_to_i915 pdev_to_xe_device
#define RUNTIME_INFO(xe) (&(xe)->info.i915_runtime)
-#define DISPLAY_INFO(xe) ((xe)->display.info.__device_info)
-#define DISPLAY_RUNTIME_INFO(xe) (&(xe)->display.info.__runtime_info)
-
#define FORCEWAKE_ALL XE_FORCEWAKE_ALL
#define HPD_STORM_DEFAULT_THRESHOLD 50
--
2.43.0
next prev parent reply other threads:[~2023-12-08 20:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 20:42 [PATCH 1/2] drm/i915: move display info related macros to display Rodrigo Vivi
2023-12-08 20:42 ` Rodrigo Vivi [this message]
2023-12-11 8:50 ` [PATCH 2/2] fixup! drm/xe/display: Implement display support Jani Nikula
2023-12-08 23:44 ` ✓ CI.Patch_applied: success for series starting with [1/2] drm/i915: move display info related macros to display Patchwork
2023-12-08 23:44 ` ✗ CI.checkpatch: warning " Patchwork
2023-12-08 23:46 ` ✓ CI.KUnit: success " Patchwork
2023-12-08 23:53 ` ✓ CI.Build: " Patchwork
2023-12-08 23:53 ` ✓ CI.Hooks: " Patchwork
2023-12-08 23:55 ` ✗ CI.checksparse: warning " Patchwork
2023-12-09 0:30 ` ✓ CI.BAT: success " Patchwork
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=20231208204246.958662-2-rodrigo.vivi@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
/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