From patchwork Tue Oct 11 13:59:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 13004057 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 A766FC433FE for ; Tue, 11 Oct 2022 14:00:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 880DA10E404; Tue, 11 Oct 2022 13:59:59 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id DCE4710E3FD; Tue, 11 Oct 2022 13:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665496794; x=1697032794; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/R/52n8KF6klmAgZ8PRz/XSpiJMymG9SJAwa+Su5SzM=; b=gAkJp3K9aNtY96Zcn22sejxKarTaU4CzKPl9MYp2hasKMj8PSmeONkgK P9tatKCybh9d42TLp1aWCCCgBq0ppoKTCeTHxI5wE/5srT86lsVT3+c6l RbG+QJfPjxSdw/1e+oClvm1FIj4efj8ucJFzfv8wcQLn5Xv+Cj/nEjITo E1YGFLvVWLVn5A3INZomVFBUc2E3rwYcyxzJB9JwljrybXnjkt2xGmj2b eD8zP1FvTmZG4ldJBt4jor+kUzqB4mz/OCVq3hTZWI1gjDNdt0YmnfRey xQdKmJ8V92ZYnRmV13c+HK0hmxFTVNOEo44/E2/F3OzIsjj+Ww7ddpiKa w==; X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="330990177" X-IronPort-AV: E=Sophos;i="5.95,176,1661842800"; d="scan'208";a="330990177" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 06:59:54 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="628702535" X-IronPort-AV: E=Sophos;i="5.95,176,1661842800"; d="scan'208";a="628702535" Received: from ashyti-mobl2.igk.intel.com (HELO intel.com) ([172.28.182.106]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 06:59:52 -0700 From: Andi Shyti To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/i915/trace: Removed unused frequency trace Date: Tue, 11 Oct 2022 15:59:40 +0200 Message-Id: <20221011135940.367048-1-andi.shyti@linux.intel.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , Andi Shyti , Andi Shyti , Chris Wilson Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Commit 3e7abf814193 ("drm/i915: Extract GT render power state management") removes the "trace_intel_gpu_freq_change()" trace points but their definition was left without users. Remove it. Suggested-by: Tvrtko Ursulin Signed-off-by: Andi Shyti Cc: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_trace.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h index 37b5c9e9d260..c70a02517e02 100644 --- a/drivers/gpu/drm/i915/i915_trace.h +++ b/drivers/gpu/drm/i915/i915_trace.h @@ -671,21 +671,6 @@ TRACE_EVENT_CONDITION(i915_reg_rw, (u32)(__entry->val >> 32)) ); -TRACE_EVENT(intel_gpu_freq_change, - TP_PROTO(u32 freq), - TP_ARGS(freq), - - TP_STRUCT__entry( - __field(u32, freq) - ), - - TP_fast_assign( - __entry->freq = freq; - ), - - TP_printk("new_freq=%u", __entry->freq) -); - /** * DOC: i915_ppgtt_create and i915_ppgtt_release tracepoints *