mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Assign pat_index to BO during creation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5911515ed0
commit
06fa316a75
@@ -40,9 +40,11 @@ struct GT_SYSTEM_INFO;
|
||||
namespace NEO {
|
||||
#define I915_CONTEXT_PRIVATE_PARAM_BOOST 0x80000000
|
||||
|
||||
enum class AllocationType;
|
||||
class BufferObject;
|
||||
class DeviceFactory;
|
||||
class OsContext;
|
||||
class Gmm;
|
||||
struct HardwareInfo;
|
||||
struct RootDeviceEnvironment;
|
||||
struct SystemInfo;
|
||||
@@ -253,6 +255,8 @@ class Drm : public DriverModel {
|
||||
MOCKABLE_VIRTUAL uint32_t notifyFirstCommandQueueCreated();
|
||||
MOCKABLE_VIRTUAL void notifyLastCommandQueueDestroyed(uint32_t handle);
|
||||
|
||||
uint64_t getPatIndex(Gmm *gmm, AllocationType allocationType, CacheRegion cacheRegion, CachePolicy cachePolicy, bool closEnabled) const;
|
||||
|
||||
protected:
|
||||
Drm(std::unique_ptr<HwDeviceIdDrm> &&hwDeviceIdIn, RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user