From 94e175355853f4dd3bf0ea67017266d5187446b9 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 25 Feb 2025 22:59:22 +0900 Subject: [PATCH] drm/xe/display: drop unused rawclk_freq and RUNTIME_INFO() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BugLink: https://bugs.launchpad.net/bugs/2099996 commit f15e5587448989a55cf8b4feaad0df72ca3aa6a0 upstream. With rawclk_freq moved to display runtime info, xe has no users left for them. Reviewed-by: Ville Syrjälä Reviewed-by: Maarten Lankhorst Link: https://patchwork.freedesktop.org/patch/msgid/9f09274bddc14f555c0102f37af6df23b4433102.1724144570.git.jani.nikula@intel.com Signed-off-by: Jani Nikula Signed-off-by: Lucas De Marchi Signed-off-by: Greg Kroah-Hartman [koichiroden: adjusted context due to missing commits: 06e69a424930 ("drm/xe: Introduce has_device_atomics_on_smem device info") c462f81b695a ("drm/xe: Introduce has_atomic_enable_pte_bit device info")] Signed-off-by: Koichiro Den Signed-off-by: Stefan Bader --- drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 1 - drivers/gpu/drm/xe/xe_device_types.h | 6 ------ 2 files changed, 7 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 6dc48e954a7a..e1162e452564 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -215,7 +215,6 @@ struct i915_sched_attr { intel_runtime_pm_put((rpm), (wf)), (wf) = 0) #define pdev_to_i915 pdev_to_xe_device -#define RUNTIME_INFO(xe) (&(xe)->info.i915_runtime) #define FORCEWAKE_ALL XE_FORCEWAKE_ALL #define HPD_STORM_DEFAULT_THRESHOLD 50 diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h index bfa39d99e475..9ff314c0a15e 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h @@ -276,12 +276,6 @@ struct xe_device { u8 has_heci_gscfi:1; /** @skip_guc_pc: Skip GuC based PM feature init */ u8 skip_guc_pc:1; - -#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY) - struct { - u32 rawclk_freq; - } i915_runtime; -#endif } info; /** @irq: device interrupt state */