On Fri, Apr 12, 2024 at 5:47 PM Gao, Likun <Likun.Gao@xxxxxxx> wrote: > > [AMD Official Use Only - General] > > From: Likun Gao <Likun.Gao@xxxxxxx> > > Fix build issue on si dma to replace tmz flag > > Signed-off-by: Likun Gao <Likun.Gao@xxxxxxx> Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/si_dma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/si_dma.c b/drivers/gpu/drm/amd/amdgpu/si_dma.c > index 42c4547f32ec..6672d8a49d66 100644 > --- a/drivers/gpu/drm/amd/amdgpu/si_dma.c > +++ b/drivers/gpu/drm/amd/amdgpu/si_dma.c > @@ -776,7 +776,7 @@ static void si_dma_emit_copy_buffer(struct amdgpu_ib *ib, > uint64_t src_offset, > uint64_t dst_offset, > uint32_t byte_count, > - bool tmz) > + uint32_t copy_flags) > { > ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, > 1, 0, 0, byte_count); > -- > 2.34.1 >