projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ec8eb
)
check is the map containing the lock
author
Dave Airlie
<airlied@linux.ie>
Sat, 3 Sep 2005 02:21:22 +0000
(
02:21
+0000)
committer
Dave Airlie
<airlied@linux.ie>
Sat, 3 Sep 2005 02:21:22 +0000
(
02:21
+0000)
linux-core/drm_bufs.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_bufs.c
b/linux-core/drm_bufs.c
index
28adc1a
..
18627b7
100644
(file)
--- a/
linux-core/drm_bufs.c
+++ b/
linux-core/drm_bufs.c
@@
-57,7
+57,7
@@
static drm_local_map_t *drm_find_matching_map(drm_device_t *dev,
drm_map_list_t *entry = list_entry(list, drm_map_list_t, head);
if (entry->map && map->type == entry->map->type &&
((entry->map->offset == map->offset) ||
- (map->type == _DRM_SHM))) {
+ (map->type == _DRM_SHM
&& map->flags==_DRM_CONTAINS_LOCK
))) {
return entry->map;
}
}