Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1456566rwr; Wed, 26 Apr 2023 15:38:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78stjP1t1hkInjT8ttSEYLTwFWn7j09nOSGL5AymD9ThVPXzUzED0Yvy0H6bY05UX1pfYi X-Received: by 2002:a17:90a:8c8a:b0:247:14ac:4d3a with SMTP id b10-20020a17090a8c8a00b0024714ac4d3amr4414344pjo.20.1682548709074; Wed, 26 Apr 2023 15:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682548709; cv=none; d=google.com; s=arc-20160816; b=G9XYFugzWwdRlAYitL75ZIkNzDqKrI+KEQh/lXvrz4FcA1NrBdC50/9eJYr4A8BRF9 2hPEX6WmrIjzo78gv6QT7+sSF2eP062RW5UeX4dAxOuLURrXf5v+zHCFRIpFZU2jxXn+ M9rto2W2VtbOQ3iNdvt55oSG8R3diC3U06FkN3anQo8LHFhm2+cWNw/cAoontBM+p6mB j5E83RtsZt9Rf8axIbXoc809NDIT+1AUZJPv6I+7S1eKxDP7Ovsbt8+VRZl4BqpeTGri r3estDiszD6J4up+v3EAaAhj/xZC7TkH/PY3N7coSkwfJF9fyy2W1tgJRND6dcvTSA0g PcUg== 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=XO7z+OEPX5d65a8ENf3BWY9UvNj2C5WxXE4knCwm7c2jMk8pFyFY8+Nn1Plz5Zi/QP RokE463l2V/daC8k3c/0nY3qb29hw2o3ZTSgaRqnGFnhBmvN2FORAJ3D3Z6i+4JoOCj4 FF2JCgeAZuMMG8wHYjuCzymi0r/ru8VQ132w6SBOBLKjT06EjwQkTHeVT5RPRMSI0drL olu3uMORoSxUzRKyyALB0f9PebCU+beCpO2aP61G0A1kpNqH3P+mK92TaAA8j8+BNqTK yuOr72IZX2yHugb+OJDDUse0w+Vt25fGIl2mYwBmF1AtZc2Jj5vVJJLmNV1VgmRrmm5a aKNA== 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 i63-20020a638742000000b0052502825c67si11225601pge.387.2023.04.26.15.38.15; Wed, 26 Apr 2023 15:38:29 -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 S238466AbjDZWhr (ORCPT + 99 others); Wed, 26 Apr 2023 18:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234694AbjDZWh2 (ORCPT ); Wed, 26 Apr 2023 18:37:28 -0400 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [5.144.164.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABA1D3C14 for ; Wed, 26 Apr 2023 15:37:24 -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 9F4B42021D; Thu, 27 Apr 2023 00:37:22 +0200 (CEST) From: Marijn Suijten Date: Thu, 27 Apr 2023 00:37:22 +0200 Subject: [PATCH v4 08/22] 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-v4-8-27ce1a5ab5c6@somainline.org> References: <20230411-dpu-intf-te-v4-0-27ce1a5ab5c6@somainline.org> In-Reply-To: <20230411-dpu-intf-te-v4-0-27ce1a5ab5c6@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,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 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