diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-01 03:54:21 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-01 03:54:21 +0000 |
commit | d750475c170060ed6f18ee2d7d166ca61b3a9024 (patch) | |
tree | 867935f1b9a7caafac7074166eac013604e77ba5 /sys/dev/pci/drm/i915 | |
parent | 8bcb289d2ab6a66e8975dab144e31a9796a64bcb (diff) |
drm/i915/bdw: enable eDRAM.
From Ben Widawsky
1d2866baf71e222308345ec745c20cbdb279f325 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/i915')
-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 |