SWDEV-440746 - Remove pending dispatch check for SDMA P2P

Change-Id: I7290345cfc60cd878fb39a06b03105441793c27b
Tá an tiomantas seo le fáil i:
German Andryeyev údaraithe agus Maneesh Gupta tiomanta 2024-02-05 05:08:11 +00:00
1 tuismitheoir dcd2fcff16
tiomantas 842eda5e7f
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -2274,7 +2274,7 @@ bool KernelBlitManager::copyBuffer(device::Memory& srcMemory, device::Memory& ds
uint32_t blit_wg_ = dev().settings().limit_blit_wg_;
if (&gpuMem(srcMemory).dev() != &gpuMem(dstMemory).dev()) {
if ((sizeIn[0] > dev().settings().sdma_p2p_threshold_) || !gpu().IsPendingDispatch()) {
if (sizeIn[0] > dev().settings().sdma_p2p_threshold_) {
p2p = true;
} else {
constexpr uint32_t kLimitWgForKernelP2p = 16;