Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1057217pxk; Mon, 31 Aug 2020 08:39:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxayD34kPYOwwY4LS5pWV4cq3rRe13Kb3uFUTveciXP1Y3MQcoNup6T9kySZ1TSvt7KtsNN X-Received: by 2002:a17:906:d14e:: with SMTP id br14mr1037832ejb.299.1598888387786; Mon, 31 Aug 2020 08:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598888387; cv=none; d=google.com; s=arc-20160816; b=Pzu6oWUl3gSgl3kbAPkdTRpfH1I+i0wvu5bVxyorOlHOHwMhPjBZylzRdDFTRER7ut nJ4hu9Ld6pJy3iIaKSL9y0/Ycx6SnYNYl4vUbzmI0TJoRlzxRSXcJgpfQgl3jpFkl/dA +PZpDy9dpo2e6miJwb+gSSURfGOQl6gZ3fVIa+Osgw+wWhw4F9GpazzQeSU5NfJoFByX 4a+pOYlaj48culxtQPbm0WLR1uR1gXdAa4i97xn+QSIOVSMgIC4lNRCcfooEFBfbsgae XAvg5tSpA2soh8R3BuQcDHLC9t+7nqNST0XODRcy6xC4Rr0T4PEhfZlrk6DNt5EY2VnA Fx4w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FgkcR6CGSJ9JUO2Ix9WOcfq385W+T4ALjV8ScwmEqec=; b=YQ1QK55dIw4GP6IFQPQWBag4+hdCA8MpKO64VONeGKuJVb26zUIGmUCN7cmuM+G8+k 3GtwB0z97bYq7KzybwwAErBp5DqE7RgY5kRc7ivK8D66XHkUj0VM+hJS+Z3CZJm/SXZL YAZxbAVkD3upbsFlt4RWK8IexEchbDIPtqr8sVcek6025p1Mpfl6iHDPlFa5gqrMCSFF ZHMTgqn/JgVVwhgp+fMjN9nYIyTXHrmoNcwjSfQeT5qM0d37XtWHMyYLJ3oryETOH0Pb rakryhnaUTwxEJSRCbrn0UOxIpmE1JtOPnyIgyDxGg6FGqhtVU0+tM2OA4EV44VQj/0/ oifw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o7k1zZ9I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si5147773ejr.492.2020.08.31.08.39.24; Mon, 31 Aug 2020 08:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=o7k1zZ9I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729078AbgHaPhL (ORCPT + 99 others); Mon, 31 Aug 2020 11:37:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:39928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728649AbgHaPa3 (ORCPT ); Mon, 31 Aug 2020 11:30:29 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0CCAC206F0; Mon, 31 Aug 2020 15:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598887829; bh=eJeG5xJT/gGRtkMyOdssQU+oYgX6r/G8jIetuUHAuMU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o7k1zZ9I44A2czb4neETM+s+9zWYaPaAVg+d0W0BeLScyajEGXUu8qv9jtFFntA3K WFNtORpDvAibxUpjEtfrpC6Us6acXz85O72IXJfdjjR8KArrX71eYmqXddJP90NCMO uLV+FWpjBln3nSwBy33NhfDE8Gy1Ox3sWtxsbNuk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jaehyun Chung , Wenjing Liu , Eryk Brol , Alex Deucher , Sasha Levin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.8 36/42] drm/amd/display: Revert HDCP disable sequence change Date: Mon, 31 Aug 2020 11:29:28 -0400 Message-Id: <20200831152934.1023912-36-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200831152934.1023912-1-sashal@kernel.org> References: <20200831152934.1023912-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jaehyun Chung [ Upstream commit b61f05622ace5b9498ae279cdfd1c9f0c1ce3f75 ] [Why] Revert HDCP disable sequence change that blanks stream before disabling HDCP. PSP and HW teams are currently investigating the root cause of why HDCP cannot be disabled before stream blank, which is expected to work without issues. Signed-off-by: Jaehyun Chung Reviewed-by: Wenjing Liu Acked-by: Eryk Brol Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 31aa31c280ee6..bdddb46727b1f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -3265,10 +3265,10 @@ void core_link_disable_stream(struct pipe_ctx *pipe_ctx) core_link_set_avmute(pipe_ctx, true); } - dc->hwss.blank_stream(pipe_ctx); #if defined(CONFIG_DRM_AMD_DC_HDCP) update_psp_stream_config(pipe_ctx, true); #endif + dc->hwss.blank_stream(pipe_ctx); if (pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST) deallocate_mst_payload(pipe_ctx); -- 2.25.1