Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3518189pxf; Mon, 15 Mar 2021 11:19:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwakN3nb70lZi1IBw4jn9y5qmu/gmeblBi1b8CDNW8a1lowBuZ9rB9u8xBhWy0+6TfSRNZS X-Received: by 2002:a05:6402:5189:: with SMTP id q9mr31202754edd.168.1615832367866; Mon, 15 Mar 2021 11:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832367; cv=none; d=google.com; s=arc-20160816; b=pYIycZBvp9gGa8VfuZYuwNP2MtGd0mWh6+gZSOPruqs5nFmpzD8+eMnHZ5CdTWoO7D FKCTp7vb6Q15he6eAoT88lT3rnsTWtQlqn8Q+BeFjynJRzHjAgAF1BpzxoJHW8RYpRJX 6tOvzfgSCd7wM80pRCmdalHXLLBbXbm8C0U1KMzej2zJ7rwEyRRfBnLTeH2UfUSsc81l mHmOM7JyzGvWspL9V/C++tatKHKTl71rj87uS8yq1ZTudhio2D7kVlRs6VlYJSGIePB3 fo36k3N4PZOaK1v0CBUahYT834VlkSY45+b7aiKWmtyOnzUuF/69Os6/Pd2rCdNRA2JF hsXg== 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=CsH2OkcQJ8BF6EjSpHReiKijzLRL0BUYsjGG/U7BzdY=; b=jZ2a/8xIpCh3bVOV4Fmcs9qAoHLv39FPQAcBxxJUR5D6dzraXm61r49ljX0PYbC/Pl loz9BIPajJXsEU4xkzn6X6FWDIp212Lq1aREHZaJEMNSDSiGH004fjQQTRqgU6MjsGby iucWrzxPE1T4Bn3bsqSC9Ncp9CDW70cVEuNsPYpTOVsx1yWclsKFi2+ODsv347D2mpf1 lnt/DMYFpO9HgAbQf1vfZ7dKFAhT9Zmr5p90cltJS1o8gSPxcXKSaHYzvyf8YZztas02 bIsz50SkwqvScHEd2nhoFhVaEUix6kg6RTaoRZI+Hp2FoSE9SgTvbVlMUNe39Etzr5Ej GCNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mZ01b064; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si11100956ejx.42.2021.03.15.11.19.05; Mon, 15 Mar 2021 11:19:27 -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=@linuxfoundation.org header.s=korg header.b=mZ01b064; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236891AbhCOOQx (ORCPT + 99 others); Mon, 15 Mar 2021 10:16:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:37582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbhCON71 (ORCPT ); Mon, 15 Mar 2021 09:59:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4A7C364EFC; Mon, 15 Mar 2021 13:59:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816744; bh=PpJpq6lO0f0eIEG/gMBMzKLAUhs+xt+RqfBDWzUW1Ww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mZ01b064OwcGC8dNRvwnpOuA4qYDfW2zwieseDwB4C3sa7OX+Tfai5+2onzZk+F2e Hn1dzA/6YAm1/t83q2UMZbShefMSTG1iZ50keLLc0nO5Fkfw+PNdpGCmcYcJqr/78s S0ZJGrzVrfDevXEP8885I17HUkqDPsCNnwcc1l4g= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= , Alex Deucher Subject: [PATCH 5.11 098/306] drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp() Date: Mon, 15 Mar 2021 14:52:41 +0100 Message-Id: <20210315135510.966455932@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135507.611436477@linuxfoundation.org> References: <20210315135507.611436477@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman From: Holger Hoffstätte commit 680174cfd1e1cea70a8f30ccb44d8fbdf996018e upstream. After fixing nested FPU contexts caused by 41401ac67791 we're still seeing complaints about spurious kernel_fpu_end(). As it turns out this was already fixed for dcn20 in commit f41ed88cbd ("drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal") but never moved forward to dcn21. Signed-off-by: Holger Hoffstätte Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c @@ -1339,7 +1339,7 @@ static noinline bool dcn21_validate_band int vlevel = 0; int pipe_split_from[MAX_PIPES]; int pipe_cnt = 0; - display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_params_st), GFP_KERNEL); + display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_params_st), GFP_ATOMIC); DC_LOGGER_INIT(dc->ctx->logger); BW_VAL_TRACE_COUNT();