From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABE31C433F5 for ; Fri, 11 Mar 2022 16:22:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346855AbiCKQXB (ORCPT ); Fri, 11 Mar 2022 11:23:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245008AbiCKQXA (ORCPT ); Fri, 11 Mar 2022 11:23:00 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 107B81D178B for ; Fri, 11 Mar 2022 08:21:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 709D8CE2962 for ; Fri, 11 Mar 2022 16:21:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A1E1C340E9; Fri, 11 Mar 2022 16:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647015713; bh=GPj97xwXd7bZWb2igozcXh6l9WpLM7UKzb8k1L1f/rE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=rqkv6vQOjZur+tP8BIzt8cpKdNgOt1bA2xNU81GRFJyE7yT+fluPu5vz4H64QUqzi chd9lK5tptabSrOIvWtlHOXSL/mUvTEmFPyp/lhtXTxwVCV1N5ey/6jfrB8V5MBZfA 6hDoDU4hS8ZoBniM5NwGVWxn8L0/8hD64i3d6C8KX6M2cvzA9u0HofrOIfMPJH+a6X 3ysFPFxxXlmlxC6+CYvOQDpPcZEhxY3Me9zDX9VA205XHPE82+GSUNQSzKuLnrScs9 Vi2tN/F39ShtmteV0fueXsQrm/7udwZ9ZCI+G9CLF2PrrJDHy+JIDTIwYkZOIl5XRq D+q8Vzz5FdFfQ== Date: Fri, 11 Mar 2022 10:21:51 -0600 From: Bjorn Helgaas To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org, Bjorn Helgaas , linux-pci@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 1/2] x86/gpu: include drm/i915_pciids.h directly in early quirks Message-ID: <20220311162151.GA304730@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220311100639.114685-1-jani.nikula@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Fri, Mar 11, 2022 at 12:06:38PM +0200, Jani Nikula wrote: > early-quirks.c is the only user of drm/i915_drm.h that also needs > drm/i915_pciids.h. Include the masses of PCI ID macros only where > needed. > > Cc: Bjorn Helgaas > Cc: linux-pci@vger.kernel.org > Cc: x86@kernel.org > Signed-off-by: Jani Nikula FWIW: Acked-by: Bjorn Helgaas > --- > > I'm hoping to merge this via drm-intel with the other patch. > --- > arch/x86/kernel/early-quirks.c | 1 + > include/drm/i915_drm.h | 1 - > 2 files changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c > index bd6dad83c65b..805596736e20 100644 > --- a/arch/x86/kernel/early-quirks.c > +++ b/arch/x86/kernel/early-quirks.c > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include > #include > #include > #include > diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h > index 6722005884db..afbf3ef5643e 100644 > --- a/include/drm/i915_drm.h > +++ b/include/drm/i915_drm.h > @@ -26,7 +26,6 @@ > #ifndef _I915_DRM_H_ > #define _I915_DRM_H_ > > -#include > #include > > /* For use by IPS driver */ > -- > 2.30.2 >