mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: Read SR register correctly for large GRF detection.
Related-To: NEO-11377 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
76af952fcb
commit
349a86a8dc
@@ -1203,7 +1203,7 @@ void DebugSession::updateGrfRegisterSetProperties(EuThread::ThreadId thread, uin
|
||||
if (regsetType == ZET_DEBUG_REGSET_TYPE_CR_INTEL_GPU) {
|
||||
largeGrfModeEnabled = regPtr[0] & 0x2000;
|
||||
} else if (regsetType == ZET_DEBUG_REGSET_TYPE_SR_INTEL_GPU) {
|
||||
largeGrfModeEnabled = regPtr[1] & 0x6000;
|
||||
largeGrfModeEnabled = ((regPtr[1] & 0x6000) == 0x6000);
|
||||
}
|
||||
|
||||
if (largeGrfModeEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user