Set MTYPE field in SDMA fence command on gfx10
This is the only SDMA command with an MTYPE field. Change-Id: Ice146ace9c3e8e7aff038e1e004be73c070f48fe
This commit is contained in:
committato da
Chris Freehill
parent
32a9a5dbb0
commit
e0358d7dc2
@@ -623,6 +623,10 @@ void BlitSdma<RingIndexTy, HwIndexMonotonic, SizeToCountOffset>::BuildFenceComma
|
||||
|
||||
packet_addr->HEADER_UNION.op = SDMA_OP_FENCE;
|
||||
|
||||
if (agent_->isa()->GetMajorVersion() >= 10) {
|
||||
packet_addr->HEADER_UNION.mtype = 3;
|
||||
}
|
||||
|
||||
packet_addr->ADDR_LO_UNION.addr_31_0 = ptrlow32(fence);
|
||||
|
||||
packet_addr->ADDR_HI_UNION.addr_63_32 = ptrhigh32(fence);
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user