diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-01-04 19:43:49 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-01-05 15:13:30 +0200 |
commit | ee3c386e4bee2cae6fc88defd15052e3f4c3e18b (patch) | |
tree | e76e4ec5afa57be6e00cead2b699c5e4a8ed1d9b | |
parent | fbfb125c849282b00c130f5497bd51e1a76037c8 (diff) |
drm/i915/display: use IS_DISPLAY_VER instead of IS_GRAPHICS_VER
Display code should not care about graphics version.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240104174350.823605-4-jani.nikula@intel.com
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_display_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |