DrmGemCloseWorker - remove not used modes of operation.

Change-Id: Ie8524a8411f1022785536a523aad3e4ebea3a349
This commit is contained in:
Mrozek, Michal
2018-05-10 10:16:22 +02:00
committed by sys_ocldev
parent f90ced1452
commit 06287af541
9 changed files with 105 additions and 216 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -35,9 +35,8 @@ class DrmMemoryManager;
class DrmAllocation;
enum gemCloseWorkerMode {
gemCloseWorkerConsumingCommandBuffers,
gemCloseWorkerInactive,
gemCloseWorkerConsumingResources
gemCloseWorkerActive
};
class DrmGemCloseWorker {
@@ -53,7 +52,7 @@ class DrmGemCloseWorker {
bool isEmpty();
private:
protected:
void close(DrmAllocation *workItem);
void closeThread();
void worker();