Debug flag to control MI_ARB_CHECK prefetcher

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-03-09 15:17:47 +00:00
committed by Compute-Runtime-Automation
parent 41c51df086
commit e24322f266
12 changed files with 95 additions and 4 deletions

View File

@@ -5761,6 +5761,17 @@ typedef struct tagMI_ARB_CHECK {
inline uint32_t getPreFetchDisable() const {
return TheStructure.Common.Pre_FetchDisable;
}
// patched for easier templates usage
inline void setPreParserDisable(const uint32_t value) {
setPreFetchDisable(value);
}
// patched for easier templates usage
inline uint32_t getPreParserDisable() const {
return getPreFetchDisable();
}
inline void setMaskBits(const uint32_t value) {
DEBUG_BREAK_IF(value > 0xff00);
TheStructure.Common.MaskBits = value;