From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 14/71] drm/i915/chv: Add early quirk for stolen Date: Thu, 8 May 2014 17:43:41 +0300 Message-ID: <20140508144341.GQ18465@intel.com> References: <1397039349-10639-1-git-send-email-ville.syrjala@linux.intel.com> <1397039349-10639-15-git-send-email-ville.syrjala@linux.intel.com> <87fvkk2vey.fsf@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id BEE256EE97 for ; Thu, 8 May 2014 07:44:44 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87fvkk2vey.fsf@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, May 08, 2014 at 05:32:21PM +0300, Jani Nikula wrote: > On Wed, 09 Apr 2014, ville.syrjala@linux.intel.com wrote: > > From: Daniel Vetter > > > > Same as on other gen8 devices. > > > > Cc: Ingo Molnar > > Cc: H. Peter Anvin > > Signed-off-by: Daniel Vetter > > --- > > arch/x86/kernel/early-quirks.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-qui= rks.c > > index bc4a088..5758f5b 100644 > > --- a/arch/x86/kernel/early-quirks.c > > +++ b/arch/x86/kernel/early-quirks.c > > @@ -347,7 +347,8 @@ static struct pci_device_id intel_stolen_ids[] __in= itdata =3D { > > INTEL_HSW_D_IDS(gen6_stolen_size), > > INTEL_HSW_M_IDS(gen6_stolen_size), > > INTEL_BDW_M_IDS(gen8_stolen_size), > > - INTEL_BDW_D_IDS(gen8_stolen_size) > > + INTEL_BDW_D_IDS(gen8_stolen_size), > > + INTEL_CHV_PCI_IDS(gen8_stolen_size) > = > Needs refresh after the update to the #define. This patch is actually wrong. We need CHV specific stolen size detection here. And in fact we get it as part of patch 34/71. I'll go and split that up into i915 and x86 specific parts and pretend that this patch never existed. > = > Otherwise, > = > Reviewed-by: Jani Nikula > = > = > > }; > > = > > static void __init intel_graphics_stolen(int num, int slot, int func) > > -- = > > 1.8.3.2 > > > > _______________________________________________ > > Intel-gfx mailing list > > Intel-gfx@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/intel-gfx > = > -- = > Jani Nikula, Intel Open Source Technology Center -- = Ville Syrj=E4l=E4 Intel OTC