projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c12da
)
crocus/bufmgr: fix userptr left over fail
author
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jun 2021 01:13:04 +0000
(11:13 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jun 2021 20:08:19 +0000
(06:08 +1000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11538>
src/gallium/drivers/crocus/crocus_bufmgr.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/crocus/crocus_bufmgr.c
b/src/gallium/drivers/crocus/crocus_bufmgr.c
index
c0f8711
..
fa80b2a
100644
(file)
--- a/
src/gallium/drivers/crocus/crocus_bufmgr.c
+++ b/
src/gallium/drivers/crocus/crocus_bufmgr.c
@@
-512,9
+512,6
@@
crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr, const char *name,
bo->bufmgr = bufmgr;
bo->kflags = 0;
- if (bo->gtt_offset == 0ull)
- goto err_close;
-
p_atomic_set(&bo->refcount, 1);
bo->userptr = true;
bo->cache_coherent = true;