From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 972A0EB64DA for ; Wed, 5 Jul 2023 21:51:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232225AbjGEVv2 (ORCPT ); Wed, 5 Jul 2023 17:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232133AbjGEVv0 (ORCPT ); Wed, 5 Jul 2023 17:51:26 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D6819A2; Wed, 5 Jul 2023 14:51:20 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 365LcXdL021329; Wed, 5 Jul 2023 21:51:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=UE29626+fp7ISBXnEldsyeFHc3tUv6LaexgBH92ZUjk=; b=AkVoQmpONp3uNjRnxQMzfAhs818rO8WQRhbnPZpclCPG9SL9wW3un+RvNlRcEabv53KY ybZYypoYTyv1hrkev7NsfXPd5UXmpvQgbuGuI5t2JdLCnTenL6ZW6lz/4cRdu4zG1uCp B7gal/B4oTst6pFZDGw6aaS2hGhoak7qbhYAaMA6Z48vpQieIUE38VGfvpBGlsz64fXV Xo/chfMSxmkOXwL/tAjB2ejAHBEIXKT8qjEx8Dd4DQyThIkdP8f90425DFGB83N6Kmd3 iV1l/3vWhKU5ESw5jAJMUcDIHjy9d64UlIq6j+VIdITsnvM2UD2Xww1Q6SfG0P6Ck7k7 Gw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rn5mfsncy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jul 2023 21:51:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 365LpDgw010971 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jul 2023 21:51:13 GMT Received: from [10.110.19.132] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 5 Jul 2023 14:51:13 -0700 Message-ID: <233a70fe-f619-3840-cbd9-bb6857d7b5a8@quicinc.com> Date: Wed, 5 Jul 2023 14:51:12 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 4/5] drm/msm/dpu: Remove redundant prefix/suffix in name of sub-blocks Content-Language: en-US To: Ryan McCann , Rob Clark , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter CC: Rob Clark , , , , , References: <20230622-devcoredump_patch-v2-0-9e90a87d393f@quicinc.com> <20230622-devcoredump_patch-v2-4-9e90a87d393f@quicinc.com> From: Abhinav Kumar 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-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 1PDDC_4xK1yaPSH54MAo9vjhJbE9TkWq X-Proofpoint-ORIG-GUID: 1PDDC_4xK1yaPSH54MAo9vjhJbE9TkWq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-05_11,2023-07-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 malwarescore=0 spamscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050198 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/5/2023 12:30 PM, 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: Abhinav Kumar