[Intel-gfx] [PATCH] x86/gpu: add TGL stolen memory support

Lucas De Marchi lucas.demarchi at intel.com
Wed Jul 17 01:28:05 UTC 2019


On Wed, Jul 17, 2019 at 12:46:42AM +0200, Thomas Gleixner wrote:
>On Fri, 12 Jul 2019, Lucas De Marchi wrote:
>
>> From: Michel Thierry <michel.thierry at intel.com>
>>
>> Reuse Gen11 stolen memory changes since Tiger Lake uses the same BSM
>> register (and format).
>>
>> Cc: Thomas Gleixner <tglx at linutronix.de>
>> Cc: Ingo Molnar <mingo at redhat.com>
>> Cc: Borislav Petkov <bp at alien8.de>
>> Cc: "H. Peter Anvin" <hpa at zytor.com>
>> Cc: x86 at kernel.org
>> Signed-off-by: Michel Thierry <michel.thierry at intel.com>
>> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
>> Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
>> ---
>>  arch/x86/kernel/early-quirks.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
>> index 6c4f01540833..6f6b1d04dadf 100644
>> --- a/arch/x86/kernel/early-quirks.c
>> +++ b/arch/x86/kernel/early-quirks.c
>> @@ -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),
>
>How exactly is this supposed to build?
>

The define for this new platform is on drm-intel repository. For
previous platforms we waited for an ack and merged through our tree.
Is that ok?

thanks
Lucas De Marchi


More information about the Intel-gfx mailing list