mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
intel_extreme: enable power on init
could be necessary on laptop with multiple graphics cards Change-Id: I38040a4d83be62904b0154d75890ef00b2a878b0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4978 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
20b50a5cb4
commit
da6065015f
@ -507,6 +507,10 @@ intel_extreme_init(intel_info &info)
|
||||
return info.shared_area;
|
||||
}
|
||||
|
||||
// enable power
|
||||
gPCI->set_powerstate(info.pci->bus, info.pci->device, info.pci->function,
|
||||
PCI_pm_state_d0);
|
||||
|
||||
memset((void*)info.shared_info, 0, sizeof(intel_shared_info));
|
||||
|
||||
int mmioIndex = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user