[PATCH 03/10] drm/xe/display: remove the unused compat HAS_GMD_ID()
Matt Roper
matthew.d.roper at intel.com
Tue Aug 20 22:40:10 UTC 2024
On Tue, Aug 20, 2024 at 10:00:36PM +0300, Jani Nikula wrote:
> The display code no longer needs or uses HAS_GMD_ID(). Remove it from
> the compat header.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
> ---
> drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 --
> 1 file changed, 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 82b934fe230a..7492979ac3bc 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 */
> --
> 2.39.2
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
More information about the Intel-gfx
mailing list