Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3516932pxf; Mon, 15 Mar 2021 11:17:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywVdnU7EFLyn3A/ewyu0bFDzSE5VcJ5lfr2aiKf10CcXfsqyfPxnlh4GDxKCEghGyHTvXR X-Received: by 2002:a17:906:da0e:: with SMTP id fi14mr25946264ejb.188.1615832246652; Mon, 15 Mar 2021 11:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832246; cv=none; d=google.com; s=arc-20160816; b=w7h+UYpEY9myUD0gIvM9hjzRDRebMSA5N0RR3mTZAOBOyKmDIhf+OYVX7IGSoMX//I u2VbSbnF6DStz4WnFTQakk+2IHSrBfchHhSpWSSXuvobj98Eb+9gL368mgcrtQ/AHSPF FBz2YqRJviOAG/udzXE5iDyyGHMoCa7OM/W8e+y4KgKD5bGTGD976KTfExLGpcdsJ1Uj jYIBPJhUx7K4/cpuW0aXSTC4/VtoIYfoyUEd83/2TUP7lDFzk+2btwyl6skLdk+YCjM7 6UFD20nt9+zDGwBcvzsYaQjZ5KAjEhVDX/yn9aJ5MYozDCtIDCEbdGqx0UxaGVoj0uki 44Rg== 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=tM1i4UEI6eRWUHJup44YNI2DBuQHp5IcmZWmwmomV0M=; b=kZzIZqyZKeB/w09l9J2pyW6FOC8dFixZ6vHgwp4qXN7Pji9z1N248Xjv947hHjLQ6S iC0dxqJBwMUi3G+C6g7kMwkY/0t2Hmb+ddUJHVgqCiAsmUbXLy7pZf40tOC7juA7Q18/ BLq0DBm3gWQpwTqacbOJHGSpR0EoK9SW0rJsCMCmVO9L6b4wnLtskHlE7IWyZs0PcvCj xbGft3h+AAeYZ+WppwRmoWtGhU3u3G0a45SVtiMsp0cljOawfOMyiJn2BQB2o7yZBNvB uTYFIvJY6pbeJIuRfOQbWLRoaT8fiYizypshZ7rW5gj8EcYfsH6JoZG9JpVG5h0Jjcwz zrqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FmvlSqCt; 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 n3si11686375ejz.565.2021.03.15.11.17.04; Mon, 15 Mar 2021 11:17:26 -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=FmvlSqCt; 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 S231278AbhCOOQe (ORCPT + 99 others); Mon, 15 Mar 2021 10:16:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:37540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231796AbhCON7S (ORCPT ); Mon, 15 Mar 2021 09:59:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1896064EF5; Mon, 15 Mar 2021 13:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816740; bh=lTQct9n1IkwzD/7CujligHvcwD0gKA2pSJrTsueh8M4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FmvlSqCtdPV4LJ+6aH/tU6R5CGmaJtkj1QMq8MeEhjGDPARWfssXO6Y/+/DZF3MkF UIi75g8PDBvT3Bek8Z8DHYF2koRGJqo9wbnr7cc03tuDf0vy0Cq/xU7wGaa3WsJyhS s8fwh5awhDv2YQvS7/wawjFUm47YOHMgKLvmVrCc= 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.10 086/290] drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp() Date: Mon, 15 Mar 2021 14:52:59 +0100 Message-Id: <20210315135544.825773941@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135541.921894249@linuxfoundation.org> References: <20210315135541.921894249@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 @@ -1183,7 +1183,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();