From patchwork Tue Feb 20 19:46:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Tadokoro X-Patchwork-Id: 13565098 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 48B7FC48BC3 for ; Wed, 21 Feb 2024 08:09:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D85C10E65B; Wed, 21 Feb 2024 08:09:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=usp.br header.i=@usp.br header.b="jo7dazof"; dkim-atps=neutral Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by gabe.freedesktop.org (Postfix) with ESMTPS id EDBE710E548 for ; Tue, 20 Feb 2024 19:47:37 +0000 (UTC) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e45d0c9676so1789878b3a.0 for ; Tue, 20 Feb 2024 11:47:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; t=1708458457; x=1709063257; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q6VIzixTXzfsOehBNdTAI/rwoARfHVoZJfkUg/7sqYs=; b=jo7dazofMUTXm+ZVYxatgP8h8GL15OCTwCEBx2KHmltqIl+giMuSwSE0melsQ0ILpO TBYkbyjGU+iHpX14KGKifwtB0+lGNhV5/9WHwkVHrX1Ip44BaE1Y7ub1xIOadTEGoJne es+Cy06jmXlbvIUu28MoztFsxO2BPmiawCMV7Kzy+j+rmY8pXf8DcHYb1XVCVquMsDO2 T6EQTqxanqMbd2l7+GoPspH9ySatKUzcKONfiKeGvxAO9NAsvoEHLqa8//5EU3JqCj7p b3Ry9o3Mrz2RSA2ENaVks3KcA3NS9t/5aUO4ZuSpdK3uehluENjrKcBapMZ5RQ7l+msq lE8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708458457; x=1709063257; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q6VIzixTXzfsOehBNdTAI/rwoARfHVoZJfkUg/7sqYs=; b=Uc2uQdf5zFVL2U2qdrXQn4VK374le2rXiDQe3cYTbwlSh2PmhTuCMDnAbf22K1SfzJ zs22cCjlzE3mR98w3PYKOCTO/U4ZesbS2RszlOwLCO4cMx72M2ZrcbB9NDv+7MFCbH7E N9NFA1URaHGBLRXvCRHDrMbOub6BBZeO2bikx1HnrDilOqFnboDMGnUgZn76yPgvyZNx UoHJx3dpB3lUP6i9aWJIIxh3SFktVNQ85jU735fbhZZfhmYBIrW2Av/929gTfLQ4NBZV 9N1ldmM4ZhECNfG6eIW8CpXyf+mg6xdtEs+hAMWlhDl6Ac+FGFE7W8PnOZUqZqGgGcIY n5Gw== X-Forwarded-Encrypted: i=1; AJvYcCUYNG1RFAZm+kRRtK2Fp6JMbU0LcG0J4ahd4vQYntLL9SY5ROPPrIWMZIpgoCjAom+lXJNUCcjEfZYfADURPHrCvtsy3V8IIfZzYiwsi0sP X-Gm-Message-State: AOJu0YwwUsAbgpA5t1QSlkX4HwtCtn7rm+kZgfELpCvl//MLZC3P4WFw iCUVNF48Tx9Q6Zm4w5mjCbFs4AZcuvhM0BI++BA6BSxNuBCQ4+uN+WoXxEET3ik= X-Google-Smtp-Source: AGHT+IFgSkgcVtlGl29yJIA184G9Y9bRu08SmE/6+uoV1knpPK9Evk4Db0EYpHCqkt1tBAyEziIoXg== X-Received: by 2002:a05:6a20:93a2:b0:19e:5dda:6bd with SMTP id x34-20020a056a2093a200b0019e5dda06bdmr25055183pzh.8.1708458457453; Tue, 20 Feb 2024 11:47:37 -0800 (PST) Received: from localhost.localdomain ([185.153.176.89]) by smtp.gmail.com with ESMTPSA id u21-20020aa78395000000b006e0ad616be3sm7293482pfm.110.2024.02.20.11.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:47:37 -0800 (PST) From: David Tadokoro To: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch Cc: David Tadokoro , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 1/3] drm/amd/display: add prefix to rv1_clk_mgr_clk.c function Date: Tue, 20 Feb 2024 16:46:55 -0300 Message-Id: <20240220194657.243378-2-davidbtadokoro@usp.br> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240220194657.243378-1-davidbtadokoro@usp.br> References: <20240220194657.243378-1-davidbtadokoro@usp.br> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 21 Feb 2024 08:08:40 +0000 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The function defined in dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c doesn't have a name that indicates where it was declared. To better filter results in debug tools like ftrace, prefix this function with 'rv1_clk_mgr_clk_'. Signed-off-by: David Tadokoro --- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c index 61dd12198a3c..b63e0e92d118 100644 --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c @@ -49,7 +49,7 @@ /* Only used by testing framework*/ -void rv1_dump_clk_registers(struct clk_state_registers *regs, struct clk_bypass *bypass, struct clk_mgr *clk_mgr_base) +void rv1_clk_mgr_clk_dump_clk_registers(struct clk_state_registers *regs, struct clk_bypass *bypass, struct clk_mgr *clk_mgr_base) { struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);