mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 14:48:03 +02:00
revert reversion of a part of a patch from Jon, that I did last night while
checking things in in my sleep
This commit is contained in:
parent
279e7c113c
commit
7779659390
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue