Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp54011rdh; Tue, 6 Feb 2024 19:12:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZoPAW06ZGfSxVeeNfTYJzMqWXCq2GdVR7AF1ax4BsbSsKNCdsw0JGqY8V72AWvlQkZMAB X-Received: by 2002:a05:6a20:a104:b0:19e:9f2e:c478 with SMTP id q4-20020a056a20a10400b0019e9f2ec478mr2858034pzk.8.1707275559067; Tue, 06 Feb 2024 19:12:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707275559; cv=pass; d=google.com; s=arc-20160816; b=IsA3FuLw7R5T/AOuscU7yrD3LLyygaA4naGW9NYri6hZxLEgTCQd2JSqQdtdCaKlDj B16YMpMK0dVVuBL3/fBXLvstpkEsjdO04OZMufl56Cn6ksZZZ0x4eEHocebvjCHDVmu0 YXcTNTBed9XGp45+TrvJgEdHCNqUugU/jISP+1HHTNH8PpnOD7iVS18Bn5mC7Qe5Iw2x q8jMhr26aqqzmKlA6BD3lf+I4sJ/Y6zz9iO1j3N+nE1C5tXtGi67XG5fRwG0wz11QcPE JDqiBzMzFy3wiX47F4Lwy0q4sP20Cf5ptW4sxIHTdLAYRXmxmjizY5PaKiaXeqrvGdEW 64Ag== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=m2IP95JMxveFFleg+ObudlZMqaQ8gm6KHoaDb35aFKI=; fh=jBEl5lfAuVU2GWlhZ225jaAaE5k3mDRzl3PI8NyKpfY=; b=pLTyCv5LFqvXynzDgxe/WvqLQj+mC5iI63E/pytVdpbWzm/Gm8/CELSgJHJhn0NFvI V2F8C2ntluiUJNrEvQd3pEV9uk1Ynmdwpe2+0Em+gFL4G/MjaZJ+fZlWQH0ojXT3mgzc ZC7cLjvp91RS+p/S5VYML6hp4sCneTG+UXvKnS9kf88oEeNGiFLdODcSviBa3uFhfgKI tU1LLgx7t9K64Af2XCscnIcWaRi2IQRVlgOCZU0m/RS3n/Wa3p2gYGUo8g82wAVmxK6H GwVjyEkutF5g0sTar1+bD4NAUThIye1owJi8S2kXcCnMiKIDprjMIj2KDsD4uh2ruUeY GM3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="oOx4/ocs"; 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-55863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au X-Forwarded-Encrypted: i=2; AJvYcCVibVZGd4vzoow2Y1rd4/DTuB9BUeCW+QOM3d28Tgdocyha9RhGKstGBMhfCiwW60Lp857cYfrQAyMlc1FYBA9UO7azKs5CA7Xj65jU0A== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b21-20020a6567d5000000b005dbec19cdd1si400812pgs.511.2024.02.06.19.12.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 19:12:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="oOx4/ocs"; 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-55863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55863-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 91ED2B26A19 for ; Wed, 7 Feb 2024 02:46:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3742F1CD21; Wed, 7 Feb 2024 02:46:12 +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="oOx4/ocs" 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 3EF331CD1B; Wed, 7 Feb 2024 02:46:05 +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=1707273971; cv=none; b=aYmWRN832KVCyG+N08xdsO9MIxUhxVGHVcIbuddZz+d3wQ4KD54DlNlENTlsFn+fIs07sqhWknTwgJyib7ZG/WPUAJj4JkbVBOP0r1QKFM7pPHnfHAuxgHaY/FPVqKfuUZxjWgIOS0QoMtYFBqg7++nsKPjTMBjVU5fGVGQAHeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707273971; c=relaxed/simple; bh=ZnVcTN40JzNoOsOtf2qwDdITExDSdDJm8AwzlIj5vWE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tDdBBhLTwMjf4xO88otb3zgZoetff+G8hQuF/yziphJS73/t9akd7q2QjB0KNdWHiosF3Kzu3CoKgAsmCUb3DBFwZ+MSpXvv+QRaNSJDC0SY1H8jVuYeG+Pd/+g2qKJeyQ0/pwfRBF8dK7QbWrD28AYFzWqNwUeopyXeWExJUXk= 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=oOx4/ocs; 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=1707273963; bh=m2IP95JMxveFFleg+ObudlZMqaQ8gm6KHoaDb35aFKI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oOx4/ocs8S0lWgpb3QhHNdFts+H21JtLfPIcuExLd/OXS4tM25Sa6zNHlxuGhrsp5 nRBoA132+HaKTuZTX1plfj4v3R4946hkF7X9xnFVCVPGcjU7J7YIWTv4k9wW6mCNBS PdJq/lHsIvBAscyROOTICm3vGmN9NTBPmU0kLLGK9ttnCQTK1hbNvUhFIj32y9YWcX aK/uMPXr8DhCReWnIv4lsUkHVPGyGLi0t3oNuM345KH6L0QhwnqvAUMF6vnJWp3G8J sVJqlQwUhyqMVjuNy2yqFSMnPYOmnO56qe+XDpmeMYYMhPDLimFj1STh7yst0m/GO0 2QFfmEpzbnaIQ== 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 4TV4HZ6lWPz4wcC; Wed, 7 Feb 2024 13:46:02 +1100 (AEDT) Date: Wed, 7 Feb 2024 13:46:00 +1100 From: Stephen Rothwell To: Daniel Vetter Cc: Matthew Brost , Rodrigo Vivi , Christian =?UTF-8?B?S8O2bmln?= , Somalapuram Amaranath , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the drm-misc tree Message-ID: <20240207134600.5ab91ba8@canb.auug.org.au> In-Reply-To: <20240206122822.12a2df89@canb.auug.org.au> References: <20240206122822.12a2df89@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_//rg3B1F4UH/_d07_M7NfKGO"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_//rg3B1F4UH/_d07_M7NfKGO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Tue, 6 Feb 2024 12:28:22 +1100 Stephen Rothwell w= rote: > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: drivers/gpu/drm/xe/xe_bo.c:41:10: error: 'struct ttm_placement' has no memb= er named 'num_busy_placement'; did you mean 'num_placement'? 41 | .num_busy_placement =3D 1, | ^~~~~~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:41:31: error: excess elements in struct initiali= zer [-Werror] 41 | .num_busy_placement =3D 1, | ^ drivers/gpu/drm/xe/xe_bo.c:41:31: note: (near initialization for 'sys_place= ment') drivers/gpu/drm/xe/xe_bo.c:42:10: error: 'struct ttm_placement' has no memb= er named 'busy_placement'; did you mean 'num_placement'? 42 | .busy_placement =3D &sys_placement_flags, | ^~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:42:27: error: excess elements in struct initiali= zer [-Werror] 42 | .busy_placement =3D &sys_placement_flags, | ^ drivers/gpu/drm/xe/xe_bo.c:42:27: note: (near initialization for 'sys_place= ment') drivers/gpu/drm/xe/xe_bo.c:55:10: error: 'struct ttm_placement' has no memb= er named 'num_busy_placement'; did you mean 'num_placement'? 55 | .num_busy_placement =3D 1, | ^~~~~~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:55:31: error: excess elements in struct initiali= zer [-Werror] 55 | .num_busy_placement =3D 1, | ^ drivers/gpu/drm/xe/xe_bo.c:55:31: note: (near initialization for 'tt_placem= ent') drivers/gpu/drm/xe/xe_bo.c:56:10: error: 'struct ttm_placement' has no memb= er named 'busy_placement'; did you mean 'num_placement'? 56 | .busy_placement =3D &sys_placement_flags, | ^~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:56:27: error: excess elements in struct initiali= zer [-Werror] 56 | .busy_placement =3D &sys_placement_flags, | ^ drivers/gpu/drm/xe/xe_bo.c:56:27: note: (near initialization for 'tt_placem= ent') drivers/gpu/drm/xe/xe_bo.c: In function '__xe_bo_placement_for_flags': drivers/gpu/drm/xe/xe_bo.c:233:18: error: 'struct ttm_placement' has no mem= ber named 'num_busy_placement'; did you mean 'num_placement'? 233 | .num_busy_placement =3D c, | ^~~~~~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:233:39: error: excess elements in struct initial= izer [-Werror] 233 | .num_busy_placement =3D c, | ^ drivers/gpu/drm/xe/xe_bo.c:233:39: note: (near initialization for '(anonymo= us)') drivers/gpu/drm/xe/xe_bo.c:234:18: error: 'struct ttm_placement' has no mem= ber named 'busy_placement'; did you mean 'num_placement'? 234 | .busy_placement =3D bo->placements, | ^~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:234:35: error: excess elements in struct initial= izer [-Werror] 234 | .busy_placement =3D bo->placements, | ^~ drivers/gpu/drm/xe/xe_bo.c:234:35: note: (near initialization for '(anonymo= us)') drivers/gpu/drm/xe/xe_bo.c: In function 'xe_evict_flags': drivers/gpu/drm/xe/xe_bo.c:254:36: error: 'struct ttm_placement' has no mem= ber named 'num_busy_placement'; did you mean 'num_placement'? 254 | placement->num_busy_placement =3D 0; | ^~~~~~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c: In function '__xe_bo_fixed_placement': drivers/gpu/drm/xe/xe_bo.c:1356:18: error: 'struct ttm_placement' has no me= mber named 'num_busy_placement'; did you mean 'num_placement'? 1356 | .num_busy_placement =3D 1, | ^~~~~~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:1356:39: error: excess elements in struct initia= lizer [-Werror] 1356 | .num_busy_placement =3D 1, | ^ drivers/gpu/drm/xe/xe_bo.c:1356:39: note: (near initialization for '(anonym= ous)') drivers/gpu/drm/xe/xe_bo.c:1357:18: error: 'struct ttm_placement' has no me= mber named 'busy_placement'; did you mean 'num_placement'? 1357 | .busy_placement =3D place, | ^~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:1357:35: error: excess elements in struct initia= lizer [-Werror] 1357 | .busy_placement =3D place, | ^~~~~ drivers/gpu/drm/xe/xe_bo.c:1357:35: note: (near initialization for '(anonym= ous)') drivers/gpu/drm/xe/xe_bo.c: In function 'xe_bo_migrate': drivers/gpu/drm/xe/xe_bo.c:2115:19: error: 'struct ttm_placement' has no me= mber named 'num_busy_placement'; did you mean 'num_placement'? 2115 | placement.num_busy_placement =3D 1; | ^~~~~~~~~~~~~~~~~~ | num_placement drivers/gpu/drm/xe/xe_bo.c:2117:19: error: 'struct ttm_placement' has no me= mber named 'busy_placement'; did you mean 'num_placement'? 2117 | placement.busy_placement =3D &requested; | ^~~~~~~~~~~~~~ | num_placement > Caused by commit >=20 > a78a8da51b36 ("drm/ttm: replace busy placement with flags v6") >=20 > interacting with commit >=20 > dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") >=20 > (and maybe others) from Linus' tree (v6.8-rc1). Given that the latter above commit(s) are also in the drm-misc tree, I have just used the drm-misc tree from next-20240205 for today. --=20 Cheers, Stephen Rothwell --Sig_//rg3B1F4UH/_d07_M7NfKGO Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXC7ugACgkQAVBC80lX 0GxCKQf/dFGRZp+POtnOvcJVZCr2J0Ev71DeNEa2uRbyt3MxCeKKbYhn3C8OwzHn 6U68cQh+3dotTrMBYUS8cqIAmS6gRPiav+sD5jtHhcY+sDExezR++zA+qnYIaMTB 23qjm8jjRgxu9uh5I/vdV+PvZmS3ladqi31zhpGRa0ZRKPoWrNE4vGUE/PNX71i4 K+aHusdr3cISIsDbX/Rzvo8pUmIOG44+L8LJtVeKlnhQho8WqOqvaR/wdSsKptNl NbzCT/BM2jN3R1CGPzcWtxKCCKHNnQRLLIHI1RN9imujD2Ri6MvMEE9sxi0lfRHL QyjSsEqhWGT2dovnMsrzkWj1sqLebw== =nAVV -----END PGP SIGNATURE----- --Sig_//rg3B1F4UH/_d07_M7NfKGO--