mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: do not allow blit for depth image on arl
Related-To: NEO-14344 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
749ca4f1fb
commit
85ed1a15e4
@@ -65,6 +65,7 @@ class ReleaseHelper {
|
||||
virtual bool isNumRtStacksPerDssFixedValue() const = 0;
|
||||
virtual bool getFtrXe2Compression() const = 0;
|
||||
virtual uint32_t computeSlmValues(uint32_t slmSize, bool isHeapless) const = 0;
|
||||
virtual bool isBlitImageAllowedForDepthFormat() const = 0;
|
||||
|
||||
protected:
|
||||
ReleaseHelper(HardwareIpVersion hardwareIpVersion) : hardwareIpVersion(hardwareIpVersion) {}
|
||||
@@ -109,6 +110,7 @@ class ReleaseHelperHw : public ReleaseHelper {
|
||||
bool isNumRtStacksPerDssFixedValue() const override;
|
||||
bool getFtrXe2Compression() const override;
|
||||
uint32_t computeSlmValues(uint32_t slmSize, bool isHeapless) const override;
|
||||
bool isBlitImageAllowedForDepthFormat() const override;
|
||||
|
||||
protected:
|
||||
ReleaseHelperHw(HardwareIpVersion hardwareIpVersion) : ReleaseHelper(hardwareIpVersion) {}
|
||||
|
||||
@@ -44,6 +44,11 @@ bool ReleaseHelperHw<release>::getFtrXe2Compression() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isBlitImageAllowedForDepthFormat() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const {
|
||||
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;
|
||||
|
||||
@@ -171,5 +171,9 @@ template <ReleaseType releaseType>
|
||||
uint32_t ReleaseHelperHw<releaseType>::computeSlmValues(uint32_t slmSize, bool isHeapless) const {
|
||||
return 0u;
|
||||
}
|
||||
template <ReleaseType releaseType>
|
||||
bool ReleaseHelperHw<releaseType>::isBlitImageAllowedForDepthFormat() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user