Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4480587rwe; Mon, 17 Apr 2023 13:23:22 -0700 (PDT) X-Google-Smtp-Source: AKy350YGMeBakco3oncGdn752wK6CJ/PJOLnJKzruQePb2fuOH0HEa5XKeAD2J9AR+nzcIfO8xpP X-Received: by 2002:a05:6a20:4286:b0:f0:4664:ad53 with SMTP id o6-20020a056a20428600b000f04664ad53mr3128572pzj.48.1681763002387; Mon, 17 Apr 2023 13:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681763002; cv=none; d=google.com; s=arc-20160816; b=hF+9H2QEZoWeiZMvReugDyDuOq1H9d+mharbp1W2/vpFLIlI24jQXMyfZ5R1K9gMOD 4dM5wn7YyR0JTR2Gw9f1hsycb5G3fjcuNiySi3xGcQcOIM6BOicAo3Sv/XVfVOSNZJxx 7TkdQ6GRKVLwkKWV0r1UltfBL0ESKrbIs0wUyw0b9MnUh1aJ8BbRjqrT2RdHH8ZiVD2l 1ewy+XCa7qfTNyX/9fMsAERxeX/wd9ETZnvO/6xuq2sb4O6IfNci8JAgkN1rdFhFWoFv kOTuymuaMwCAANKilEq8QpPIag1UQKKw8j/Bd0L/X6Jbd2LQ1deEBnkiFaNa/p6o0zX7 /GUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=WoRtMWI2u90D6CQ/iKWvPBMkW9MBENupTwH+7WmO9qU=; b=X8ZqPNDOzaYmwZWRJGMEnhAPB8DBj5UKA4OLnoMqb87j2RCjY53hT867TjJ13I8/Xf DwF8sJ2wfw6IURC+8gVzoZ3jskgsTP40eMAi9z4Yv8/ODO/kPVUKeI/QviH6Jre3rCaW piX9udU59z9XxnxMZZavO1IXT+qq5sAvwaA7C/VeAOgfR20u1a9yqE9DZYGpbqDlf7Js 3gqRCbOFJfVAg50LS4ZtiVwspxU6ZXHpTkZLeV4YJ/WV6OOXx9O6J1DwcES+fOna2BA1 qvVaJpmbxq5OF6ziu1iwEKriG9/oMBoS2C92EEf2mVY/Zva18nIQVBrrDj8GKHCf6on/ ryIg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s63-20020a632c42000000b0050be799a2fesi12509099pgs.672.2023.04.17.13.23.11; Mon, 17 Apr 2023 13:23:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjDQUWB (ORCPT + 99 others); Mon, 17 Apr 2023 16:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230000AbjDQUVu (ORCPT ); Mon, 17 Apr 2023 16:21:50 -0400 Received: from relay06.th.seeweb.it (relay06.th.seeweb.it [5.144.164.167]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A72621723; Mon, 17 Apr 2023 13:21:49 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id BDD083F8A2; Mon, 17 Apr 2023 22:21:46 +0200 (CEST) From: Marijn Suijten Date: Mon, 17 Apr 2023 22:21:44 +0200 Subject: [PATCH v2 05/17] drm/msm/dpu: Remove duplicate register defines from INTF MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230411-dpu-intf-te-v2-5-ef76c877eb97@somainline.org> References: <20230411-dpu-intf-te-v2-0-ef76c877eb97@somainline.org> In-Reply-To: <20230411-dpu-intf-te-v2-0-ef76c877eb97@somainline.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Adam Skladowski , Loic Poulain , Bjorn Andersson , Kuogee Hsieh , Robert Foss , Vinod Koul , Rajesh Yadav , Jeykumar Sankaran , Neil Armstrong , Chandan Uddaraju Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jordan Crouse , Archit Taneja , Sravanthi Kollukuduru , Marijn Suijten X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 The INTF_FRAME_LINE_COUNT_EN, INTF_FRAME_COUNT and INTF_LINE_COUNT registers are already defined higher up, in the right place when sorted numerically. Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Signed-off-by: Marijn Suijten --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c index 84ee2efa9c66..b9dddf576c02 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c @@ -56,11 +56,6 @@ #define INTF_TPG_RGB_MAPPING 0x11C #define INTF_PROG_FETCH_START 0x170 #define INTF_PROG_ROT_START 0x174 - -#define INTF_FRAME_LINE_COUNT_EN 0x0A8 -#define INTF_FRAME_COUNT 0x0AC -#define INTF_LINE_COUNT 0x0B0 - #define INTF_MUX 0x25C #define INTF_STATUS 0x26C -- 2.40.0