Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp170840lqo; Tue, 7 May 2024 16:31:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrIUUWrQNabM+EUnNkRexVIIoLV98DveTDxy2L5Odl1Q5yzwC5XK6wsum54qp8ohBDOChWT9GtRQRhaxgcH+5QBTtE6A7vB6Rq2WjpJQ== X-Google-Smtp-Source: AGHT+IGNp7x9IzL8K8u5FnAIqUZ81TmJ3l7OzLZD33ST7tCwtAlZ9ZZ3TcNMp2b+9mMlRI+5LpCY X-Received: by 2002:a17:90a:7781:b0:2b4:39cd:24e1 with SMTP id 98e67ed59e1d1-2b61639b632mr1052424a91.8.1715124673104; Tue, 07 May 2024 16:31:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715124673; cv=pass; d=google.com; s=arc-20160816; b=oFpNOfWGiydycn5iZAa3mu9De6X9cToqDNS59w6pZJsBJyJR7piGMSvhHEXUik22AM GHNpfnV/yQ/bKuw7jExk2xBLjLFDRapzUzIvp4gs49b0hZUCfH6tPdoPPqSYve4gQcRb ofvVQaDEKZF33dGvpyNlDKtCn+2Tts+G/RdgoIHL949fjOpEjLON15q5U3+fEbgjVA+d LSMrGugSYEE0acAVPh2p1vvRfkkLeRuk66cApFkTZjpLZFGg9O8UYHSAdWZv1536tNe7 /ceDN3wUXQhzQFKbQLfvI4f4BNofBuJvY0E6x/mzWlLiEtDBiz/IdLEEkdCOxvV2a02p h9Hg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Y+JcLbEnN3A+1i64wzGxH3BbAKdRmzTocP7jS9Z9+tA=; fh=m2mTVU03aeedDaiX1OAeLa56eb27NZQQ1iAIxbv9cWs=; b=zdmtwuYbPiWvl0QZ0/xgxTaFxcsXqc+y2XkFX2Bug/WIO2IAA7O0saaP0PIQCNlhy8 zydUWgKKIztSBVW+dXuKAj26tmLV3q8xTwbPdN0aXer7udIb0iA0d3RPSwB+pwBtDhe9 5Bd1Rhl4Gw/Zc/Rq5aghab8ypO1wun+f2ECiU+cgRRTm/pbxuyGc3DuD0LC1xU7n9AxY EMn5b6H93lusbESHfS+RU9v9U2zrClIird8wEcbGTPjkKB/Bf9wqGTVy5bf+YTC8wI2j hwuClEK2auYBDojdsnBWDBMaVQYs0olLjfmYAPgUWPrplX9VyVMaArBNgtEwQfCweLGo br9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="d/IQbY8l"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172379-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b628fc6287si124752a91.146.2024.05.07.16.31.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:31:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="d/IQbY8l"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172379-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B82DD281AD5 for ; Tue, 7 May 2024 23:31:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8942135A4B; Tue, 7 May 2024 23:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d/IQbY8l" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBE9213541F; Tue, 7 May 2024 23:09:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123359; cv=none; b=iuYSnBjLezGMH8Uogi5OnAp1XxDD9T2A83rwnJm9U+ZsmWC/uMNoQTPN2W1uOsmmYSS9Smhtdyzs2cXynbAempK8mkIziMNTjRWv8ZMBRgs1JzUwVrPdBqtaVK2/s7EJbM1uSs8iS+j0dCFud3ndZMoqAMgxt9OjcQqRGnaCE1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123359; c=relaxed/simple; bh=p44Y+LH/bsiflr+JnfeoUYJ7VALrebZAbNd75cLgEZs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uDKu441g7z7pyvYH/Gy4Ro+TZpnYXKmYPjGZ05rPg0ivaG/G6TjKXfMdOOU/WTu3koTdgXT46mPZRzk8Efvtj21Y/UsbpePzSoy+iMZhX9GjCOKLnfGPlDdVpEyxwsvttr3KJd0PlB1uzP9j3VG7psRlz+MV4a9mk99Y5uxvZmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d/IQbY8l; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CD76C3277B; Tue, 7 May 2024 23:09:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123358; bh=p44Y+LH/bsiflr+JnfeoUYJ7VALrebZAbNd75cLgEZs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d/IQbY8lEUhKKIg224EDCKPwTTtdWte28PseVzEFSPMBTzBR/isgaH2z81THa0i2O X/I/TSik6b0ae+kwPWidulFyrYINl1Jc+3FsdzeuHrSbJurQUK0NFetdiRJS4I3YAQ NfC0aK96A6s6uPRGviXTxicqOu/zBZhg+BtZ8TAy2kv59isoFEABklYuPjlkLOjVRx uDJ+FpjZ+iXfvEYXG38oxNLDKOtmiD2DoU6ZePkymOACvK3hbFCxcU/9NgsZ1W/yVG pHh1QzhHw42UH9dImYzRAAXVXu3+X7Yddz/4M5Kir+6Jz9YnRzDDQp/zFyi77dz+G2 JkpngDO2DGjVg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Rodrigo Siqueira , Aurabindo Pillai , Daniel Wheeler , Alex Deucher , Sasha Levin , harry.wentland@amd.com, sunpeng.li@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, wenjing.liu@amd.com, hamza.mahfooz@amd.com, jun.lei@amd.com, moadhuri@amd.com, trix@redhat.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 6.8 36/52] drm/amd/display: Ensure that dmcub support flag is set for DCN20 Date: Tue, 7 May 2024 19:07:02 -0400 Message-ID: <20240507230800.392128-36-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507230800.392128-1-sashal@kernel.org> References: <20240507230800.392128-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.9 Content-Transfer-Encoding: 8bit From: Rodrigo Siqueira [ Upstream commit be53bd4f00aa4c7db9f41116224c027b4cfce8e3 ] In the DCN20 resource initialization, ensure that DMCUB support starts configured as true. Signed-off-by: Rodrigo Siqueira Acked-by: Aurabindo Pillai Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c index f9c5bc624be30..f81f6110913d3 100644 --- a/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c +++ b/drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c @@ -2451,6 +2451,7 @@ static bool dcn20_resource_construct( dc->caps.post_blend_color_processing = true; dc->caps.force_dp_tps4_for_cp2520 = true; dc->caps.extended_aux_timeout_support = true; + dc->caps.dmcub_support = true; /* Color pipeline capabilities */ dc->caps.color.dpp.dcn_arch = 1; -- 2.43.0