x86/gpu: add TGL stolen memory support
authorMichel Thierry <michel.thierry@intel.com>
Fri, 12 Jul 2019 21:02:39 +0000 (14:02 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 17 Jul 2019 21:46:21 +0000 (14:46 -0700)
Reuse Gen11 stolen memory changes since Tiger Lake uses the same BSM
register (and format).

Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712210238.5622-1-lucas.demarchi@intel.com
arch/x86/kernel/early-quirks.c

index 6c4f01540833f3aa2c5e8e8e9bf6ba6097d612b3..6f6b1d04dadf9817e0e5fe09df8f4902185d8c7f 100644 (file)
@@ -549,6 +549,7 @@ static const struct pci_device_id intel_early_ids[] __initconst = {
        INTEL_CNL_IDS(&gen9_early_ops),
        INTEL_ICL_11_IDS(&gen11_early_ops),
        INTEL_EHL_IDS(&gen11_early_ops),
+       INTEL_TGL_12_IDS(&gen11_early_ops),
 };
 
 struct resource intel_graphics_stolen_res __ro_after_init = DEFINE_RES_MEM(0, 0);