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:
279e7c1
)
revert reversion of a part of a patch from Jon, that I did last night while
author
Dave Airlie
<airlied@linux.ie>
Wed, 17 Aug 2005 10:48:38 +0000
(10:48 +0000)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 17 Aug 2005 10:48:38 +0000
(10:48 +0000)
checking things in in my sleep
linux-core/drm_bufs.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_bufs.c
b/linux-core/drm_bufs.c
index
bad02f2
..
d10973c
100644
(file)
--- a/
linux-core/drm_bufs.c
+++ b/
linux-core/drm_bufs.c
@@
-56,7
+56,8
@@
static drm_local_map_t *drm_find_matching_map(drm_device_t *dev,
list_for_each(list, &dev->maplist->head) {
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) {
+ ((entry->map->offset == map->offset) ||
+ (map->type == _DRM_SHM))) {
return entry->map;
}
}