mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
DrmGemCloseWorker - remove not used modes of operation.
Change-Id: Ie8524a8411f1022785536a523aad3e4ebea3a349
This commit is contained in:
committed by
sys_ocldev
parent
f90ced1452
commit
06287af541
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user