From patchwork Tue Feb 22 03:19:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 545034 X-Google-Smtp-Source: ABdhPJycrBcoBoeDaWoviN4VB5fvEFVNhDBdDkK7jhl/22vhbYsUQYks0y/QysPJ+KM5zBRvfY0A X-Received: by 2002:a17:90a:5302:b0:1b9:ba0a:27e5 with SMTP id x2-20020a17090a530200b001b9ba0a27e5mr1958529pjh.91.1645499994991; Mon, 21 Feb 2022 19:19:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645499994; cv=none; d=google.com; s=arc-20160816; b=CffL3yD9ozEaJNGfUQW2TQTI42gCYQMEGINS2Jf9f2Y00mNqPp6RjrKMJaktnNKsxQ HEZsOov0QEHRuMr+Lsg7+E3zqn+xQibeno6DFKCBDmsRAKO6PgSUBvp2Z2kXNDeDft7q 25aL4RgpK6vh4fmLWs2tUl9nJ2auQkiXVoji06TYBDVCojxlbnVZeDk+YsW2g+yZ1KLr gVjgRuObszDSfb8mOmnc23vr2XylXawStjtw8Q9XbrjqwujtqweZ422XrkkBQlZALhZe 3ezvhSLPdWgs890cWy2WyRwoxT3MZD1MIc/BLvwLXhHaPE4Q/MsyfvOP5GUithkR7Ohm Q8ng== 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=MqEJ7t7d9werCkQI1i6URimb2OKfZ9/v1747LLNARQ8=; b=MnF0+QmXhsxLykwZKQegYLmrk/wvk3PuZrTElDbSKVq95CKK1ihf8Ysm8NAU5Sxy85 udkPaSo6vDWDpjvhZ54twzbYmLWjTxyiOBp+mpkW5bRpoZhPsO7TnMSzO1Q/gDi/Zet9 jQ5QId/uB+PfoSfhHuLDEX/CovpwOByIR2cDkhGs4HUDZID5ng+qUOQxLxCGHx6+wjHl icMvHO8vTf9x4k5IEzgbEMesJHjkziotcxikxxnjCR2oXxnLRMw0EhfN5lnKWNnXprYy EpC/ijLAd4K5qoOIixYkPRj9cn90Ma+TXege8RygkAXbh+K5uIzCcbkdsTeuhpOPjEA+ DANg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="eaq+M2/o"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id e11si933554pjm.117.2022.02.21.19.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 19:19:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="eaq+M2/o"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (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 27F1110E48C; Tue, 22 Feb 2022 03:19:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by gabe.freedesktop.org (Postfix) with ESMTPS id DC20710E3B5 for ; Tue, 22 Feb 2022 03:19:51 +0000 (UTC) Received: by mail-lf1-x136.google.com with SMTP id e5so22117805lfr.9 for ; Mon, 21 Feb 2022 19:19:51 -0800 (PST) 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=MqEJ7t7d9werCkQI1i6URimb2OKfZ9/v1747LLNARQ8=; b=eaq+M2/o7/EOmqg650t6Y2efxNnE4TBhKbwtMwTAbalatlqM5dCywCQa93hUwKjVZm 39nDltp5gBGWmmtCQEvTvse+WZgN06zCGtxeL1Tl0U9FpphqWpDMubrHjZTkTKnGqvWy 12IBeZHC/4nqxb0GvkJJ1EY3u/yBrwwjcwj3bsXGJjVKCF5F6MlGeIyBCcSDtj8j7s28 jO+0s/IPpc8nRlUJw3vsi6CLRIxuAXOVqmak8F65LYEgjFxCq7vH6/BsrRZn8WmXNecT /C40Py+taAG6zLRQdmv8yyDRWI9xMxpyrrDdYE1XFYhEvycst3D0Eo91PxPsQM0zWXrI 91Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MqEJ7t7d9werCkQI1i6URimb2OKfZ9/v1747LLNARQ8=; b=sOIPiBTOtqNkVieIpHXNQYrmezcflELEQmD5wwcaXjRP6VVROp36v1GtpiKsoUTHFm j8KSebdKA0kqNYpc+k6gD8HC7X9IVvKWddla6KieSx6MLLXrAhSffvYlNWod7LksmLK0 ZL7YJ0AlGFPJYckCLZuQO0a7VCC7ets6xYpIA1IDuiCRTD4d0Y8woh4bAUQo0KZ52QEo OM1fgc902i//eehu4xvYHWSo2UiI+vi2TRuBsAsdbbR7ksFjE0YNZKe0XCNVZ4ceCPb+ 8HZ3+S907fzFWwrDymIOZZP8JkP2zD60w0gMMVX7CIqnm9gFFgOo4TTSeqy/LHCypq6s k7kw== X-Gm-Message-State: AOAM533dKt1LXqIVBmKYUN+5Q4KAbIvH3QoLmE2L1nHuFT41nC3Eac4/ AQ/rRZE1rmoBjhtSTYXGxRzk3w== X-Received: by 2002:a05:6512:4022:b0:443:4cd0:1d67 with SMTP id br34-20020a056512402200b004434cd01d67mr15898913lfb.511.1645499989973; Mon, 21 Feb 2022 19:19:49 -0800 (PST) Received: from eriador.lumag.spb.ru ([93.92.200.201]) by smtp.gmail.com with ESMTPSA id v11sm1271997lfr.3.2022.02.21.19.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 19:19:49 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH] drm/msm/dpu: wire up MSM8998's DSPP blocks Date: Tue, 22 Feb 2022 06:19:48 +0300 Message-Id: <20220222031948.228727-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.34.1 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: kernel test robot , David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , Jami Kettunen , AngeloGioacchino Del Regno , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The commit adding msm8998 support didn't added msm8998's DSPP blocks configuration, but did not use them in msm8998_cfg_init(). Wire them up to be used for display post processing. Reported-by: kernel test robot Fixes: 94391a14fc27 ("drm/msm/dpu1: Add MSM8998 to hw catalog") Cc: AngeloGioacchino Del Regno Cc: Jami Kettunen Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 ++ 1 file changed, 2 insertions(+) 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 aa4d20762ccb..f74bc7acd901 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -1496,6 +1496,8 @@ static void msm8998_cfg_init(struct dpu_mdss_cfg *dpu_cfg) .sspp = msm8998_sspp, .mixer_count = ARRAY_SIZE(msm8998_lm), .mixer = msm8998_lm, + .dspp_count = ARRAY_SIZE(msm8998_dspp), + .dspp = msm8998_dspp, .pingpong_count = ARRAY_SIZE(sdm845_pp), .pingpong = sdm845_pp, .intf_count = ARRAY_SIZE(msm8998_intf),