OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
amdgpu: add bo from user memory to handle table
[android-x86/external-libdrm.git]
/
xf86drm.c
diff --git
a/xf86drm.c
b/xf86drm.c
index
1e621e9
..
336d64d
100644
(file)
--- a/
xf86drm.c
+++ b/
xf86drm.c
@@
-3935,6
+3935,8
@@
int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device)
drmFoldDuplicatedDevices(local_devices, node_count);
+ *device = NULL;
+
for (i = 0; i < node_count; i++) {
if (!local_devices[i])
continue;