Skip to content

Commit 45810d9

Browse files
Make closing drm workers blocking
This change fixes segfault happening when driver is used in parallel processes. Signed-off-by: Krystian Chmielewski <[email protected]>
1 parent 6a39bcc commit 45810d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/source/os_interface/linux/drm_memory_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void DrmMemoryManager::releaseBufferObject(uint32_t rootDeviceIndex) {
143143

144144
void DrmMemoryManager::commonCleanup() {
145145
if (gemCloseWorker) {
146-
gemCloseWorker->close(false);
146+
gemCloseWorker->close(true);
147147
}
148148

149149
for (uint32_t rootDeviceIndex = 0; rootDeviceIndex < pinBBs.size(); ++rootDeviceIndex) {

0 commit comments

Comments
 (0)