From nobody Thu Nov 28 13:52:04 2024 Received: from mail.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 8878433E7; Tue, 1 Oct 2024 01:38:34 +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=1727746719; cv=none; b=KTseCJsEJ1XFNs5+zNZQudTpySYC5mrqllCq84+mPokMe7MVgmqe+TPtQWyQbt2D1HbzYyt6CbslpJZyfLX5VulZCwF6Cjlmzl/Ivfl+/wweHCLKKRYwSeQgrXsrIX81gnfS6P6dNtdVSjbdzjxLOepPLbn2tixlOb6eKYNIt+Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727746719; c=relaxed/simple; bh=AN5CojhuEy8hzDgnpDjiIxIhnBEgTKQA5UgQTuxnr18=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=H5uFY4Gpx7vxjS//CZxJWnh0/PlKk75oPZiC5FuHfNPl70MZtIi4TWpVpRD4NVNzRoF+uJKBO6iBihi9rheO1dfNNMr2sRiQnoe19j7i64Yo+l89BjaaVdjXaB4bbt8F9/URIsrLYspjAvxKq2DjclFzQOnfu6dg0rSmZ1pz5p0= 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=S6gJRfsV; 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 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="S6gJRfsV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1727746712; bh=7AJU3cM5clBinSxqOdEFLA7CLsu9mIr7mYElmD4jpFM=; h=Date:From:To:Cc:Subject:From; b=S6gJRfsVMBjeXX39wf0sFrYNyNM8bkz9tQ73G9D9Ecc0PcFIfrYyXBljNBKn/+ADJ 5M8qRvYV0+KPFuMWhf+YHkurv7geHvCWiEHJidTZklxepWDwsY3Xx/aXCX7ChG2C6B gI5W1+0/w+0isKWOnFqIa9flPLmnBDbDHNjf/0m8xZqpIkPvJ/13Tcweuj5A2IO63N Y2mP2JEyoX7KCc4iJvWur2c1grfS92POS6xyuVkvwG3xniRmJUXoKf/e13dFocR0bX JjwGPoJT/sqFm96gvNfk8o5rWETEUORYNfIUGDs/oxzCd+2JjUWOYLcj1bnqg8fnpa Hzq64DEAQ2Amg== 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) (Client did not present a certificate) by mail.ozlabs.org (Postfix) with ESMTPSA id 4XHgZG5llRz4wd6; Tue, 1 Oct 2024 11:38:30 +1000 (AEST) Date: Tue, 1 Oct 2024 11:38:30 +1000 From: Stephen Rothwell To: Lucas De Marchi , Thomas =?UTF-8?B?SGVsbHN0?= =?UTF-8?B?csO2bQ==?= , Simona Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi Cc: Ville =?UTF-8?B?U3lyasOkbMOk?= , Maarten Lankhorst , Intel Graphics , DRI , DRM XE List , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the drm-xe tree Message-ID: <20241001113830.4ff4d3e5@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9mfbDZ=TY.A9jZJ4sWb9Wd/"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/9mfbDZ=TY.A9jZJ4sWb9Wd/ Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Hi all, After merging the drm-xe tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/xe/display/xe_display.c: In function 'xe_display_pm_shutdow= n': drivers/gpu/drm/xe/display/xe_display.c:382:27: error: passing argument 1 o= f 'intel_dmc_suspend' from incompatible pointer type [-Wincompatible-pointe= r-types] 382 | intel_dmc_suspend(xe); | ^~ | | | struct xe_device * In file included from drivers/gpu/drm/xe/display/xe_display.c:24: drivers/gpu/drm/i915/display/intel_dmc.h:22:46: note: expected 'struct inte= l_display *' but argument is of type 'struct xe_device *' 22 | void intel_dmc_suspend(struct intel_display *display); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ Caused by commit 501d799a47e2 ("drm/xe: Wire up device shutdown handler") interacting with commit 5c30cfa295cc ("drm/i915/dmc: Convert DMC code to intel_display") from the drm-intel tree. I have applied the following merge fix patch for today. From: Stephen Rothwell Date: Tue, 1 Oct 2024 11:30:00 +1000 Subject: [PATCH] fix up for "drm/xe: Wire up device shutdown handler" interacting with commit 5c30cfa295cc ("drm/i915/dmc: Convert DMC code to intel_display") from the drm-intel tree. --- drivers/gpu/drm/xe/display/xe_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/d= isplay/xe_display.c index 957ae763531d..ca00a365080f 100644 --- a/drivers/gpu/drm/xe/display/xe_display.c +++ b/drivers/gpu/drm/xe/display/xe_display.c @@ -379,7 +379,7 @@ void xe_display_pm_shutdown(struct xe_device *xe) =20 intel_opregion_suspend(display, PCI_D3cold); =20 - intel_dmc_suspend(xe); + intel_dmc_suspend(display); } =20 void xe_display_pm_runtime_suspend(struct xe_device *xe) --=20 2.45.2 --=20 Cheers, Stephen Rothwell --Sig_/9mfbDZ=TY.A9jZJ4sWb9Wd/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmb7UpYACgkQAVBC80lX 0Gxe8Af9GC2HLN+iD7eWl5fVq5mGoFpjRcByK7GJ24ry3qKhxOjQCuwSm8fBWi9s QrZOFShUXufLUJmUO4tCrjI7C+qFKbegIyLMHYDR2kVXqus3asFkt0sVgoR769zm 6N2QNrra2p8AP8HE6tZ1TmunD6XiOspHItiyudb/+WFVJEiwlA+opFEuBQpmWx+n AJ243TnFoc+7Ht/Gn6UI3uz49hwuhIE7sDvUjtp6GdIPsofNX0BIt3qP8tcz6DZX yttEXSGnLWw7Loe6fcMjeVYx6SGplO54owBbq4WINrhmwU4FCPjeXtOFOf7E2VZ0 RiO2fgr7o1zKnLPUKr5SJB8FJ7FM8A== =bMbn -----END PGP SIGNATURE----- --Sig_/9mfbDZ=TY.A9jZJ4sWb9Wd/--