mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Cleanup includes 41
Cleaned up files: shared/source/command_stream/aub_command_stream_receiver_hw.h shared/source/helpers/common_types.h shared/source/os_interface/linux/drm_neo.h shared/source/os_interface/windows/hw_device_id.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cc7620eca2
commit
bc13db734d
@@ -21,6 +21,7 @@
|
||||
#include "shared/source/os_interface/windows/gdi_interface.h"
|
||||
#include "shared/source/os_interface/windows/gfx_escape_wrapper.h"
|
||||
#include "shared/source/os_interface/windows/wddm/um_km_data_temp_storage.h"
|
||||
#include "shared/source/os_interface/windows/wddm/um_km_data_translator.h"
|
||||
#include "shared/source/os_interface/windows/wddm/wddm.h"
|
||||
|
||||
#include "gmm_memory.h"
|
||||
|
||||
@@ -893,6 +893,10 @@ void Wddm::kmDafLock(D3DKMT_HANDLE handle) {
|
||||
kmDafListener->notifyLock(featureTable->flags.ftrKmdDaf, getAdapter(), device, handle, 0, getGdi()->escape);
|
||||
}
|
||||
|
||||
bool Wddm::isKmDafEnabled() const {
|
||||
return featureTable->flags.ftrKmdDaf;
|
||||
}
|
||||
|
||||
bool Wddm::setLowPriorityContextParam(D3DKMT_HANDLE contextHandle) {
|
||||
D3DKMT_SETCONTEXTSCHEDULINGPRIORITY contextPriority = {};
|
||||
|
||||
|
||||
@@ -6,38 +6,40 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/gmm_helper/gmm_lib.h"
|
||||
#include "shared/source/os_interface/windows/hw_device_id.h"
|
||||
#include "shared/source/os_interface/windows/sharedata_wrapper.h"
|
||||
#include "shared/source/os_interface/windows/wddm/wddm_defs.h"
|
||||
|
||||
#include "sku_info.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
struct _SYSTEM_INFO;
|
||||
typedef struct _SYSTEM_INFO SYSTEM_INFO;
|
||||
|
||||
namespace NEO {
|
||||
class WddmResidencyLogger;
|
||||
enum PreemptionMode : uint32_t;
|
||||
struct OSMemory;
|
||||
class GfxPartition;
|
||||
class Gdi;
|
||||
class GfxPartition;
|
||||
class Gmm;
|
||||
class GmmMemory;
|
||||
class ProductHelper;
|
||||
class OsContextWin;
|
||||
class ProductHelper;
|
||||
class SettingsReader;
|
||||
class WddmAllocation;
|
||||
class WddmInterface;
|
||||
class WddmResidencyController;
|
||||
class WddmResidencyLogger;
|
||||
class WddmResidentAllocationsContainer;
|
||||
|
||||
struct AllocationStorageData;
|
||||
struct FeatureTable;
|
||||
struct HardwareInfo;
|
||||
struct KmDafListener;
|
||||
struct RootDeviceEnvironment;
|
||||
struct MonitoredFence;
|
||||
struct OsHandleStorage;
|
||||
struct OSMemory;
|
||||
struct RootDeviceEnvironment;
|
||||
struct WorkaroundTable;
|
||||
|
||||
enum class HeapIndex : uint32_t;
|
||||
|
||||
@@ -80,7 +82,7 @@ class Wddm : public DriverModel {
|
||||
MOCKABLE_VIRTUAL void *lockResource(const D3DKMT_HANDLE &handle, bool applyMakeResidentPriorToLock, size_t size);
|
||||
MOCKABLE_VIRTUAL void unlockResource(const D3DKMT_HANDLE &handle);
|
||||
MOCKABLE_VIRTUAL void kmDafLock(D3DKMT_HANDLE handle);
|
||||
MOCKABLE_VIRTUAL bool isKmDafEnabled() const { return featureTable->flags.ftrKmdDaf; }
|
||||
MOCKABLE_VIRTUAL bool isKmDafEnabled() const;
|
||||
|
||||
MOCKABLE_VIRTUAL bool setAllocationPriority(const D3DKMT_HANDLE *handles, uint32_t allocationCount, uint32_t priority);
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "shared/source/os_interface/windows/gdi_interface.h"
|
||||
#include "shared/source/os_interface/windows/os_context_win.h"
|
||||
#include "shared/source/os_interface/windows/wddm/um_km_data_temp_storage.h"
|
||||
#include "shared/source/os_interface/windows/wddm/um_km_data_translator.h"
|
||||
#include "shared/source/os_interface/windows/wddm/wddm.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
Reference in New Issue
Block a user