mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: Ic8685e3711cec03d8f83d371fa7152ee095a47a0 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
23 lines
611 B
C++
23 lines
611 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "core/memory_manager/memory_operations_handler.h"
|
|
|
|
namespace NEO {
|
|
|
|
class DrmMemoryOperationsHandler : public MemoryOperationsHandler {
|
|
public:
|
|
DrmMemoryOperationsHandler();
|
|
~DrmMemoryOperationsHandler() override = default;
|
|
|
|
MemoryOperationsStatus makeResident(GraphicsAllocation &gfxAllocation) override;
|
|
MemoryOperationsStatus evict(GraphicsAllocation &gfxAllocation) override;
|
|
MemoryOperationsStatus isResident(GraphicsAllocation &gfxAllocation) override;
|
|
};
|
|
} // namespace NEO
|