diff options
author | 2015-11-01 03:54:20 +0000 | |
---|---|---|
committer | 2015-11-01 03:54:20 +0000 | |
commit | af73f57e642edc6da925e924c97926ab80106a59 (patch) | |
tree | 6732f4ddcb1ee03cea096dc786931be9c968b6cc | |
parent | delete old lint ARGSUSED comments (diff) | |
download | wireguard-openbsd-af73f57e642edc6da925e924c97926ab80106a59.tar.xz wireguard-openbsd-af73f57e642edc6da925e924c97926ab80106a59.zip |
drm/i915/bdw: enable eDRAM.
From Ben Widawsky
1d2866baf71e222308345ec745c20cbdb279f325 in mainline linux
-rw-r--r-- | sys/dev/pci/drm/i915/intel_uncore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_uncore.c b/sys/dev/pci/drm/i915/intel_uncore.c index 91e98ab319a..59b49f8f361 100644 --- a/sys/dev/pci/drm/i915/intel_uncore.c +++ b/sys/dev/pci/drm/i915/intel_uncore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intel_uncore.c,v 1.2 2015/09/25 16:15:19 jsg Exp $ */ +/* $OpenBSD: intel_uncore.c,v 1.3 2015/11/01 03:54:20 jsg Exp $ */ /* * Copyright © 2013 Intel Corporation * @@ -324,7 +324,7 @@ void intel_uncore_early_sanitize(struct drm_device *dev) if (HAS_FPGA_DBG_UNCLAIMED(dev)) __raw_i915_write32(dev_priv, FPGA_DBG, FPGA_DBG_RM_NOCLAIM); - if (IS_HASWELL(dev) && + if ((IS_HASWELL(dev) || IS_BROADWELL(dev)) && (__raw_i915_read32(dev_priv, HSW_EDRAM_PRESENT) == 1)) { /* The docs do not explain exactly how the calculation can be * made. It is somewhat guessable, but for now, it's always |