From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D377C2D0A3 for ; Tue, 3 Nov 2020 15:52:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C266722264 for ; Tue, 3 Nov 2020 15:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604418736; bh=7GFto6PCuVrMeEMcvAgLZW3UrWA3Ncp03xMSkMLMi0w=; h=Subject:To:Cc:From:Date:List-ID:From; b=tftyKa97vEYN/ZnWMSSfjBlE9yJEm4jc6jKUfn/geel/YyE+CkrV9KFgMzhaeAanZ Z4OKGno2N3wbncs3/Qp2ZVL+guGYyPcR9RQBH9zyyxRHsd4/1E6/hQJwFcBQNOORlb exnkbVP3B+M5aWCMYFJmneOzoJHLgoinfRdUkz7o= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbgKCPwQ (ORCPT ); Tue, 3 Nov 2020 10:52:16 -0500 Received: from forward3-smtp.messagingengine.com ([66.111.4.237]:39731 "EHLO forward3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbgKCPwQ (ORCPT ); Tue, 3 Nov 2020 10:52:16 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailforward.nyi.internal (Postfix) with ESMTP id 05FAB1942D4F; Tue, 3 Nov 2020 10:52:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 03 Nov 2020 10:52:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=E8MqS/ rkq0Z9Wvj7TrjBf7DQ6tzCXbgBbMMJTqESMog=; b=VQjqjH+r3ZVJk4a8FdUHIt MHn1WPeN8FfSgExPJDb8dZJ1wI+5+KoL4hTqxk9wpY1e3Se3RY80pKBDFric4xxc VCk/idbhNY8NfKwnwa2kK71rMzzKtWQ/Pj0u4vrBk7INqYeZ6MUDCY4pmRceeIlf 0MU1RJO3olwJdcPnLMSgLIlNuFeFR+EYaSqCMYybLIO+1mHLR0PmR4wiyZ0KBwnp F2w8tTnsnwj97vm8q0ExA33/3e1fP3w0bxMSvpNLyvnaLaScXewLGD/1aJzZ55Qe Xk/Td8bOhFGBTc9LIzxMIoDWLvvRurk9EV7CPQ1SNgCPAN9wlNzgy8ZVDirjS6DA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtfedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhorhhtvggutfgvtghiphdvucdlgedtmdenuc fjughrpefuvffhfffkgggtgfesthekredttddtlfenucfhrhhomhepoehgrhgvghhkhhes lhhinhhugihfohhunhgurghtihhonhdrohhrgheqnecuggftrfgrthhtvghrnhepieetve ehuedvhfdtgfdvieeiheehfeelveevheejudetveeuveeludejjefgteehnecukfhppeek fedrkeeirdejgedrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F59D3280067; Tue, 3 Nov 2020 10:52:14 -0500 (EST) Subject: FAILED: patch "[PATCH] drm/amdgpu/display: use kvzalloc again in dc_create_state" failed to apply to 5.9-stable tree To: alexander.deucher@amd.com, alex_y_xu@yahoo.ca, aric.cyr@amd.com, nicholas.kazlauskas@amd.com Cc: From: Date: Tue, 03 Nov 2020 16:53:08 +0100 Message-ID: <160441878847175@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 5.9-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 0689dcf3e4d6b89cc2087139561dc12b60461dca Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 26 Oct 2020 10:25:36 -0400 Subject: [PATCH] drm/amdgpu/display: use kvzalloc again in dc_create_state It looks this was accidently lost in a follow up patch. dc context is large and we don't need contiguous pages. Fixes: e4863f118a7d ("drm/amd/display: Multi display cause system lag on mode change") Reviewed-by: Nicholas Kazlauskas Signed-off-by: Alex Deucher Cc: Aric Cyr Cc: Alex Xu Reported-by: Alex Xu (Hello71) Tested-by: Alex Xu (Hello71) Cc: stable@vger.kernel.org diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 1eb29c362122..45ad05f6e03b 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1571,8 +1571,8 @@ static void init_state(struct dc *dc, struct dc_state *context) struct dc_state *dc_create_state(struct dc *dc) { - struct dc_state *context = kzalloc(sizeof(struct dc_state), - GFP_KERNEL); + struct dc_state *context = kvzalloc(sizeof(struct dc_state), + GFP_KERNEL); if (!context) return NULL;