[PATCH] drm/amdgpu: replace sdma tmz flag on si dma
Alex Deucher
alexdeucher at gmail.com
Fri Apr 12 21:50:38 UTC 2024
On Fri, Apr 12, 2024 at 5:47 PM Gao, Likun <Likun.Gao at amd.com> wrote:
>
> [AMD Official Use Only - General]
>
> From: Likun Gao <Likun.Gao at amd.com>
>
> Fix build issue on si dma to replace tmz flag
>
> Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> 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
>
More information about the amd-gfx
mailing list