projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc864c8
)
intel: squash unused variable 'bo_gem'
author
Ben Widawsky
<benjamin.widawsky@intel.com>
Fri, 27 Dec 2013 00:30:09 +0000
(16:30 -0800)
committer
Ben Widawsky
<benjamin.widawsky@intel.com>
Fri, 10 Jan 2014 19:05:50 +0000
(11:05 -0800)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr_gem.c
b/intel/intel_bufmgr_gem.c
index
48ff62e
..
3b1f584
100644
(file)
--- a/
intel/intel_bufmgr_gem.c
+++ b/
intel/intel_bufmgr_gem.c
@@
-1337,7
+1337,9
@@
int drm_intel_gem_bo_map_gtt(drm_intel_bo *bo)
int drm_intel_gem_bo_map_unsynchronized(drm_intel_bo *bo)
{
drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr;
+#ifdef HAVE_VALGRIND
drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo;
+#endif
int ret;
/* If the CPU cache isn't coherent with the GTT, then use a