diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-05-24 22:35:40 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-05-24 22:35:40 -0400 |
commit | 67b059c95fe36fc076f35e0840cb8a8411cfc402 (patch) | |
tree | 5c75b8a869a78da7de48d016753c18e413e8b7d5 /src/acpi-dsdt.dsl | |
parent | 626416ec57b7f8fd2b5b8e50be57e562f51e1fff (diff) | |
download | seabios-hppa-67b059c95fe36fc076f35e0840cb8a8411cfc402.zip seabios-hppa-67b059c95fe36fc076f35e0840cb8a8411cfc402.tar.gz seabios-hppa-67b059c95fe36fc076f35e0840cb8a8411cfc402.tar.bz2 |
fix resume from S3 with QXL device
From: Gleb Natapov <gleb@redhat.com>
QXL device is powered down during S3, so tell this to a guest OS
in AML code.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'src/acpi-dsdt.dsl')
-rw-r--r-- | src/acpi-dsdt.dsl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl index 7e8f478..08412e2 100644 --- a/src/acpi-dsdt.dsl +++ b/src/acpi-dsdt.dsl @@ -239,6 +239,10 @@ DefinitionBlock ( Scope(\_SB.PCI0) { Device (VGA) { Name (_ADR, 0x00020000) + OperationRegion(PCIC, PCI_Config, Zero, 0x4) + Field(PCIC, DWordAcc, NoLock, Preserve) { + VEND, 32 + } Method (_S1D, 0, NotSerialized) { Return (0x00) @@ -249,7 +253,11 @@ DefinitionBlock ( } Method (_S3D, 0, NotSerialized) { - Return (0x00) + If (LEqual(VEND, 0x1001b36)) { + Return (0x03) // QXL + } Else { + Return (0x00) + } } Method(_RMV) { Return (0x00) } } |