mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Create wrappers for drm getparam, query, gem close, prime handle, version
Related-To: NEO-6852 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
07efa4a3a9
commit
05cb48976f
@@ -62,7 +62,7 @@ void BufferObject::setAddress(uint64_t address) {
|
||||
}
|
||||
|
||||
bool BufferObject::close() {
|
||||
drm_gem_close close = {};
|
||||
GemClose close{};
|
||||
close.handle = this->handle;
|
||||
|
||||
PRINT_DEBUG_STRING(DebugManager.flags.PrintBOCreateDestroyResult.get(), stdout, "Calling gem close on handle: BO-%d\n", this->handle);
|
||||
|
||||
Reference in New Issue
Block a user