From: Jani Nikula Date: Tue, 20 Aug 2024 19:00:36 +0000 (+0300) Subject: drm/xe/display: remove the unused compat HAS_GMD_ID() X-Git-Tag: v6.12-rc1~126^2~14^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bb98ca6542e19a9da7cc322114bb4867acd9614;p=thirdparty%2Fkernel%2Flinux.git drm/xe/display: remove the unused compat HAS_GMD_ID() The display code no longer needs or uses HAS_GMD_ID(). Remove it from the compat header. Reviewed-by: Matt Roper Acked-by: Lucas De Marchi Link: https://patchwork.freedesktop.org/patch/msgid/67571bb0b10fb5c99dba57757f2213ef39bdedbb.1724180287.git.jani.nikula@intel.com Signed-off-by: Jani Nikula --- diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h index 3132a328e42c6..cd2cb9c749812 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -80,8 +80,6 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev) #define IS_MOBILE(xe) (xe && 0) -#define HAS_GMD_ID(xe) GRAPHICS_VERx100(xe) >= 1270 - #define INTEL_DISPLAY_STEP(xe) ((xe)->info.step.display) /* Workarounds not handled yet */