mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Remove magic number from set/getBatchBufferStartAddressGraphicsaddress methods
rename methods to set/getBatchBufferStartAddress Related-To: NEO-6466 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ae31fec9a7
commit
66bf806018
@@ -6133,15 +6133,9 @@ typedef struct tagMI_BATCH_BUFFER_START {
|
||||
inline void setBatchBufferStartAddress(const uint64_t value) {
|
||||
TheStructure.Common.BatchBufferStartAddress = value >> BATCHBUFFERSTARTADDRESS_BIT_SHIFT;
|
||||
}
|
||||
inline void setBatchBufferStartAddressGraphicsaddress472(const uint64_t value) {
|
||||
TheStructure.Common.BatchBufferStartAddress = value >> BATCHBUFFERSTARTADDRESS_BIT_SHIFT;
|
||||
}
|
||||
inline uint64_t getBatchBufferStartAddress() const {
|
||||
return TheStructure.Common.BatchBufferStartAddress << BATCHBUFFERSTARTADDRESS_BIT_SHIFT;
|
||||
}
|
||||
inline uint64_t getBatchBufferStartAddressGraphicsaddress472() const {
|
||||
return TheStructure.Common.BatchBufferStartAddress << BATCHBUFFERSTARTADDRESS_BIT_SHIFT;
|
||||
}
|
||||
inline void setNestedLevelBatchBuffer(const NESTED_LEVEL_BATCH_BUFFER value) {
|
||||
TheStructure.Mi_Mode_Nestedbatchbufferenableis1.NestedLevelBatchBuffer = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user