intel: Set the public handle after opening by name
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>main
parent
550fe2ca3b
commit
53581b6210
|
@ -816,6 +816,7 @@ drm_intel_bo_gem_create_from_name(drm_intel_bufmgr *bufmgr,
|
||||||
atomic_set(&bo_gem->refcount, 1);
|
atomic_set(&bo_gem->refcount, 1);
|
||||||
bo_gem->validate_index = -1;
|
bo_gem->validate_index = -1;
|
||||||
bo_gem->gem_handle = open_arg.handle;
|
bo_gem->gem_handle = open_arg.handle;
|
||||||
|
bo_gem->bo.handle = open_arg.handle;
|
||||||
bo_gem->global_name = handle;
|
bo_gem->global_name = handle;
|
||||||
bo_gem->reusable = 0;
|
bo_gem->reusable = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue