x86/gpu: add RKL stolen memory support
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 4 May 2020 22:52:07 +0000 (15:52 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 20 May 2020 15:35:22 +0000 (08:35 -0700)
RKL re-uses the same stolen memory registers as TGL and ICL.

Bspec: 52055
Bspec: 49589
Bspec: 49636
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504225227.464666-3-matthew.d.roper@intel.com
arch/x86/kernel/early-quirks.c

index 2f9ec14be3b11adfb7526b0513196e333078ab7f..a4b5af03dcc1bc1ddde2d4468d8e5bf538dc2294 100644 (file)
@@ -550,6 +550,7 @@ static const struct pci_device_id intel_early_ids[] __initconst = {
        INTEL_ICL_11_IDS(&gen11_early_ops),
        INTEL_EHL_IDS(&gen11_early_ops),
        INTEL_TGL_12_IDS(&gen11_early_ops),
+       INTEL_RKL_IDS(&gen11_early_ops),
 };
 
 struct resource intel_graphics_stolen_res __ro_after_init = DEFINE_RES_MEM(0, 0);