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:
cebbd2e
)
intel: don't skip set_domain on mapping of shared buffers.
author
Eric Anholt
<eric@anholt.net>
Sun, 14 Dec 2008 22:39:24 +0000
(14:39 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 15 Dec 2008 00:50:02 +0000
(16:50 -0800)
libdrm/intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/libdrm/intel/intel_bufmgr_gem.c
b/libdrm/intel/intel_bufmgr_gem.c
index
5da1f6b
..
e5a1375
100644
(file)
--- a/
libdrm/intel/intel_bufmgr_gem.c
+++ b/
libdrm/intel/intel_bufmgr_gem.c
@@
-545,7
+545,7
@@
drm_intel_gem_bo_map(drm_intel_bo *bo, int write_enable)
bo_gem->virtual);
bo->virtual = bo_gem->virtual;
- if (!bo_gem->swrast) {
+ if (
bo_gem->global_name != 0 ||
!bo_gem->swrast) {
set_domain.handle = bo_gem->gem_handle;
set_domain.read_domains = I915_GEM_DOMAIN_CPU;
if (write_enable)