aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-08-20 22:00:36 +0300
committerJani Nikula <jani.nikula@intel.com>2024-08-22 15:47:51 +0300
commit7bb98ca6542e19a9da7cc322114bb4867acd9614 (patch)
tree2245ae4e297a1419680cabc92239b49c3e9ed9fd
parentdrm/xe/display: remove intel_display_step_name() to simplify (diff)
downloadwireguard-linux-7bb98ca6542e19a9da7cc322114bb4867acd9614.tar.xz
wireguard-linux-7bb98ca6542e19a9da7cc322114bb4867acd9614.zip
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 <matthew.d.roper@intel.com> Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/67571bb0b10fb5c99dba57757f2213ef39bdedbb.1724180287.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r--drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h2
1 files changed, 0 insertions, 2 deletions
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 3132a328e42c..cd2cb9c74981 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 */