From patchwork Mon Jun 28 08:50:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 467985 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3777331jao; Mon, 28 Jun 2021 01:50:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPRhbDWN2PSbuc43iYr4DSH/RGUF9DgCZHancnvNylqRaYmTmhFnJPWBoZyxA8KjFy5Uut X-Received: by 2002:a65:4903:: with SMTP id p3mr7682156pgs.402.1624870257441; Mon, 28 Jun 2021 01:50:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624870257; cv=none; d=google.com; s=arc-20160816; b=hs9Y7tlS5cOP4zRNfskoLnS66uaKB7fq/lFkeFEktkXrWkFfzvkMEXXfcXvWZNf5dL WcXYgXCguIaROWJ/RHLRWhhOfTWyOYvMuvzhRIZbgYl+ix6/4YAIJYW8bi2JuqieKMAI 8suWmSbecmP5BLQc4EvJXV2qa5nG8RsTpLkRvRp7PGyHs/odTZpGc63WpBFLsDC4qK+Z TsadPaPjVhxAbHmGXCWkUt9wHujZ/zENUgz9UzoXvdnqTua4g5t57CE1pVYU0aZa4/2D 131kk8fCLhidQSSkCLfwPbDuvUD5zOi63eJ3gdvv597PfNY/uDqQVHe7eraz24d+PP92 /yLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=ivMWyakmLeaYuI23t/O2pRde3mjJQDvPIshj9I2/bxk=; b=D3215hlDU9PdgR0cIToTOgrryUAbKv6gLGX1yGCBeO7bnE81e0W6/NXeSvuOGlIl8s eWACFj7y1g8K+RWA4Kf0835CZn9bzNK68lXBuPWtLphHDvN0TC015LNVuUK4U6HBT6bs rJ/X6YYryqx68Sch9yvoaJCrn1zwG5jyPlwKwRSh/+6gohr8CI2Xypd3Nqncz05YtS7C HR/f7HgwR74mCZyI1ErdHu5d2WSXHjV4HuksnQ64s1tyqlBtdxtKf8GmkJvd7WhM59Zd /9KrvPx6k2YJtUyLy5865/lCnX+C85MVy7cp8eHVshysqiK6jEYmCq9/rDAlofJtMJCe pIag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U5RttCDI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id c185si16627523pga.90.2021.06.28.01.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 01:50:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U5RttCDI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F4FA89F45; Mon, 28 Jun 2021 08:50:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id E8A7989F45 for ; Mon, 28 Jun 2021 08:50:54 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id g7so15633347wri.7 for ; Mon, 28 Jun 2021 01:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ivMWyakmLeaYuI23t/O2pRde3mjJQDvPIshj9I2/bxk=; b=U5RttCDInB3rDob0B5Dcq6/Xyhvc9wz8sZ8N+wWaNMXZOvdChN7mX6a/FDT7jGGO5B Km08kaThC7gGa7Q83XjZak1i6z/RUGIPGFY6Et94LmQhCb/TH3SyeqANgL3dLiju9Gb0 oSy9HN6XaHnxH34/zes1RTu2PV04E6PCf+iVrePfIvhosLHN4um3c6ZNYTUzQIJ8EOTR 6VLle0zILlHPxBxIVW6mNzi7UdE4lqdQd/NkPjeOKZvE5y4huA81pvsVgRCU00UEsFow +NVfKlCppBxpRDEcNt9jpnTQ7XpYM9ZVZPcJESh+dYu/1GpjO6hLNa3Qs9nkbVwhsbj1 EQQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ivMWyakmLeaYuI23t/O2pRde3mjJQDvPIshj9I2/bxk=; b=uap6kfrU6In8QL7W4x3EIIMCrWDho08lNwpjBVlqMSEs9rwrZNQDDFvRQpVVKq8poh Nf9uZ8FG7p2kNUJp+ZPvX8DGAglVEL0zBBZYM7HvK2kn7HIGUjafUt3NKqPVyPgWVQhk XjmpRDCHRymCWKiaTwdElmbgMDpuU/lTRu+ORMXCoktSett68mGu6S54AZR0Y2yBR5UF /XIinkwr39pYaxtqku5u7+pgrefLasAbIiZktw8cGSHMQoXGJdcidcyxuAbrSVkM8BwI 5RBHpZftYVbb6u0fsL8lLisOY1CmiBDsKu10oys99oaxVe3W8Tewy33axyCJih1Wls9q 9iQg== X-Gm-Message-State: AOAM532PLhshqPEDErChGwgSXR7N6ZMNQIfrfqDxSb/hcpTzHozHi99c xQxQBarfrLHHgyomUeRlGAaNAA== X-Received: by 2002:adf:f384:: with SMTP id m4mr25707885wro.12.1624870253640; Mon, 28 Jun 2021 01:50:53 -0700 (PDT) Received: from xps7590.fritz.box ([2a02:2454:3e5:b700:b773:c98e:f11:e83f]) by smtp.gmail.com with ESMTPSA id j35sm7379565wms.7.2021.06.28.01.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 01:50:53 -0700 (PDT) From: Robert Foss To: robdclark@gmail.com, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, jonathan@marek.ca, dmitry.baryshkov@linaro.org, angelogioacchino.delregno@somainline.org, lee.jones@linaro.org, kalyan_t@codeaurora.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] drm/msm/dpu: Fix sm8250_mdp register length Date: Mon, 28 Jun 2021 10:50:33 +0200 Message-Id: <20210628085033.9905-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Foss Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The downstream dts lists this value as 0x494, and not 0x45c. Fixes: af776a3e1c30 ("drm/msm/dpu: add SM8250 to hw catalog") Signed-off-by: Robert Foss Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.2 diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index 189f3533525c..5d30c7f33930 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -244,7 +244,7 @@ static const struct dpu_mdp_cfg sc7180_mdp[] = { static const struct dpu_mdp_cfg sm8250_mdp[] = { { .name = "top_0", .id = MDP_TOP, - .base = 0x0, .len = 0x45C, + .base = 0x0, .len = 0x494, .features = 0, .highest_bank_bit = 0x3, /* TODO: 2 for LP_DDR4 */ .clk_ctrls[DPU_CLK_CTRL_VIG0] = {