Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7601294rwr; Tue, 25 Apr 2023 16:07:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bmV5MsSC/xO5a4IHiamHHmvhm+sP34eq6MfQAUcytdpyq83cklF0sRAMSVGE1Pb1E6R8sK X-Received: by 2002:a17:90b:3147:b0:246:818c:d8e4 with SMTP id ip7-20020a17090b314700b00246818cd8e4mr19375261pjb.11.1682464028041; Tue, 25 Apr 2023 16:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682464028; cv=none; d=google.com; s=arc-20160816; b=H+VIZg022W+WvmRt2PUZSk5etLLtDBKPfoVmvKw61njyUT/mg+3SutNrHpozhgX/W2 CuFWmldCFa18ARhyWf+FZfmBm9YRHNySZ/DOLNWmjTh5VdqnP3gawZkzGh4M/0DMzs9o wSYZbDwLuRa75CG7eH0TwXNWjS+1j1eP/k3G3TEmGUzJNBYFctJUm25KTuScNsKQKLYh p30qH+6VGafC1qWtzwcrZsuiTEpcv14YShkAt9MZrQMk/6Sl5GhU800642a91VhIgfoe 7Ay3zIOj3Oo03vvnzk6tTMwjqhdMQNCtiok8c/iEC5/Ha/CjBlarjqm2Sjuj9VLoHlEg etkA== 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=wwjLT2FBVADmwkiVRyg0LBOeaTfdTlUYBs95CqfgeJY=; b=j5Pj5isc/3wdwNw2qyF/RcnQQGrVkSumcSo1d3sYjc2v2NYb37GSFmyb23ymW2VW+2 ZGGhCW4x5VR3IMrXYlz/il2A9tGuxtbp5RWq8xL0GHRGqbLsmWfJLszJgMH/25Gy/x30 QQucnJ+WImxH5aHJYEbjKB2qhK+EGYt5xUlGCB0ZuJj0cQSWCH2+s/ETyknH9hNObicH V+c7ax0DLtKj4K2h3B6NkQ6EJ+4Nd1goJfPFVEPrM4AbQot9U/wEfqNXTJU5garlUd68 hq0kwEV0Nz0W1C/HZVw8aGKbmaAo36APvWRe3Ka0WjVOMu58Dy5UVH9K/lZfn3xnHkfQ /fPQ== 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 na14-20020a17090b4c0e00b00246b8a3079dsi18601287pjb.92.2023.04.25.16.06.56; Tue, 25 Apr 2023 16:07:08 -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 S236423AbjDYXGc (ORCPT + 99 others); Tue, 25 Apr 2023 19:06:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbjDYXGL (ORCPT ); Tue, 25 Apr 2023 19:06:11 -0400 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [IPv6:2001:4b7a:2000:18::170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B46B219 for ; Tue, 25 Apr 2023 16:06:09 -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-r1.th.seeweb.it (Postfix) with ESMTPSA id 08B721FA5B; Wed, 26 Apr 2023 01:06:07 +0200 (CEST) From: Marijn Suijten Date: Wed, 26 Apr 2023 01:05:58 +0200 Subject: [PATCH v3 07/21] 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-v3-7-693b17fe6500@somainline.org> References: <20230411-dpu-intf-te-v3-0-693b17fe6500@somainline.org> In-Reply-To: <20230411-dpu-intf-te-v3-0-693b17fe6500@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 , Neil Armstrong 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 , Jessica Zhang , Marijn Suijten X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Reviewed-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- 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 84ee2efa9c664..b9dddf576c029 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.1