diff mbox series

[1/1] x86/gpu: Add Alderlake-S stolen memory support

Message ID 20210125105931.268977-2-aditya.swarup@intel.com (mailing list archive)
State New, archived
Headers show
Series Add Alderlake-S stolen memory changes. | expand

Commit Message

Aditya Swarup Jan. 25, 2021, 10:59 a.m. UTC
From: Caz Yokoyama <caz.yokoyama@intel.com>

Alderlake-S is a Gen 12 based hybrid processor architeture. As it
belongs to Gen 12 family, it uses the same GTT stolen memory settings
like its predecessors - ICL(Gen 11) and TGL(Gen 12). This patch inherits
the gen11 and gen 9 quirks for determining base and size of stolen
memory.

Note that this patch depends on commit 0883d63b19bb
("drm/i915/adl_s: Add ADL-S platform info and PCI ids")

Bspec: 52055
Bspec: 49589
Bspec: 49636

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: x86@kernel.org
Cc: Ingo Molnar <mingo@redhat.com>,
Cc: Thomas Gleixner <tglx@linutronix.de>,
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 arch/x86/kernel/early-quirks.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Borislav Petkov Jan. 25, 2021, 5:33 p.m. UTC | #1
On Mon, Jan 25, 2021 at 02:59:31AM -0800, Aditya Swarup wrote:
> From: Caz Yokoyama <caz.yokoyama@intel.com>
> 
> Alderlake-S is a Gen 12 based hybrid processor architeture. As it

typo: "architecture"

> belongs to Gen 12 family, it uses the same GTT stolen memory settings
> like its predecessors - ICL(Gen 11) and TGL(Gen 12). This patch inherits

s/This patch inherits/Inherit/

> the gen11 and gen 9 quirks for determining base and size of stolen
> memory.
> 
> Note that this patch depends on commit 0883d63b19bb
> ("drm/i915/adl_s: Add ADL-S platform info and PCI ids")

This sentence does not belong in the commit message.

> Bspec: 52055
> Bspec: 49589
> Bspec: 49636

Thanks for explaining those.
diff mbox series

Patch

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index a4b5af03dcc1..6edd1e2ee8af 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -551,6 +551,7 @@  static const struct pci_device_id intel_early_ids[] __initconst = {
 	INTEL_EHL_IDS(&gen11_early_ops),
 	INTEL_TGL_12_IDS(&gen11_early_ops),
 	INTEL_RKL_IDS(&gen11_early_ops),
+	INTEL_ADLS_IDS(&gen11_early_ops),
 };
 
 struct resource intel_graphics_stolen_res __ro_after_init = DEFINE_RES_MEM(0, 0);