Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1783192rdb; Wed, 20 Sep 2023 22:00:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzMvQ5AOyDGBhtHf2/C6RhewdgRJzQjHc7EEgTQY0HPczKd/DDtjaN3jL0+37X5UbDm7ge X-Received: by 2002:a05:6808:d4d:b0:3a0:41d4:b144 with SMTP id w13-20020a0568080d4d00b003a041d4b144mr5221473oik.1.1695272412676; Wed, 20 Sep 2023 22:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695272412; cv=none; d=google.com; s=arc-20160816; b=J4JVR+X+V+PjNeEGXcvul8DsEEuRLWyJxBTJubNadqXdYWtq46nvzkpWoBeIOOEWv/ zjnRETikbaHLbbY3EXwBW0tt0nKOKOKh7c7hNSYbQtXsPm0bm4Exy3X+gccbO3GLWMTu hgIUSpMFA5eiB1x8Zt6eBE3YXdTKhv6FIOaGhvJUSbIaXGkI+zhPkBfh2J3dFkpQkpGF TgtQ1sP+VrBwcVCN5hJrMQNJbGM3zGljlZYN4MyN7yebBkDFQunZ80wakbIGQyRzygg+ V2dOjvkOUiD5f+aYgBodcTJSUG/zf/Sg3Mx0ZNGrTQBAYmNBvMe1wimteJrsvg9YbGXc cBhA== 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 :dkim-signature; bh=fEG5QbTle/wsryhp0cJXy9R4gVUkkTUcGpE6xI5qCmE=; fh=bZJe4FgiQhOv9m9NV7yVQBRVZe79B6HAzRSFfZMOxHo=; b=FOfLJm42R436Dn64U21k4SmbwchBm0Ynet8wMvW+1bF15Vb+bdmlb1ta05QttJjyem n4LoRgaXdG8uPf6fQUowh07hvrwnvJGZCyhBHYTbzOw2k47Zbequei3rcseQMst0IVuR fKmY4PBYC9FrQt6ycLS1yFkwQWYxNUKjeffZTN1YgT+gi4oIN9Xlm1h2eaC8rvbnRdrr HjlX4GThF0DgVWWLqNkErQU0Obun+I4sCRNbq3E61acoB0wEq+d+lVDJ3J9r7Ka7IyZC 1PSSaIS3qpHbZjb9fV3r1eVn+QDdLhpAySYIc8FoYlK0+NFuDIYcbgHdmcdVbfMsn9gJ z5CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cePh5Hz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id s3-20020a637703000000b00578086d1387si636856pgc.74.2023.09.20.22.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 22:00:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cePh5Hz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8C592829F67F; Wed, 20 Sep 2023 15:46:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbjITWqT (ORCPT + 99 others); Wed, 20 Sep 2023 18:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjITWqR (ORCPT ); Wed, 20 Sep 2023 18:46:17 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81862D8 for ; Wed, 20 Sep 2023 15:46:10 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9aa0495f9cfso322362566b.1 for ; Wed, 20 Sep 2023 15:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695249969; x=1695854769; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=fEG5QbTle/wsryhp0cJXy9R4gVUkkTUcGpE6xI5qCmE=; b=cePh5Hz+BHbiiLOYiRopSbSf/v25ZrNmcgYLb+FWY1E97H6wlQD1GekL+QWLrxkftT oFwXDw5TDU6i/OtzniFhKygqFHjcepvI+CBJkRfTBnQvc+3L+fpGGrBGfkDNr9EdK44i SNXaVTkDbluKLusB4nPpXPYGtIXC5Mg96tcT1903XXEe0B9I1qrfmtBpwi5QbTVVkVh/ Hhoo8/F4BWXRQz+WZ3mhiRv0xTBpdVvLQAOSOPw4SvOqBfo457AvSamETzPKyyHDl4SS 1IalEmAaMNuSZs1h7ltVtu3s44B1FxWZMfbB/x/STeGIv4XZGaNXbP+hPTqnjadwFPDS CNvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695249969; x=1695854769; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fEG5QbTle/wsryhp0cJXy9R4gVUkkTUcGpE6xI5qCmE=; b=Bd2h7REIhwO+c0xHleQpvlSrb4JVZIjKyhYsfPyRKEHhP4NFjB34VWiNAv7vA0uSrM LYVq6JwMiXRgYWqnYhxSKo3clgVtOWhoZa+D5mkH4f1x5s7yevezJ7yCPEvnTYPudwjp l/50artCcxMTE1r1B978QUVg28yUZTL2V+GP0CX/goTRIC7u9B/ECnKQEmXEUikmPkcF IzOUEp02LYXgxCcTvQLUw0ACUTfeRgyYusxO69U3xYaW8E1HTy2iONMK1pSABZCMmV63 bCArv5Gf9CFgff343YPLVSv49vcGtWAYYNxQ/2Ei7bwxHXQZnR6HAnvpZruFwnGg5AEq +0ZA== X-Gm-Message-State: AOJu0YyF2hnj55SOqMgoSnRln6ufDc5ZLUETRV264QAXNdIur2oJ8rFF wcnPzuMJBVe/wBXDpMVaWwCJHQ== X-Received: by 2002:a17:906:739a:b0:9ae:37d9:8043 with SMTP id f26-20020a170906739a00b009ae37d98043mr5990977ejl.31.1695249969069; Wed, 20 Sep 2023 15:46:09 -0700 (PDT) Received: from [127.0.1.1] ([217.67.225.27]) by smtp.gmail.com with ESMTPSA id z23-20020a170906435700b00992f309cfe8sm118285ejm.178.2023.09.20.15.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 15:46:08 -0700 (PDT) From: Konrad Dybcio Date: Thu, 21 Sep 2023 00:46:06 +0200 Subject: [PATCH 1/3] drm/msm/dpu: Fix SC7280 PP length MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230921-topic-7280_dpu-v1-1-6912a97183d5@linaro.org> References: <20230921-topic-7280_dpu-v1-0-6912a97183d5@linaro.org> In-Reply-To: <20230921-topic-7280_dpu-v1-0-6912a97183d5@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Kuogee Hsieh Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 20 Sep 2023 15:46:19 -0700 (PDT) Commit 194347df5844 ("drm/msm/dpu: inline DSC_BLK and DSC_BLK_1_2 macros") unrolled a macro incorrectly. Fix that. Fixes: 194347df5844 ("drm/msm/dpu: inline DSC_BLK and DSC_BLK_1_2 macros") Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h index 3b5061c4402a..dc3198335164 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h @@ -126,7 +126,7 @@ static const struct dpu_dspp_cfg sc7280_dspp[] = { static const struct dpu_pingpong_cfg sc7280_pp[] = { { .name = "pingpong_0", .id = PINGPONG_0, - .base = 0x69000, .len = 0, + .base = 0x69000, .len = 0xd4, .features = BIT(DPU_PINGPONG_DITHER), .sblk = &sc7280_pp_sblk, .merge_3d = 0, @@ -134,7 +134,7 @@ static const struct dpu_pingpong_cfg sc7280_pp[] = { .intr_rdptr = -1, }, { .name = "pingpong_1", .id = PINGPONG_1, - .base = 0x6a000, .len = 0, + .base = 0x6a000, .len = 0xd4, .features = BIT(DPU_PINGPONG_DITHER), .sblk = &sc7280_pp_sblk, .merge_3d = 0, @@ -142,7 +142,7 @@ static const struct dpu_pingpong_cfg sc7280_pp[] = { .intr_rdptr = -1, }, { .name = "pingpong_2", .id = PINGPONG_2, - .base = 0x6b000, .len = 0, + .base = 0x6b000, .len = 0xd4, .features = BIT(DPU_PINGPONG_DITHER), .sblk = &sc7280_pp_sblk, .merge_3d = 0, @@ -150,7 +150,7 @@ static const struct dpu_pingpong_cfg sc7280_pp[] = { .intr_rdptr = -1, }, { .name = "pingpong_3", .id = PINGPONG_3, - .base = 0x6c000, .len = 0, + .base = 0x6c000, .len = 0xd4, .features = BIT(DPU_PINGPONG_DITHER), .sblk = &sc7280_pp_sblk, .merge_3d = 0, -- 2.39.2