]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/display: drop unused rawclk_freq and RUNTIME_INFO()
authorJani Nikula <jani.nikula@intel.com>
Tue, 20 Aug 2024 09:07:02 +0000 (12:07 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 21 Aug 2024 07:25:16 +0000 (10:25 +0300)
With rawclk_freq moved to display runtime info, xe has no users left for
them.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9f09274bddc14f555c0102f37af6df23b4433102.1724144570.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
drivers/gpu/drm/xe/xe_device_types.h

index 2feedddf1e4004c6306cc7da19aeef71b53fdbb1..182c38905626696abbef9d8aae5608ba2d7d93e0 100644 (file)
@@ -116,7 +116,6 @@ struct i915_sched_attr {
 #define i915_gem_fence_wait_priority(fence, attr) do { (void) attr; } while (0)
 
 #define pdev_to_i915 pdev_to_xe_device
-#define RUNTIME_INFO(xe)               (&(xe)->info.i915_runtime)
 
 #define FORCEWAKE_ALL XE_FORCEWAKE_ALL
 
index 3bca6d344744ac604bb4e50a07fb7ee31c40dbbe..1ba1a01014051187ee66ba7667dcfe5f8cd4310b 100644 (file)
@@ -291,12 +291,6 @@ struct xe_device {
                u8 has_atomic_enable_pte_bit:1;
                /** @info.has_device_atomics_on_smem: Supports device atomics on SMEM */
                u8 has_device_atomics_on_smem:1;
-
-#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
-               struct {
-                       u32 rawclk_freq;
-               } i915_runtime;
-#endif
        } info;
 
        /** @irq: device interrupt state */