SWDEV-354868 - Queue::Create() for RT queue should fail when number of reserved CU's for RT queue is zero (most likely due to being aligned down by dedicatedCuGranularity).
Change-Id: I234e7ff83cb312bf44f5ad4b1a897c079f5106a9
Šī revīzija ir iekļauta:
@@ -89,6 +89,9 @@ VirtualGPU::Queue* VirtualGPU::Queue::Create(VirtualGPU& gpu, Pal::QueueType que
|
||||
} else if (amd::CommandQueue::RealTimeDisabled != rtCU) {
|
||||
qCreateInfo.numReservedCu = amd::alignDown(rtCU,
|
||||
gpu.dev().properties().engineProperties[Pal::EngineTypeCompute].dedicatedCuGranularity);
|
||||
if (qCreateInfo.numReservedCu == 0) {
|
||||
return nullptr;
|
||||
}
|
||||
if ((priority == amd::CommandQueue::Priority::Medium) &&
|
||||
// If Windows HWS is enabled, then the both real time queues are allocated
|
||||
// on the same engine
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user