Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4647124rwe; Mon, 17 Apr 2023 16:30:44 -0700 (PDT) X-Google-Smtp-Source: AKy350a/kd66cXyffBqWBj3kM8KGRiUAVF3Q9ZbRejVCzau15tPPyW//UCotx3f3de3XX8Xz0azi X-Received: by 2002:a05:6a21:329f:b0:f0:a8e7:6dbb with SMTP id yt31-20020a056a21329f00b000f0a8e76dbbmr139991pzb.44.1681774244389; Mon, 17 Apr 2023 16:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681774244; cv=none; d=google.com; s=arc-20160816; b=HUemY1pwMEt2wpO54KwPAtoGt+S8YkJs5uCt8ulU1oE35zj6hkUQ+FhOm1anI3IeNj us4zb2zdgY5VMsVmxMA+aTgc08gR6B9FFQxnag45W4cJWY/hqEXWvl/Nnq/jPXSD8sGP nUOZkoxAFwMM6y8Kh5yhAZf1VnZJtORKvK9P5DC5MlveY3uhMLpZznt4uCA4A0cWAzjW 25diXGO2PS15Au+boTNLvalYzI2QIo+GI3PQQw6U2QOc4aKf2DrimQo96nI9F6PRMQm5 q1iyTw2N9O2erNzOAdPlKaQqyY/FM3xdmQRl/ad2ndtL4A190G5ytn4MsezKlEi6HIoG PpmQ== 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=pSG4wE3q4USSJSgi4jKXv6RvRaZCUZmAQCFFV2MU1j4=; b=uC11r2YDBRjPQBj9VInE5ba139aOYWb/pjxVLutmk6MYMXmxZGOEl+sog9WyOtHgWZ QfGlWez8LFACNTct7uWIveFICxUaifmEmjCjF/ybGd1P8TqVOjd551kWhl2DTM/IJ6OG cpKUdhL5I/71md0NjsozhbahSrdsDwIl29wAy9XXuhuohck7DWLRZZD+9HoC0rzB0UE7 97iNsuoMjjr7iGWoxERfsYFMEDjaU3YSUPRK6kLvVluStptv+swAHkw0d1zuIMCc4qPR Gq6pPPrja2VLPo2WX5DZvYo3S4WkcHuM2OYlDSsDdFzLDcs3ElNPFNNB8aJzStLi4m2r kvew== 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 e70-20020a636949000000b0051b9a1e823csi6360984pgc.137.2023.04.17.16.30.30; Mon, 17 Apr 2023 16:30:44 -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 S230256AbjDQXO1 (ORCPT + 99 others); Mon, 17 Apr 2023 19:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbjDQXOV (ORCPT ); Mon, 17 Apr 2023 19:14:21 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [5.144.164.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2500040E5 for ; Mon, 17 Apr 2023 16:14:20 -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 1B6093F8D1; Tue, 18 Apr 2023 01:14:18 +0200 (CEST) From: Marijn Suijten Date: Tue, 18 Apr 2023 01:14:17 +0200 Subject: [PATCH 2/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-v1-2-b9897ceb6f3e@somainline.org> References: <20230418-dpu-drop-useless-for-lookup-v1-0-b9897ceb6f3e@somainline.org> In-Reply-To: <20230418-dpu-drop-useless-for-lookup-v1-0-b9897ceb6f3e@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, 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=unavailable 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 sysfs. Fixes: 84a33d0fd921 ("drm/msm/dpu: add dpu_hw_wb abstraction for writeback blocks") Signed-off-by: Marijn Suijten --- 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 db5e6040017f..f33b48045b5c 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.0