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:
f0fd53f
)
i915: check mask instead of flags for buffer fence types
author
Dave Airlie
<airlied@redhat.com>
Thu, 11 Oct 2007 23:46:11 +0000
(09:46 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 11 Oct 2007 23:46:11 +0000
(09:46 +1000)
linux-core/i915_buffer.c
patch
|
blob
|
history
diff --git
a/linux-core/i915_buffer.c
b/linux-core/i915_buffer.c
index
75763e7
..
f3ba7ce
100644
(file)
--- a/
linux-core/i915_buffer.c
+++ b/
linux-core/i915_buffer.c
@@
-42,7
+42,7
@@
int i915_fence_types(struct drm_buffer_object *bo,
uint32_t * fclass,
uint32_t * type)
{
- if (bo->mem.
flags
& (DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE))
+ if (bo->mem.
mask
& (DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE))
*type = 3;
else
*type = 1;