Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13472199ybl; Sun, 29 Dec 2019 12:43:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxzz10hejg/BuxzI3Eqw33UHMoEmJq/S4PPp5LSQlW1oJb76uUT2H4ojVqMkab8dNXcY1oM X-Received: by 2002:a9d:6e03:: with SMTP id e3mr55076451otr.46.1577652214772; Sun, 29 Dec 2019 12:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577652214; cv=none; d=google.com; s=arc-20160816; b=TB/pW2eBbtOAacxqneLq84c28XHMCeH7mWRizHI8x2whvC+jdR4Ark04a3Mfcg6Jmu NLTltjUJ7TfFn3V0uAQniMscnbyLV5w5auFriqZHo4+WhdowTbr7PxDyjTBbZiuG96lR U099QOspvSEsrhpeoV+QNtQk9GNMVuFaB56NoXth5K+7jqvj2j18oOCj8uC/adfnYUqr vkpbtk3O4ANfYuL8cIGkK2e1X4zkdcH78JvbsZPl0y/MHZV9HtLY3Ck9lM8YgUC2hate GfNdnD+mZvWTldiydbyZwB8bfvfcciP4IWcH435Imy/aV+agymOEkaSTrLtFXuyco21R zbSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Qx/63ir9rAjqOZkHkAMw0nLeSnnzWFFquNi4F8QODm4=; b=XIn7sM7oRgZzdyeQX0hzS8CX4H1Rcq28R1bj2WWGxYPmvb3/LSiyuvLvvYsesJWSup tQF1O7zXG1ZzThUxU45Xne3Qx7yhI3GV7oNpY/BlmqHvKlHYI3+NRldi0ZWUF75jnG3e YVhCv/LDadbhDrq5juIA7ICoSw2K2BvudE7EwZTCWJe/p65uniGJ0zCcNpjVgjAhjg5m p1rV7qMqA1oUtwA32arYTxkVJnNx72htD2adarelVLKuR7I+MHYtbG1QsEueU6VTE+8Y Jj2WKYwNHXEU8WXAeh4q/rLJshslZ/+XBBu42f4XctQTQuhc79nzLopNw/KJZLcInWra mVZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dRfIHeTw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si4545628oia.236.2019.12.29.12.43.24; Sun, 29 Dec 2019 12:43:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dRfIHeTw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730555AbfL2Rnt (ORCPT + 99 others); Sun, 29 Dec 2019 12:43:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:51444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728940AbfL2Rnq (ORCPT ); Sun, 29 Dec 2019 12:43:46 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3033820718; Sun, 29 Dec 2019 17:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577641425; bh=i7pFDxDMxBxFq1gXluXcIXMqojXanOmX46ZyKYyuAJQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dRfIHeTwa8uGxTLVcbgvNqxN2m3NvES6yZQQ452KfL7sqeMGYpqLX7tZRwgTPfLrc m76Ck8SzTxMRa7ciuCnh8w5PAXDBzGoe5C17qAilJri4euUjhRwrS+0Ol2ptXwS6rs TOTKE1vZZZ0MobxMpIHgMwRmvZOPfUSUbNcavMhE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mikita Lipski , Leo Li , Alex Deucher , Sasha Levin Subject: [PATCH 5.4 058/434] drm/amd/display: Rebuild mapped resources after pipe split Date: Sun, 29 Dec 2019 18:21:51 +0100 Message-Id: <20191229172705.703095248@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229172702.393141737@linuxfoundation.org> References: <20191229172702.393141737@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mikita Lipski [ Upstream commit 387596ef2859c37d564ce15abddbc9063a132e2c ] [why] The issue is specific for linux, as on timings such as 8K@60 or 4K@144 DSC should be working in combination with ODM Combine in order to ensure that we can run those timings. The validation for those timings was passing, but when pipe split was happening second pipe wasn't being programmed. [how] Rebuild mapped resources if we split stream for ODM. Signed-off-by: Mikita Lipski Acked-by: Leo Li Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c index 3980c7b78259..ebe67c34dabf 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c @@ -2474,6 +2474,7 @@ bool dcn20_fast_validate_bw( &context->res_ctx, dc->res_pool, pipe, hsplit_pipe)) goto validate_fail; + dcn20_build_mapped_resource(dc, context, pipe->stream); } else dcn20_split_stream_for_mpc( &context->res_ctx, dc->res_pool, -- 2.20.1