From patchwork Wed May 12 14:47:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 435668 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5173551jao; Wed, 12 May 2021 13:46:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfCs/6pXerupWy3Fn8FSo+Z4T5TVSyE64qbGE6i0n5uSTYyP0HUrPc39pxQMGXaxYyX3TW X-Received: by 2002:a17:906:8a78:: with SMTP id hy24mr40158465ejc.39.1620852370388; Wed, 12 May 2021 13:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620852370; cv=none; d=google.com; s=arc-20160816; b=PA5YHU0ioysVqGvJlBXy9ZWO0NKbq5dmQeRS6HH4vpyTVZmetWXNtHFHy14GHCuwIK sY97V5mZA/s98lgX0IYJHTHK+b3Pw/BSbrceDiaM2NLh62bWImiJOR5fNnJ/3pxWD0xu C3gZE3E+RdrDrownoX8SpyYc1A0Ba1HnVPVdUQc9VbOdQyHNzZu1r4C32LiouzqRMf0W GkUhVK47NMcKL8FgimxUc3KV+fYMfZbmABO3jpk/NOZNOZh26eNN+/U5/BFA0J15HrQV NaTzS+VL368Qs0ynSbxFrhTBlcuRo3pqekRuW9W2Vyg6ot/v0a0f9objE5p/Fazf3R8G yGyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CugkVQt8rdbx4l15QYrioDiKgBn9uSxQRSkvSSNwMCU=; b=m+4OZvD8A609np5dCT33nMPnP8y7Ob4kOQWN6Jb15ivK00hMDwTRSRgsKuHpmSAk2j jUEROxGnA+wiLaRw+U6T0nMmaQTfSD3Sqq8KJKFWp+DMNMvDcsPYmOVu785m3R23Zezp moCW7GLCMkefL7DZbBsK2D01hYPGzpkcS6xB7TScp6OYnQCkQhEaf34Cc/4f3AlbVQuh mnGCb5nIgu0l8vNv36aUKTUt/lQRGygcFNaMV/sFI2rE9fxdYGC1yIv2MmJcQU7X+/wg fW2sE1qE+yY7PZDX9L3yePhzoXIss7q9nRxJCYurW4CHiul6D3LApRabStyUMwvAeE03 9Azg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zQs7tY2+; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si859013ejx.176.2021.05.12.13.46.10; Wed, 12 May 2021 13:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zQs7tY2+; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234312AbhELQxt (ORCPT + 12 others); Wed, 12 May 2021 12:53:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:35488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243723AbhELQl6 (ORCPT ); Wed, 12 May 2021 12:41:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D3D8F61CF5; Wed, 12 May 2021 16:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620835575; bh=JvBDpP3mmjc5PuCI5iA1DvKhvYE0lLnrakaqesy0jgk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zQs7tY2+h7/E8a8j6r+5q+nKBQrc1UOwHPJ7diUn9ICU7RoJz59NcRLI3HLcDDkVC NWKWeBMkcuSZ+2TjhbHsuuhQWy2e3iBm+ns2KnxqQw39zrkNxSldnWrT281fsUvi2A 4xb2hRq5P9zTUHSN2dqIKdmfPPT/h3I6i6ORKBpo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Baryshkov , Rob Clark , Sasha Levin Subject: [PATCH 5.12 399/677] drm/msm/dpu: enable DPU_SSPP_QOS_8LVL for SM8250 Date: Wed, 12 May 2021 16:47:25 +0200 Message-Id: <20210512144850.591686271@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144837.204217980@linuxfoundation.org> References: <20210512144837.204217980@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Dmitry Baryshkov [ Upstream commit 095eed898485312f86b7cb593da4f9cd5c43fdb0 ] SM8250 platform has a 8-Levels VIG QoS setting. This setting was missed due to bad interaction with b8dab65b5ac3 ("drm/msm/dpu: Move DPU_SSPP_QOS_8LVL bit to SDM845 and SC7180 masks"), which was applied in parallel. Fixes: d21fc5dfc3df ("drm/msm/dpu1: add support for qseed3lite used on sm8250") Signed-off-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20210318105435.2011222-1-dmitry.baryshkov@linaro.org Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- 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..e4444452759c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -22,7 +22,7 @@ (VIG_MASK | BIT(DPU_SSPP_QOS_8LVL) | BIT(DPU_SSPP_SCALER_QSEED4)) #define VIG_SM8250_MASK \ - (VIG_MASK | BIT(DPU_SSPP_SCALER_QSEED3LITE)) + (VIG_MASK | BIT(DPU_SSPP_QOS_8LVL) | BIT(DPU_SSPP_SCALER_QSEED3LITE)) #define DMA_SDM845_MASK \ (BIT(DPU_SSPP_SRC) | BIT(DPU_SSPP_QOS) | BIT(DPU_SSPP_QOS_8LVL) |\