[Intel-gfx] [PATCH 14/71] drm/i915/chv: Add early quirk for stolen
Jani Nikula
jani.nikula at linux.intel.com
Thu May 8 17:10:45 CEST 2014
On Thu, 08 May 2014, Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:
> On Thu, May 08, 2014 at 05:32:21PM +0300, Jani Nikula wrote:
>> On Wed, 09 Apr 2014, ville.syrjala at linux.intel.com wrote:
>> > From: Daniel Vetter <daniel.vetter at ffwll.ch>
>> >
>> > Same as on other gen8 devices.
>> >
>> > Cc: Ingo Molnar <mingo at kernel.org>
>> > Cc: H. Peter Anvin <hpa at zytor.com>
>> > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>> > ---
>> > 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-quirks.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[] __initdata = {
>> > 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.
Right, I'm actually looking at 34 now.
>
>>
>> Otherwise,
>>
>> Reviewed-by: Jani Nikula <jani.nikula at intel.com>
>>
>>
>> > };
>> >
>> > static void __init intel_graphics_stolen(int num, int slot, int func)
>> > --
>> > 1.8.3.2
>> >
>> > _______________________________________________
>> > Intel-gfx mailing list
>> > Intel-gfx at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>>
>> --
>> Jani Nikula, Intel Open Source Technology Center
>
> --
> Ville Syrjälä
> Intel OTC
--
Jani Nikula, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list