mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 12:16:29 -04:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user