Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29582256rwd; Wed, 5 Jul 2023 14:13:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlHQRR79PN+gdflKG8BIAhm6JQcbUGJwq+A/qapYpF21Mt7haKasDqd+WP+db7d5IcyDOW/3 X-Received: by 2002:a05:6830:1e57:b0:6b7:2515:e214 with SMTP id e23-20020a0568301e5700b006b72515e214mr110602otj.34.1688591611358; Wed, 05 Jul 2023 14:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688591611; cv=none; d=google.com; s=arc-20160816; b=Ui9CwnG+caxx3tvsVzwvIOey6WlzeF6cRi2hL0aiefGYBpqRFOPDNqpGz+VTvdwdoS nzzqxOvBEydxP7cQaLULsF5CjN+wODLD9c/0K17w1bFxHkJeTDPVQ8QX+ltLoaRiR/OS D52ClffmedciNBaAC+4Ri0RbT1++tCbMvdLhpg+0j4j2Lptfy0VmOJk/CUhnTfa51PKB 3B1T1IJLXHCxW/E9iN3KaiUfL1CZr13zPocTCrQHqouFjdjQ73CZJBbI/Bvjbey/n1aF VKwvT7YnAT5PCMwMgJbKGCS+OMXLDhUHSNEZTDx/sa69MbFaTSGM39qhOxpgKvLMO+tl VnpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=lcVd66LGKDN5EYJvATzXLdn3h1LOEZrZslPujKR9gFU=; fh=hN7ZgzVaNKNNtUyXXVpEPbcSa+EQrTRobxO979aFjJ8=; b=rF/ZOio+TSAsvWxoWu9AAhORmPFh+lwqNtKjFcaoi54MnhgkscoguNW2euaRmgCyX1 ouZ7cuYnHZyUi3Y6Yuu3CJt9DJkv5snMabHBM5yNDcIafZJoesgn+jPamHVKmX2BHb98 pM+bcgCLVuv2ghVcR1z+ft2opc4HW+wWzHmYtzHkwVKmB1Ye6aWIp9U4aDF2qDiT3dTe mBRP6hvlODfEh68Xxl6rsP5Wq1cuYqWJUxH6OtzNmgX2jFTrnyD8fMOUHOtE8U/irJd9 21O7g3A0Gd/0n0oRB/ddXPfmUdfstBFc+B9eTrrdkX5Xn7Z52Ny37DDxBoEoc+Wo6QlH Y/ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YXGZIJZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 22-20020a630b16000000b0055be458af24si20252pgl.183.2023.07.05.14.13.17; Wed, 05 Jul 2023 14:13:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YXGZIJZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233135AbjGEUL5 (ORCPT + 99 others); Wed, 5 Jul 2023 16:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231967AbjGEULz (ORCPT ); Wed, 5 Jul 2023 16:11:55 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA498173F for ; Wed, 5 Jul 2023 13:11:54 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fb7b2e3dacso11221369e87.0 for ; Wed, 05 Jul 2023 13:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688587913; x=1691179913; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lcVd66LGKDN5EYJvATzXLdn3h1LOEZrZslPujKR9gFU=; b=YXGZIJZ6nachVEuQzc/IZNo9zEXiYi+3qek3qmciqPadXYSqe6tdM6yFyIkxS4finp yToukamMSrKbSnNMEAQNsCT6gDDTZCMCzzSKsFMv94vgr3Cyfn8k1Nf3PpjfJFCsEFvz 8gDs0uKyi6Y2zhJogLFuuIQUsq/0k2Hf5F4zCl0XMnA8cgXNwZCpSja16LGLXCkyohjv GCadnX8Ipim7DjQ1rh6aC/TfpA645DjlTEU+Lg61ilNuklhe9l+SF29RMvGTjlqVevou iSCHZ+2vLEWgEW+OhOG0maqMfG+e/eNVQCQb2v2K54ii/WmYrHKEaNZj8SlWyOcZfFLk mX/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688587913; x=1691179913; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lcVd66LGKDN5EYJvATzXLdn3h1LOEZrZslPujKR9gFU=; b=dJh+1wSSVbZ+Fb7Iv4RJqXYXFvPHJkyroww8PItePvmYDCMvQTLV/+3t6o0429Fy4r cYIhIprFMK20v15c2n2wNb/3FFKXXUsgSTDvKbAbTuQ6S93zQc8wN9M67enhsqzKx8c0 yy52jhnjONgCKAntxjfejkKAxwTCMfEJvJDFEy68VEiXWniS6IGH+0yPbOEKCn7OkJ1R wLZz2pZQC9TWtwv9/NbheOmWZ6DqhKCCbiRq6kwqyIDV7P91efNRTvq1N0Gjzs1sRVja RB2fhndjRbNvwJSDaL5x5hGIUJ3muN+GsY67h9LACKCizWQUEffQIngMzJgOHk5QvHWJ X6lw== X-Gm-Message-State: ABy/qLZxz2Jix78mVBktydVjk2mZk9zCI1Qrs3X+66fX4LXryxAkmofp cz54AD9ZoHqZ2NFYLnUyw6p2y8eS4xS6TmGOC+Q= X-Received: by 2002:ac2:4bd4:0:b0:4fb:99f7:da35 with SMTP id o20-20020ac24bd4000000b004fb99f7da35mr65182lfq.15.1688587912764; Wed, 05 Jul 2023 13:11:52 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id z14-20020a19f70e000000b004fa35167729sm5488873lfe.159.2023.07.05.13.11.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jul 2023 13:11:52 -0700 (PDT) Message-ID: <26c7e593-7635-e96c-c21f-5fd2e5285281@linaro.org> Date: Wed, 5 Jul 2023 23:11:51 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2 4/5] drm/msm/dpu: Remove redundant prefix/suffix in name of sub-blocks Content-Language: en-GB To: Ryan McCann , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter Cc: Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, quic_jesszhan@quicinc.com References: <20230622-devcoredump_patch-v2-0-9e90a87d393f@quicinc.com> <20230622-devcoredump_patch-v2-4-9e90a87d393f@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20230622-devcoredump_patch-v2-4-9e90a87d393f@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/2023 22:30, Ryan McCann wrote: > For a device core dump, the registers of sub-blocks are printed under a > title formatted as . For example, the csc sub-block > for an SSPP main block "sspp_0" would be printed "sspp_0_sspp_csc0". The > title is clearly redundant due to the duplicate "sspp" and "0" that exist > in both the mainBlkName and sblkName. To eliminate this redundancy, remove > the secondary "sspp" and "0" that exist in the sub-block name by > elimanting the "sspp_" prefix and the concatenation of "num" that results > in the redundant "0" suffix. Remove num parameter altogether from relevant > macros as a consequence of it no longer being used. > > Signed-off-by: Ryan McCann > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 50 +++++++++++++------------- > 1 file changed, 25 insertions(+), 25 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry