Opensource ADLS.

Resolves: NEO-5092

Change-Id: I544247a057a667ce6423f2e59ba4ca769e866479
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
This commit is contained in:
Piotr Zdunowski
2020-10-08 15:40:40 +02:00
committed by sys_ocldev
parent 9bb8700b62
commit 4c2d92890f
32 changed files with 790 additions and 7 deletions

View File

@@ -1656,7 +1656,7 @@ typedef struct tagPIPELINE_SELECT {
uint32_t MediaSamplerDopClockGateEnable : BITFIELD_RANGE(4, 4);
uint32_t Reserved_5 : BITFIELD_RANGE(5, 5);
uint32_t MediaSamplerPowerClockGateDisable : BITFIELD_RANGE(6, 6);
uint32_t Reserved_7 : BITFIELD_RANGE(7, 7);
uint32_t SpecialModeEnable : BITFIELD_RANGE(7, 7); // ADL-only, patched
uint32_t MaskBits : BITFIELD_RANGE(8, 15);
uint32_t _3DCommandSubOpcode : BITFIELD_RANGE(16, 23);
uint32_t _3DCommandOpcode : BITFIELD_RANGE(24, 26);
@@ -1729,6 +1729,12 @@ typedef struct tagPIPELINE_SELECT {
inline bool getMediaSamplerPowerClockGateDisable(void) const {
return TheStructure.Common.MediaSamplerPowerClockGateDisable;
}
inline void setSpecialModeEnable(const bool value) {
TheStructure.Common.SpecialModeEnable = value;
}
inline bool getSpecialModeEnable(void) const {
return TheStructure.Common.SpecialModeEnable;
}
inline void setMaskBits(const uint32_t value) {
UNRECOVERABLE_IF(value > 0xff);
TheStructure.Common.MaskBits = value;