OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
699d4ad
)
Fix a panic on startup with non-initmapping drivers by assigning the
author
Eric Anholt
<anholt@freebsd.org>
Sun, 24 Apr 2005 19:09:09 +0000
(19:09 +0000)
committer
Eric Anholt
<anholt@freebsd.org>
Sun, 24 Apr 2005 19:09:09 +0000
(19:09 +0000)
drm_ioremap return value to the map handle again.
Submitted by: Tor Egge, tegge at freebsd dot org
bsd-core/drm_bufs.c
patch
|
blob
|
history
diff --git
a/bsd-core/drm_bufs.c
b/bsd-core/drm_bufs.c
index
a5651d0
..
0461ebe
100644
(file)
--- a/
bsd-core/drm_bufs.c
+++ b/
bsd-core/drm_bufs.c
@@
-204,7
+204,7
@@
int drm_addmap(DRM_IOCTL_ARGS)
switch ( map->type ) {
case _DRM_REGISTERS:
- drm_ioremap(dev, map);
+
map->handle =
drm_ioremap(dev, map);
if (!(map->flags & _DRM_WRITE_COMBINING))
break;
/* FALLTHROUGH */