Skip to content

Commit ac2d1fd

Browse files
debox1ij-intel
authored andcommitted
platform/x86/intel/pmc/arl: Put GNA device in D3
As is the case on Meteor Lake, the Gaussian & Neural Accelerator (GNA) device is powered by BIOS to D0 by default. If no driver is loaded, this will cause the Package C state to be limited to PC2, leading to significant power consumption and decrease in batter life. Put the GNA device in D3 by default if no driver is loaded for it. Fixes: 83f168a ("platform/x86/intel/pmc: Add Arrow Lake S support to intel_pmc_core driver") Signed-off-by: "David E. Box" <david.e.box@linux.intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Link: https://lore.kernel.org/r/20240227190134.1592072-3-david.e.box@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent e6ba4ac commit ac2d1fd

File tree

1 file changed

+2
-0
lines changed
  • drivers/platform/x86/intel/pmc

1 file changed

+2
-0
lines changed

drivers/platform/x86/intel/pmc/arl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,15 @@ static struct pmc_info arl_pmc_info_list[] = {
673673
};
674674

675675
#define ARL_NPU_PCI_DEV 0xad1d
676+
#define ARL_GNA_PCI_DEV 0xae4c
676677
/*
677678
* Set power state of select devices that do not have drivers to D3
678679
* so that they do not block Package C entry.
679680
*/
680681
static void arl_d3_fixup(void)
681682
{
682683
pmc_core_set_device_d3(ARL_NPU_PCI_DEV);
684+
pmc_core_set_device_d3(ARL_GNA_PCI_DEV);
683685
}
684686

685687
static int arl_resume(struct pmc_dev *pmcdev)

0 commit comments

Comments
 (0)