mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 23:00:11 +01:00
intel: Fix "properly test for HAS_LLC"
commit 92fd0ce4f6
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>
This commit is contained in:
parent
1aebfdc112
commit
75830a0d2c
1 changed files with 1 additions and 1 deletions
|
|
@ -3119,7 +3119,7 @@ drm_intel_bufmgr_gem_init(int fd, int batch_size)
|
|||
bufmgr_gem->has_llc = (IS_GEN6(bufmgr_gem->pci_device) |
|
||||
IS_GEN7(bufmgr_gem->pci_device));
|
||||
} else
|
||||
bufmgr_gem->has_llc = gp.value;
|
||||
bufmgr_gem->has_llc = *gp.value;
|
||||
|
||||
if (bufmgr_gem->gen < 4) {
|
||||
gp.param = I915_PARAM_NUM_FENCES_AVAIL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue