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 <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
@@ -507,6 +507,10 @@ intel_extreme_init(intel_info &info)
|
|||||||
return info.shared_area;
|
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));
|
memset((void*)info.shared_info, 0, sizeof(intel_shared_info));
|
||||||
|
|
||||||
int mmioIndex = 1;
|
int mmioIndex = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user