Set MTYPE field in SDMA fence command on gfx10
This is the only SDMA command with an MTYPE field.
Change-Id: Ice146ace9c3e8e7aff038e1e004be73c070f48fe
[ROCm/ROCR-Runtime commit: e0358d7dc2]
This commit is contained in:
committad av
Chris Freehill
förälder
d597f80b04
incheckning
fe6a31ee4e
@@ -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);
|
||||
|
||||
Referens i nytt ärende
Block a user