Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2508719rdd; Fri, 12 Jan 2024 11:33:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4hWRew8eZelioPOTGTSBF5zOLa7db9Gyi1lrydoUYIQUSGRqoo4tvR+xj0Ak95YWVukin X-Received: by 2002:a17:906:2b0b:b0:a2a:fd7d:4aa6 with SMTP id a11-20020a1709062b0b00b00a2afd7d4aa6mr1807318ejg.56.1705088012384; Fri, 12 Jan 2024 11:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705088012; cv=none; d=google.com; s=arc-20160816; b=JGOYwt5PuhavCMCgwPCrIqAyb1X9c6nPDmjg4rAPdOqultT6/ayLN5TCKRe5mbcOFk VcIA8zPROMB1anlg2vZ5pI7yzhw9RIAqLZUVD8aVndqW14lvEzgLL8kvMHkbk5/HKidU +NENWQ/0BgT911Y7+/fYRJUApDJcptIJP1D5p+qdaVwAduDKM6bsub09S40swAZc7tTE U2h7fUHA0eTlj6wcWiRkKKAxotZW/WyQcTyyq2Xkm9YkoFkYJZOqxQLZhzu51fVTAXwR dHMCO95TKrW/1b9RdHO4iVnXrnpIowjY1DNle7EdypMynbftizvcAWTRsbIRh+S4X/mY Y+Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=jS1hJyEzePcyAIqEZ95vqlfmKLvmbgA9IFbqRyCr1d4=; fh=EIPf42+vIZTKeCgSu9bcm1Ndi0IEOnOlM5h3aVwKUmY=; b=tdxHZG7WhLDB5+8gZNeLlJqaAVVjDlEn26WUOoGWg3gPekhjBUEHfgIFZxmaKNR7Co E8Zldot1m/DSRk1PUG7IFrmor5DbN97FvUPs2LYNvBn6fDvdiZ++ggsY2Gy2Qubh9FP/ kYBGdirG/9LiSvxPLji0ROPAytjCAWQilL2k8n8rFyqdwFxr7jBen2T5xYocjuhvM0Ck V/hhOaYTV4bRLsiLoOzi7ahS5d1HIpBVFbs74ICx7Hz93X3ZzcKDnMEr5RELKs5O9DrN Q7g/10tcqU00IGoLGRSVqBocNH7U2U5lRAwnalXinOsGCE4onZe3WByZxAHnM4j9roUv Yx8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linux-foundation.org header.s=google header.b=ZYsGi9Am; spf=pass (google.com: domain of linux-kernel+bounces-25001-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25001-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g6-20020a170906c18600b00a27a3bcd9d1si1608746ejz.780.2024.01.12.11.33.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 11:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25001-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linux-foundation.org header.s=google header.b=ZYsGi9Am; spf=pass (google.com: domain of linux-kernel+bounces-25001-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25001-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1CDB61F24D49 for ; Fri, 12 Jan 2024 19:33:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCE1815E98; Fri, 12 Jan 2024 19:33:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="ZYsGi9Am" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB5E015AF4 for ; Fri, 12 Jan 2024 19:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a28f66dc7ffso1433268766b.0 for ; Fri, 12 Jan 2024 11:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1705087999; x=1705692799; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=j27coH7dN6dynLCy7PqLOH/19550Y5l0cyL43P460HQ=; b=ZYsGi9Am9A7adgJH4KSFtl9k0mLsRRcjreeWX5h9avWgT6cvn551yk5wFIXz3gUVLx 37nLQK2fmvUfZWC+JbRKPh7pQvBI6yzblNaIMC8knqnBWuhDdnJ1W7hqrusgXi2f+LdZ tbaO+pEL4ZTB83yDtD5IKxVTv8t3ZMsB37yBk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705087999; x=1705692799; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j27coH7dN6dynLCy7PqLOH/19550Y5l0cyL43P460HQ=; b=C2W8/RFjJ7xrCelGsFhRsLV2MyXiXlQcypqKNRZ9ohzdDUt187DiO6xMg//tgrUhTl PxN+k1+BY6FaHVkyNbshklKp/xqvEffc0oDhX2hLPlgTiqXvrfz7zIfizKL+i6jKYjOp dSH8ToAy7/FO9Enh3m0AasPVa0hM4mzZiD9z1YzAsTN4FG+iwN9wL5iMxL61oD1dH5jn 9fh8q3YA2E1GIER2E+4n1ay26rDAmyuYcKo0IuN2w/kTmc56oQ83ihfInqd9PRvb3mcj 8EcxG9xkc7H5TxK+PGZWJ4YbaFPZY4ssusHR4Ye/GAl1FtQemb4Jk2qb25hzsCjdpE86 /8eQ== X-Gm-Message-State: AOJu0Yy0OzNcz/KTi28iSBR322W4HuYvNhtj35DY25Aw8Q8ygDWGkxa5 hHK+59YzrL7mEAUPyHrESZJ64P03E3DjnMkzeDVXh/UYArEiHwVs X-Received: by 2002:a17:907:7891:b0:a27:d309:b6b8 with SMTP id ku17-20020a170907789100b00a27d309b6b8mr1775465ejc.35.1705087998774; Fri, 12 Jan 2024 11:33:18 -0800 (PST) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id v9-20020a170906380900b00a26ac037ff3sm2080418ejc.132.2024.01.12.11.33.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 11:33:18 -0800 (PST) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a28bf46ea11so1194703366b.1 for ; Fri, 12 Jan 2024 11:33:18 -0800 (PST) X-Received: by 2002:a17:906:4307:b0:a23:1b07:5c1b with SMTP id j7-20020a170906430700b00a231b075c1bmr1933545ejm.10.1705087997668; Fri, 12 Jan 2024 11:33:17 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 12 Jan 2024 11:33:00 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [git pull] drm for 6.8 To: Dave Airlie Cc: Daniel Vetter , dri-devel , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 10 Jan 2024 at 11:49, Dave Airlie wrote: > > Let me know if there are any issues, Your testing is seriously lacking. This doesn't even build. The reason seems to be that commit b49e894c3fd8 ("drm/i915: Replace custom intel runtime_pm tracker with ref_tracker library") changed the 'intel_wakeref_t' type from a 'depot_stack_handle_t' to 'unsigned long', and as a result did this: - drm_dbg(&i915->drm, "async_put_wakeref %u\n", + drm_dbg(&i915->drm, "async_put_wakeref %lu\n", power_domains->async_put_wakeref); meanwhile, the Xe driver has this: drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h: typedef bool intel_wakeref_t; which has never been valid, but now the build fails with drivers/gpu/drm/i915/display/intel_display_power.c: In function =E2=80=98print_async_put_domains_state=E2=80=99: drivers/gpu/drm/i915/display/intel_display_power.c:408:29: error: format =E2=80=98%lu=E2=80=99 expects argument of type =E2=80=98long unsigne= d int=E2=80=99, but argument 5 has type =E2=80=98int=E2=80=99 [-Werror=3Dformat=3D] because the drm header files have this disgusting thing where a *header* file includes a *C* file: In file included from ./include/drm/drm_mm.h:51, from drivers/gpu/drm/xe/xe_bo_types.h:11, from drivers/gpu/drm/xe/xe_bo.h:11, from /drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h:11, from ./drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h:1= 5, from drivers/gpu/drm/i915/display/intel_display_power.c:8: nasty. I made it build by fixing that broken Xe compat header file, but this is definitely *NOT* how things should have worked. How did this ever get to me without any kind of build testing? And why the %^!@$% does a header file include a C file? That's wrong regardless of this bug. Linus