Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9746rwr; Tue, 25 Apr 2023 16:40:16 -0700 (PDT) X-Google-Smtp-Source: AKy350bXENvltdkE6Y9p/wMYTzo29YiDbYz/fWEUrcU0XRkhTOkVkzAKE8mpkUI6S6PRYTcxru9S X-Received: by 2002:a05:6a00:1681:b0:63f:3aac:78a6 with SMTP id k1-20020a056a00168100b0063f3aac78a6mr16251088pfc.9.1682466015960; Tue, 25 Apr 2023 16:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682466015; cv=none; d=google.com; s=arc-20160816; b=SSy5SUgyPvqEoXNEdz7kp8hIujpufzQs35709JNhacIp8SrNntNZF8RW/2pd+i0TEb XR4mTsoJv0T1aJ58f1R0eg7sG+p/4a3jdPYKg+TeqME1Z65MB5y8jChqjSytE4weJVso 0isZtrtrM98vDIEP7f0J9CcurQd17PqfJJ1XldlK5cL3Z6QvVatYn9Sg9x7QS0jlTJgt CpBGOdszHzUk3foFwNdAis2chXdW9uEN8QVkZTeTdys3cj8RFW9BSWDnJIBHaR7zGjI0 6BM7GHn4cAUfQ0Sv1vdmuBqyKKXc1nZvLgION8hn7R63ypFK7uYPuy8MB7pIJ70s8XUt hQuA== 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=mSnqEgRVsT/Qn9oG3LJB3g9CjV61ujUFj2sl6G16gM4=; b=nU3Z8r8ZIZd6DJCpVoImUKmMOKq/bDRIOUwhG/nKSgWL5B9OkThI5WluWlnTMDo368 N+5Rc8S+hZ5EO6EZ9vsQDScBIk2WypWS3udPYJY/n0I3t10MARg7Rc4ugaMgySbE15Rc j8yhglC4IkyLjn3uJbc8A7X63G7picEsSs10fznjul8vBrGQMLgxVb3GwrmNFWcrCdB5 mlorgj1fatRtjBo8umLfFvgv7RcgnZq5F8cVeTcgQ9koVUypnSGN3MuvR3Ca8f4OP0GE kTwWplzUCJbOmpLEPGiS6Tm7JyLTst6EnHrbU6g+dNB+FPKkrxGbIbsVGvUnurwMl11l YR6Q== 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 y10-20020a63fa0a000000b005001391ef6bsi14496936pgh.108.2023.04.25.16.40.02; Tue, 25 Apr 2023 16:40:15 -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 S236394AbjDYXMC (ORCPT + 99 others); Tue, 25 Apr 2023 19:12:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235048AbjDYXL6 (ORCPT ); Tue, 25 Apr 2023 19:11:58 -0400 Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [IPv6:2001:4b7a:2000:18::165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F32D146C1 for ; Tue, 25 Apr 2023 16:11:30 -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 A8B511F88B; Wed, 26 Apr 2023 01:11:09 +0200 (CEST) From: Marijn Suijten Date: Wed, 26 Apr 2023 01:11:09 +0200 Subject: [PATCH v3 1/3] drm/msm/dpu: Assign missing writeback log_mask MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230418-dpu-drop-useless-for-lookup-v3-1-e8d869eea455@somainline.org> References: <20230418-dpu-drop-useless-for-lookup-v3-0-e8d869eea455@somainline.org> In-Reply-To: <20230418-dpu-drop-useless-for-lookup-v3-0-e8d869eea455@somainline.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Jordan Crouse , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, 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 WB debug log mask ended up never being assigned, leading to writes to this block to never be logged even if the mask is enabled in dpu_hw_util_log_mask via debugfs. Fixes: 84a33d0fd921 ("drm/msm/dpu: add dpu_hw_wb abstraction for writeback blocks") Signed-off-by: Marijn Suijten Reviewed-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c index 2d28afdf860ef..a3e413d277175 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c @@ -61,6 +61,7 @@ static const struct dpu_wb_cfg *_wb_offset(enum dpu_wb wb, for (i = 0; i < m->wb_count; i++) { if (wb == m->wb[i].id) { b->blk_addr = addr + m->wb[i].base; + b->log_mask = DPU_DBG_MASK_WB; return &m->wb[i]; } } -- 2.40.1