Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3006166rdb; Tue, 6 Feb 2024 04:39:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDiGK1nEJNGHSrp42IOkV7JXhPyurTS97jDZCF1wlGqucYLhXkwIQiKct6/2KhUKSpH5jr X-Received: by 2002:a05:620a:4116:b0:785:90ae:1ee1 with SMTP id j22-20020a05620a411600b0078590ae1ee1mr1239333qko.6.1707223190401; Tue, 06 Feb 2024 04:39:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707223190; cv=pass; d=google.com; s=arc-20160816; b=JORxoYPj5OpBsKJ7pkMqa5PpyFDnGn4MQkubGMcCSqdMVA7ywo1nYKa9QZNzhlYICs XQsim4mgdEoRgMYNQL5uWZIOTvvDuL5fIyvgZq9PjQkd/dxiqFrPMuhoTCfw1J0DJzI+ wuucH48CVoXPS2/HViegj6i3wsXwqQOJcThQpUfjuWT3UEH/Vd4wNfkP71dRPKAbp0LQ EwmBDqrX+InGmV1DaLiJIICFQCMkgcxy+LezwoKhPq7yaJIRzRtYA+825LjUZlEtB2CU vbZy4LRGpgan5PRVCkw5E78N9NNr6mwFi+ttTCAKbEtZhD3qRkbg5Xu+mcW28wws9Fc/ dd0w== 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 :user-agent:content-transfer-encoding:organization:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=Mge3j124497JVsuLoYs8Mus25Anowg533CYmW4P/JJQ=; fh=v3AkD6JhoMQqPRK00vh2K9fOesgipct4zFXhJmU0NxI=; b=SZz3o+Uqj1lJihhm7cwNUKJP7amuNnek9h1ciHMCDpbC61+aDr3rNOQVRBDbGLXRvt MAcHKSMo/EKAs75Ay2xg7RTbCJJoqP933IBBLZKeMV+gHZ8e/2H8Y+rJasFfrUU6TFbU bT9gLFiGwnoJoPBDG/69EkWxGWRNbhlbxQtq8uLvsMp2jem2xh64jj+geJkChUyOa24a EdlRt43CYNBTT06KVYD8J5r5Nqcgl9JXqEMhDlLBIsS36PK7i0RE6QW5jhQI5DE9sdY0 bmnVgShC75m69TyB5uIXXzuicMF37Sn3DM8O6eFnhgPn0Q33AdR7CHWOi4etgtq0u9p5 yAOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="dQTc/9j5"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCWP3dGi3UNq9kPYlvX7xRjImYxCFjOGgjrjQ1SUbgog96JWXjxW1xhJEKFiA8FtMbxB3yMWD132YtXjg93PRGrjSrhjuTE2VDvpHoLz4Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h15-20020a05620a10af00b00783d8b62023si2172664qkk.59.2024.02.06.04.39.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:39:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54961-linux.lists.archive=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=@intel.com header.s=Intel header.b="dQTc/9j5"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 1D1FA1C250E8 for ; Tue, 6 Feb 2024 12:39:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 592AB130AE1; Tue, 6 Feb 2024 12:39:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="dQTc/9j5" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 2030D5677B; Tue, 6 Feb 2024 12:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707223179; cv=none; b=XzyTQtBpFrGe2VdezVgo+J/WqxaE5MWATa8VPxl4J4IyWrIzK80/iR3ojUNyz9lWWKVrcETgNbDf0kquUcPpYspZ2AnnpsOKN7gfm/GiIfNmAxIgDGE/m+7kY66e/u9e5CSzRXcucbzfGmO3yzjBERuTEZkw0orrhQrW5miM3wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707223179; c=relaxed/simple; bh=ra/xUfbSKYDM5fd6fzYePv8MQqb5eTjtRhASrDYHMgk=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=olhJvE6Q3ssjZM2480qKTo8lsUJZgZ8BIUx1vJCwoeiZAIpvbhroVigWdq2bMTHoMdb7ngSu2CuvJbcH0QkCCk7omRspiwzOmOPGLnyD0xjh3N9p/zAYUzkTNSF5dPcil+GIvbCPU6OWSFOMhw4h3nykhA8KHVGI2DfH20vQ6sg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=dQTc/9j5; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707223178; x=1738759178; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=ra/xUfbSKYDM5fd6fzYePv8MQqb5eTjtRhASrDYHMgk=; b=dQTc/9j50YDcvjXXky6gOZ/FUWIFlaMymZrGybN7GFTloApLclfvdUjL R/hoS5AtRL8hx3btLExd/GtXZ/LRQ6W01e60MLuQ+5BQe9PPAan89Riiu 85fC/AujA1SAT+3uOQEoBtxD2KsK8X7wZmcVXWub4tbqSwPKDfe2itleA ciE5ZueCUWBYOzL8jgpqZYgPPn+4OJFFw2CQeaKkA12rmR8Eulpl6n6Op DpeZHM+5Fy8IGxLuSZxX8Fmc87dP7okkwNEekBo5D5XTYWuUA3D5n5DSQ bML4sj89rXlfoVExyZHvTr5355bIbr5NVFoZxDK6fWaKr8ini3q0RvCkm Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="900870" X-IronPort-AV: E=Sophos;i="6.05,247,1701158400"; d="scan'208";a="900870" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 04:39:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,247,1701158400"; d="scan'208";a="5631089" Received: from mstribae-mobl.ger.corp.intel.com (HELO [10.249.254.52]) ([10.249.254.52]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 04:39:31 -0800 Message-ID: Subject: Re: linux-next: build failure after merge of the drm-misc tree From: Thomas =?ISO-8859-1?Q?Hellstr=F6m?= To: Stephen Rothwell , Daniel Vetter Cc: Matthew Brost , Rodrigo Vivi , Christian =?ISO-8859-1?Q?K=F6nig?= , Somalapuram Amaranath , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List Date: Tue, 06 Feb 2024 13:39:28 +0100 In-Reply-To: <20240206122822.12a2df89@canb.auug.org.au> References: <20240206122822.12a2df89@canb.auug.org.au> Autocrypt: addr=thomas.hellstrom@linux.intel.com; prefer-encrypt=mutual; keydata=mDMEZaWU6xYJKwYBBAHaRw8BAQdAj/We1UBCIrAm9H5t5Z7+elYJowdlhiYE8zUXgxcFz360SFRob21hcyBIZWxsc3Ryw7ZtIChJbnRlbCBMaW51eCBlbWFpbCkgPHRob21hcy5oZWxsc3Ryb21AbGludXguaW50ZWwuY29tPoiTBBMWCgA7FiEEbJFDO8NaBua8diGTuBaTVQrGBr8FAmWllOsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQuBaTVQrGBr/yQAD/Z1B+Kzy2JTuIy9LsKfC9FJmt1K/4qgaVeZMIKCAxf2UBAJhmZ5jmkDIf6YghfINZlYq6ixyWnOkWMuSLmELwOsgPuDgEZaWU6xIKKwYBBAGXVQEFAQEHQF9v/LNGegctctMWGHvmV/6oKOWWf/vd4MeqoSYTxVBTAwEIB4h4BBgWCgAgFiEEbJFDO8NaBua8diGTuBaTVQrGBr8FAmWllOsCGwwACgkQuBaTVQrGBr/P2QD9Gts6Ee91w3SzOelNjsus/DcCTBb3fRugJoqcfxjKU0gBAKIFVMvVUGbhlEi6EFTZmBZ0QIZEIzOOVfkaIgWelFEH Organization: Intel Sweden AB, Registration Number: 556189-6027 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi On Tue, 2024-02-06 at 12:28 +1100, Stephen Rothwell wrote: > Hi all, >=20 > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: >=20 >=20 > Caused by commit >=20 > =C2=A0 a78a8da51b36 ("drm/ttm: replace busy placement with flags v6") >=20 > interacting with commit >=20 > =C2=A0 dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") >=20 > (and maybe others) from Linus' tree (v6.8-rc1). >=20 > I have applied the following merge fix patch for today.=C2=A0 This makes > it build, > but more is likely needed ... There was a manual fixup for the drm-misc-next merge into drm-tip that did the right thing here. How do we ensure these are included into the linux-next builds? Thanks, Thomas >=20 > From: Stephen Rothwell > Date: Tue, 6 Feb 2024 12:21:07 +1100 > Subject: [PATCH] fix up for "drm/ttm: replace busy placement with > flags v6" >=20 > interacting with commit >=20 > =C2=A0 dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") >=20 > Signed-off-by: Stephen Rothwell > --- > =C2=A0drivers/gpu/drm/xe/xe_bo.c | 11 ----------- > =C2=A01 file changed, 11 deletions(-) >=20 > diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c > index 0b0e262e2166..280dbda8ae5a 100644 > --- a/drivers/gpu/drm/xe/xe_bo.c > +++ b/drivers/gpu/drm/xe/xe_bo.c > @@ -38,8 +38,6 @@ static const struct ttm_place sys_placement_flags =3D > { > =C2=A0static struct ttm_placement sys_placement =3D { > =C2=A0 .num_placement =3D 1, > =C2=A0 .placement =3D &sys_placement_flags, > - .num_busy_placement =3D 1, > - .busy_placement =3D &sys_placement_flags, > =C2=A0}; > =C2=A0 > =C2=A0static const struct ttm_place tt_placement_flags =3D { > @@ -52,8 +50,6 @@ static const struct ttm_place tt_placement_flags =3D > { > =C2=A0static struct ttm_placement tt_placement =3D { > =C2=A0 .num_placement =3D 1, > =C2=A0 .placement =3D &tt_placement_flags, > - .num_busy_placement =3D 1, > - .busy_placement =3D &sys_placement_flags, > =C2=A0}; > =C2=A0 > =C2=A0bool mem_type_is_vram(u32 mem_type) > @@ -230,8 +226,6 @@ static int __xe_bo_placement_for_flags(struct > xe_device *xe, struct xe_bo *bo, > =C2=A0 bo->placement =3D (struct ttm_placement) { > =C2=A0 .num_placement =3D c, > =C2=A0 .placement =3D bo->placements, > - .num_busy_placement =3D c, > - .busy_placement =3D bo->placements, > =C2=A0 }; > =C2=A0 > =C2=A0 return 0; > @@ -251,7 +245,6 @@ static void xe_evict_flags(struct > ttm_buffer_object *tbo, > =C2=A0 /* Don't handle scatter gather BOs */ > =C2=A0 if (tbo->type =3D=3D ttm_bo_type_sg) { > =C2=A0 placement->num_placement =3D 0; > - placement->num_busy_placement =3D 0; > =C2=A0 return; > =C2=A0 } > =C2=A0 > @@ -1353,8 +1346,6 @@ static int __xe_bo_fixed_placement(struct > xe_device *xe, > =C2=A0 bo->placement =3D (struct ttm_placement) { > =C2=A0 .num_placement =3D 1, > =C2=A0 .placement =3D place, > - .num_busy_placement =3D 1, > - .busy_placement =3D place, > =C2=A0 }; > =C2=A0 > =C2=A0 return 0; > @@ -2112,9 +2103,7 @@ int xe_bo_migrate(struct xe_bo *bo, u32 > mem_type) > =C2=A0 > =C2=A0 xe_place_from_ttm_type(mem_type, &requested); > =C2=A0 placement.num_placement =3D 1; > - placement.num_busy_placement =3D 1; > =C2=A0 placement.placement =3D &requested; > - placement.busy_placement =3D &requested; > =C2=A0 > =C2=A0 /* > =C2=A0 * Stolen needs to be handled like below VRAM handling if we > ever need > --=20 > 2.43.0 >=20