mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Store root device environment reference in gmm helper
Related-To: NEO-6853 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8f1bdb220f
commit
1d6c3b0e04
@@ -13,7 +13,6 @@
|
||||
namespace NEO {
|
||||
class GmmClientContext;
|
||||
struct RootDeviceEnvironment;
|
||||
struct HardwareInfo;
|
||||
class GmmHandleAllocator;
|
||||
|
||||
class GmmClientContext {
|
||||
@@ -33,10 +32,6 @@ class GmmClientContext {
|
||||
return std::make_unique<T>(rootDeviceEnvironment);
|
||||
}
|
||||
|
||||
const HardwareInfo *getHardwareInfo() {
|
||||
return hardwareInfo;
|
||||
}
|
||||
|
||||
MOCKABLE_VIRTUAL uint8_t getSurfaceStateCompressionFormat(GMM_RESOURCE_FORMAT format);
|
||||
MOCKABLE_VIRTUAL uint8_t getMediaSurfaceStateCompressionFormat(GMM_RESOURCE_FORMAT format);
|
||||
|
||||
@@ -49,7 +44,6 @@ class GmmClientContext {
|
||||
}
|
||||
|
||||
protected:
|
||||
const HardwareInfo *hardwareInfo = nullptr;
|
||||
GMM_CLIENT_CONTEXT *clientContext;
|
||||
std::unique_ptr<GmmHandleAllocator> handleAllocator;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user