diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-29 06:18:18 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-29 17:05:08 +0200 |
commit | 1ec23c9b52ed95bfcc71ed0637cca1c302e7a815 (patch) | |
tree | f26d1294f6bdb575bc70f0b05afd58a20b7be9fb /src/soc/intel/broadwell/igd.c | |
parent | 315a7b83836954917e993f5ce59b29cfe7c99470 (diff) | |
download | coreboot-1ec23c9b52ed95bfcc71ed0637cca1c302e7a815.tar.xz |
intel/broadwell: Hide use of acpi_slp_type
Change-Id: I106779571df5168ec358ad1cc4dc4195639a7a7d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/10359
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/broadwell/igd.c')
-rw-r--r-- | src/soc/intel/broadwell/igd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/igd.c b/src/soc/intel/broadwell/igd.c index 93c9e3cbfb..987d56c48d 100644 --- a/src/soc/intel/broadwell/igd.c +++ b/src/soc/intel/broadwell/igd.c @@ -489,7 +489,7 @@ static void igd_init(struct device *dev) return; /* Wait for any configured pre-graphics delay */ - if (acpi_slp_type != SLEEP_STATE_S3) { + if (!acpi_is_wakeup_s3()) { #if IS_ENABLED(CONFIG_CHROMEOS) if (developer_mode_enabled() || recovery_mode_enabled() || vboot_wants_oprom()) @@ -542,7 +542,7 @@ static void igd_init(struct device *dev) memset((void *)((u32)fb->base), 0, 64); } - if (!gfx_get_init_done() && acpi_slp_type != 3) { + if (!gfx_get_init_done() && !acpi_is_wakeup_s3()) { /* * Enable DDI-A if the Option ROM did not execute: * |