Message ID | 20240213150050.083de445@canb.auug.org.au |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-62924-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp314953dyb; Mon, 12 Feb 2024 20:01:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+fe7eraBHIwRHwJKpQgHkqM6YCqIV0ft5/IHffhlk0LFIuzwmm96BM7cNv0WLg8P+C5Fs X-Received: by 2002:a05:6102:c8d:b0:46e:c78e:3389 with SMTP id f13-20020a0561020c8d00b0046ec78e3389mr2849476vst.2.1707796875446; Mon, 12 Feb 2024 20:01:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707796875; cv=pass; d=google.com; s=arc-20160816; b=Z2jd0GpxE9YL3s+xPYHlIMMe1u+RdptDOfo/eAPJz5iZt4y0/qG0TW8j9t9fXkMauL BHHff67/aQ7zgsvgSF0I700CBIjX0JqaiGXDmPJMqS53QScWhuXTNZubhWPCt2UB7IWF 7dwYKx2ln1dyZHftXrUr9v2wewGxkIZXSMZgeBzYbvX5Hc90ae5A4jdKENoAEcg0dP/O R8/uKubxedT72ESjY7YXZQgz4/2MxN+Szgs3MBpEt6MAdBtO4knEOs4T1lHadl0fshD0 XENLDcXFuoWU8+4AcVCovKThxJ5u3YsHsVp2BQG9HHs7lc7io6GrOugxH05zLFzw+hVY rbig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=U7e6bjJ4gcVV8EkDfFLIjscTqmmc5dLgCvjZq5sqAFM=; fh=J7hGSVro0GvvGKN/QqKn0jawcEfXzCm+JrYAiNAAZkc=; b=LYbHpsRFyJwD08nG5f/1+MyeSEfg0eHgMKPvK8Gmx77boH6z1EEDrH+uiQ0qTspT9t yWwnvbPmkkS+QrTj7/abPo/zE/6gLa41ZQpEt3zIDQ3SMZ/Dme8V9wKfU+jDLVtqfUf1 fVwfe88zCjXAazV8lL0pEXfPwxRQsdnTI15Mn0T/rE1w5OHGZvRDUjOSxax/i21eWHDO 6xYDSoc1Xb2Pos/SCwN5V0Jt55jX8/5T44mLFR7U8TP5sUQBsCe+LWkQZzy0rYvoICye Tmih+jnVfLfZdJYwt+TwBBuNGvrqoLLnuwjDVgnDBa9fik0dyM0D153ypwhJu4HbxZD6 azcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=NeOlSrkf; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-62924-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62924-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au X-Forwarded-Encrypted: i=2; AJvYcCWtU7GsXI1Qw2jxdk5C+jHZE0krhjnhyltJeRRWV5y9xSUqX3V9ItkaUklWbuDmXgLb6XIzZYtJocLtX4nmgUAlORVnrA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s9-20020a0562140ca900b0068cb67aca61si1993192qvs.493.2024.02.12.20.01.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 20:01:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62924-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=NeOlSrkf; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-62924-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62924-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3EB6F1C22FC9 for <ouuuleilei@gmail.com>; Tue, 13 Feb 2024 04:01:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78056B66F; Tue, 13 Feb 2024 04:01:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="NeOlSrkf" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEFD5883B; Tue, 13 Feb 2024 04:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707796858; cv=none; b=EXKWXhjSAyJHBBmG5mG0ZeaNbBqEaMo6viZHAyvDxiCAhfA6EtM+y6kO/IaLRAEYlm2hciWSQ3AnFHx3zH8SRavaIvcQ01UFQndYssPTDE1e/rU4NKLd9qdHf4RHCN4MeaU2iAjZRouzLkqXOiwOcoiI2SrdMmaTXNsB+sIcWn8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707796858; c=relaxed/simple; bh=F4tlfjF4nqVUtVOK8guOWF4UjN0sf0A3zouGh4tn854=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=lVZtu7Ygdwj0uFFme9tZQDqIP1PU+P4Mj5JeaSpa+T+yn8jYE7Jc4qt2gz3NdylclRghZFdIxj02V514yyoSCGK05YcVac3g9nPHINgPPpG0LEg/uw7FiBzzc0rQnVcs71XXetvV6B3h38SozzE+T4JKgdzKbYAwvXYMMYYJ1JU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=NeOlSrkf; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1707796852; bh=U7e6bjJ4gcVV8EkDfFLIjscTqmmc5dLgCvjZq5sqAFM=; h=Date:From:To:Cc:Subject:From; b=NeOlSrkfJ3A9OaL6AYnjy72jxgeiZ+5AL5kHyNJqdsnjKI9YlhQnb4P16i+1FnZ5O Iq5/ee+ArboT64J3V+MM9lRra2/GKZirfZsmZw5iDJqTlpvVaVfZ3FKI/4LBFUJLdj +gBbLQVJhttexKJw5Cqagh2os4mJb3Tv+116cfBgIm2t0jGqapvXPoeNvY3+JQo/bT W+QvaKzJDfkresQlWofn/P8Ko5BaULJeQ0qtrp7g+UPoBCyvKInZBM/RvHvoTs614J fxcUyNHLT8eF/4PUX38Iz77JZjyKSlT88PXcCfVKRfsWxp2mRJtzl6nzPJ4mIuTxit 9iPIvmYgAgZTg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TYng80LGsz4wyr; Tue, 13 Feb 2024 15:00:52 +1100 (AEDT) Date: Tue, 13 Feb 2024 15:00:50 +1100 From: Stephen Rothwell <sfr@canb.auug.org.au> To: Alex Deucher <alexdeucher@gmail.com> Cc: Alex Deucher <alexander.deucher@amd.com>, Mario Limonciello <mario.limonciello@amd.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org> Subject: linux-next: build failure after merge of the amdgpu tree Message-ID: <20240213150050.083de445@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MOmPc9q=TglKLWRudsda02a"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790754816580105853 X-GMAIL-MSGID: 1790754816580105853 |
Series |
linux-next: build failure after merge of the amdgpu tree
|
|
Commit Message
Stephen Rothwell
Feb. 13, 2024, 4 a.m. UTC
Hi all, After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:42: drivers/gpu/drm/amd/amdgpu/amdgpu.h:1559:13: error: 'amdgpu_choose_low_power_state' defined but not used [-Werror=unused-function] 1559 | static void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors (and many, many more) Caused by commit c77536b15b7a ("drm/amd: Stop evicting resources on APUs in suspend") I have applied the following patch for today. From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Tue, 13 Feb 2024 14:41:05 +1100 Subject: [PATCH] fixup for "drm/amd: Stop evicting resources on APUs in suspend" Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Thanks. I've squashed the fix in. Alex On Mon, Feb 12, 2024 at 11:00 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > Hi all, > > After merging the amdgpu tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:42: > drivers/gpu/drm/amd/amdgpu/amdgpu.h:1559:13: error: 'amdgpu_choose_low_power_state' defined but not used [-Werror=unused-function] > 1559 | static void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { } > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > (and many, many more) > > Caused by commit > > c77536b15b7a ("drm/amd: Stop evicting resources on APUs in suspend") > > I have applied the following patch for today. > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Tue, 13 Feb 2024 14:41:05 +1100 > Subject: [PATCH] fixup for "drm/amd: Stop evicting resources on APUs in suspend" > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > index 2a3f12bae823..2cf4fb3f7751 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > @@ -1556,7 +1556,7 @@ void amdgpu_choose_low_power_state(struct amdgpu_device *adev); > #else > static inline bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev) { return false; } > static inline bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev) { return false; } > -static void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { } > +static inline void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { } > #endif > > #if defined(CONFIG_DRM_AMD_DC) > -- > 2.43.0 > > -- > Cheers, > Stephen Rothwell
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 2a3f12bae823..2cf4fb3f7751 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1556,7 +1556,7 @@ void amdgpu_choose_low_power_state(struct amdgpu_device *adev); #else static inline bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev) { return false; } static inline bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev) { return false; } -static void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { } +static inline void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { } #endif #if defined(CONFIG_DRM_AMD_DC)