mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
fix: set proper gmm usage type for misaligned user ptr
Related-To: NEO-15295 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3717187cbc
commit
a665f27676
@@ -266,7 +266,6 @@ class ProductHelper {
|
||||
virtual bool isSharingWith3dOrMediaAllowed() const = 0;
|
||||
virtual bool isL3FlushAfterPostSyncSupported(bool heaplessEnabled) const = 0;
|
||||
virtual void overrideDirectSubmissionTimeouts(uint64_t &timeoutUs, uint64_t &maxTimeoutUs) const = 0;
|
||||
virtual bool isMisalignedUserPtr2WayCoherent() const = 0;
|
||||
virtual bool isSvmHeapReservationSupported() const = 0;
|
||||
virtual void setRenderCompressedFlags(HardwareInfo &hwInfo) const = 0;
|
||||
virtual bool isCompressionForbidden(const HardwareInfo &hwInfo) const = 0;
|
||||
|
||||
@@ -974,11 +974,6 @@ uint32_t ProductHelperHw<gfxProduct>::adjustMaxThreadsPerThreadGroup(uint32_t ma
|
||||
return maxThreadsPerThreadGroup;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isMisalignedUserPtr2WayCoherent() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isSvmHeapReservationSupported() const {
|
||||
return true;
|
||||
|
||||
@@ -203,7 +203,6 @@ class ProductHelperHw : public ProductHelper {
|
||||
bool isSharingWith3dOrMediaAllowed() const override;
|
||||
bool isL3FlushAfterPostSyncSupported(bool heaplessEnabled) const override;
|
||||
void overrideDirectSubmissionTimeouts(uint64_t &timeoutUs, uint64_t &maxTimeoutUs) const override;
|
||||
bool isMisalignedUserPtr2WayCoherent() const override;
|
||||
bool isSvmHeapReservationSupported() const override;
|
||||
void setRenderCompressedFlags(HardwareInfo &hwInfo) const override;
|
||||
bool isCompressionForbidden(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
Reference in New Issue
Block a user