From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 4/5] drm/i915/display: use IS_DISPLAY_VER instead of IS_GRAPHICS_VER
Date: Thu, 4 Jan 2024 19:43:49 +0200 [thread overview]
Message-ID: <20240104174350.823605-4-jani.nikula@intel.com> (raw)
In-Reply-To: <20240104174350.823605-1-jani.nikula@intel.com>
Display code should not care about graphics version.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/i915/display/intel_display_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display_device.c b/drivers/gpu/drm/i915/display/intel_display_device.c
index 0b522c6a8d6f..c02d79b50006 100644
--- a/drivers/gpu/drm/i915/display/intel_display_device.c
+++ b/drivers/gpu/drm/i915/display/intel_display_device.c
@@ -1012,7 +1012,7 @@ static void __intel_display_device_info_runtime_init(struct drm_i915_private *i9
goto display_fused_off;
}
- if (IS_GRAPHICS_VER(i915, 7, 8) && HAS_PCH_SPLIT(i915)) {
+ if (IS_DISPLAY_VER(i915, 7, 8) && HAS_PCH_SPLIT(i915)) {
u32 fuse_strap = intel_de_read(i915, FUSE_STRAP);
u32 sfuse_strap = intel_de_read(i915, SFUSE_STRAP);
--
2.39.2
next prev parent reply other threads:[~2024-01-04 17:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 17:43 [PATCH 1/5] drm/i915/irq: use DISPLAY_VER instead of GRAPHICS_VER Jani Nikula
2024-01-04 17:43 ` [PATCH 2/5] drm/i915/dmc: " Jani Nikula
2024-01-04 17:43 ` [PATCH 3/5] drm/i915/hdcp: " Jani Nikula
2024-01-04 17:43 ` Jani Nikula [this message]
2024-01-04 17:43 ` [PATCH 5/5] drm/i915/tv: " Jani Nikula
2024-01-04 21:32 ` ✗ Fi.CI.SPARSE: warning for series starting with [1/5] drm/i915/irq: " Patchwork
2024-01-04 21:46 ` ✓ Fi.CI.BAT: success " Patchwork
2024-01-04 22:26 ` [PATCH 1/5] " Matt Roper
2024-01-05 13:59 ` Jani Nikula
2024-01-04 23:42 ` ✗ Fi.CI.IGT: failure for series starting with [1/5] " 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=20240104174350.823605-4-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@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