From patchwork Tue Aug 20 09:07:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13769624 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BC11C5321D for ; Tue, 20 Aug 2024 09:07:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C15B810E532; Tue, 20 Aug 2024 09:07:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Hxrq3oHV"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id C8ACF10E2AD; Tue, 20 Aug 2024 09:07:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724144856; x=1755680856; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5X4uDIxsiESGhjC34oUM1mJwpGH4tzNmgMo2IaJP0kg=; b=Hxrq3oHVJ/P25pdDszcryTKgaYQB6oAqdIzOmCVYWtdAlDZT+ZKydPCB /r3lVK1ZzggUqVvQKEE+wJthEqO9xy8gqvH5ZIA2u9NCK3STfrlYbxg0H nCAroNBUZsevG29Z6AtKsYfszukBeiQYsoGkixaW/M8fhRPGCo+O50rcc hEoWc5vj0mq/zsN7If6qNCfZEIx8i4jBEMkrpgSxO8zOkQC4P7kcAg9WN Z9eH9Sn88gm1H1csN42mRzjfBXStbH9JOvjGQOFu5hYCgnfXJJ5b6yvG1 LG5b2OGEk5jNNcjhx1QuqSzzRLMjZyiVvJ6RCGQWl1TJGsZgTEuCQ2kH+ Q==; X-CSE-ConnectionGUID: 2BL8SoTsRbSrpRuQ7IUdkw== X-CSE-MsgGUID: oXm98OK7Ra2GKDm/2oj70w== X-IronPort-AV: E=McAfee;i="6700,10204,11169"; a="22596304" X-IronPort-AV: E=Sophos;i="6.10,161,1719903600"; d="scan'208";a="22596304" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2024 02:07:25 -0700 X-CSE-ConnectionGUID: tNaKpJ1HRFG7VBAuH/l0Jw== X-CSE-MsgGUID: THhfC6BCTBeaa8K8Qy7scw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,161,1719903600"; d="scan'208";a="61424583" Received: from bergbenj-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.184]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2024 02:07:21 -0700 From: Jani Nikula To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: maarten.lankhorst@linux.intel.com, ville.syrjala@linux.intel.com, jani.nikula@intel.com Subject: [PATCH 2/2] drm/xe/display: drop unused rawclk_freq and RUNTIME_INFO() Date: Tue, 20 Aug 2024 12:07:02 +0300 Message-Id: <9f09274bddc14f555c0102f37af6df23b4433102.1724144570.git.jani.nikula@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" With rawclk_freq moved to display runtime info, xe has no users left for them. Reviewed-by: Ville Syrjälä Signed-off-by: Jani Nikula Reviewed-by: Maarten Lankhorst --- 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 2feedddf1e40..182c38905626 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -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 diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h index cb60bc5ec21b..5ed6f5434f42 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h @@ -305,12 +305,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 */