diff options
author | Chris Wilson | 2012-10-07 04:05:19 -0500 |
---|---|---|
committer | Chris Wilson | 2012-10-07 04:09:38 -0500 |
commit | 75830a0d2cbb614ecc3f7e6b516ec595bb41d6a3 (patch) | |
tree | f1b7f674a74a6db7d23403acac1926f5e46e8b4f | |
parent | 1aebfdc1121ccb6babb3a63dc0b99d68b4860b04 (diff) | |
download | libdrm-75830a0d2cbb614ecc3f7e6b516ec595bb41d6a3.tar.gz libdrm-75830a0d2cbb614ecc3f7e6b516ec595bb41d6a3.tar.xz libdrm-75830a0d2cbb614ecc3f7e6b516ec595bb41d6a3.zip |
intel: Fix "properly test for HAS_LLC"
commit 92fd0ce4f659d7b0680543e9e5b96a3c7737a5f3
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Fri Aug 31 11:16:53 2012 +0200
intel: properly test for HAS_LLC
missed slightly and in effect had no effect on the outcome of checking
whether the kernel/chipset supported LLC.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | intel/intel_bufmgr_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 898008d7..3f7424c9 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c | |||
@@ -3119,7 +3119,7 @@ drm_intel_bufmgr_gem_init(int fd, int batch_size) | |||
3119 | bufmgr_gem->has_llc = (IS_GEN6(bufmgr_gem->pci_device) | | 3119 | bufmgr_gem->has_llc = (IS_GEN6(bufmgr_gem->pci_device) | |
3120 | IS_GEN7(bufmgr_gem->pci_device)); | 3120 | IS_GEN7(bufmgr_gem->pci_device)); |
3121 | } else | 3121 | } else |
3122 | bufmgr_gem->has_llc = gp.value; | 3122 | bufmgr_gem->has_llc = *gp.value; |
3123 | 3123 | ||
3124 | if (bufmgr_gem->gen < 4) { | 3124 | if (bufmgr_gem->gen < 4) { |
3125 | gp.param = I915_PARAM_NUM_FENCES_AVAIL; | 3125 | gp.param = I915_PARAM_NUM_FENCES_AVAIL; |