SWDEV-86035 - Switch PAL version to 572
Change-Id: I948bcfdb247a9d2d10c4089fd40d184f8999501b
[ROCm/clr commit: f7c95a7ec5]
This commit is contained in:
committed by
Christophe Paquot
parent
607745e99c
commit
60466af0bb
@@ -1,3 +1,3 @@
|
||||
# PAL interface versions
|
||||
PAL_MAJOR_VERSION = 563
|
||||
PAL_MAJOR_VERSION = 572
|
||||
GPUOPEN_MAJOR_VERSION = 41
|
||||
|
||||
@@ -510,8 +510,8 @@ Pal::Result RgpCaptureMgr::BeginRGPTrace(VirtualGPU* gpu) {
|
||||
|
||||
// Fill GPU commands
|
||||
gpu->eventBegin(MainEngine);
|
||||
trace_.gpa_sample_id_ =
|
||||
trace_.gpa_session_->BeginSample(gpu->queue(MainEngine).iCmd(), sampleConfig);
|
||||
result = trace_.gpa_session_->BeginSample(
|
||||
gpu->queue(MainEngine).iCmd(), sampleConfig, &trace_.gpa_sample_id_);
|
||||
gpu->eventEnd(MainEngine, trace_.begin_sqtt_event_);
|
||||
}
|
||||
|
||||
|
||||
@@ -358,14 +358,22 @@ bool VirtualGPU::Queue::flush() {
|
||||
return false;
|
||||
}
|
||||
|
||||
Pal::SubmitInfo submitInfo = {};
|
||||
submitInfo.cmdBufferCount = 1;
|
||||
submitInfo.ppCmdBuffers = &iCmdBuffs_[cmdBufIdSlot_];
|
||||
submitInfo.pFence = iCmdFences_[cmdBufIdSlot_];
|
||||
submitInfo.doppRefCount = palDoppRefs_.size();
|
||||
submitInfo.pDoppRefs = palDoppRefs_.data();
|
||||
submitInfo.externPhysMemCount = palSdiRefs_.size();
|
||||
submitInfo.ppExternPhysMem = palSdiRefs_.data();
|
||||
Pal::PerSubQueueSubmitInfo perSubQueueSubmitInfo = {};
|
||||
perSubQueueSubmitInfo.cmdBufferCount = 1;
|
||||
perSubQueueSubmitInfo.ppCmdBuffers = &iCmdBuffs_[cmdBufIdSlot_];
|
||||
|
||||
Pal::MultiSubmitInfo submitInfo = {};
|
||||
submitInfo.perSubQueueInfoCount = 1;
|
||||
submitInfo.pPerSubQueueInfo = &perSubQueueSubmitInfo;
|
||||
|
||||
submitInfo.doppRefCount = palDoppRefs_.size();
|
||||
submitInfo.pDoppRefs = palDoppRefs_.data();
|
||||
|
||||
submitInfo.externPhysMemCount = palSdiRefs_.size();
|
||||
submitInfo.ppExternPhysMem = palSdiRefs_.data();
|
||||
|
||||
submitInfo.fenceCount = 1;
|
||||
submitInfo.ppFences = &iCmdFences_[cmdBufIdSlot_];
|
||||
|
||||
// Submit command buffer to OS
|
||||
Pal::Result result;
|
||||
|
||||
Reference in New Issue
Block a user