[PATCH v3] drm/amdgpu: IB test encode test package change for VCN5

Dong, Ruijing Ruijing.Dong at amd.com
Mon Apr 29 18:20:38 UTC 2024


[AMD Official Use Only - General]

Reviewed-by: Ruijing Dong ruijing.dong at amd.com<mailto:ruijing.dong at amd.com>

Thanks,
Ruijing

From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Jiang, Sonny
Sent: Monday, April 29, 2024 9:49 AM
To: amd-gfx at lists.freedesktop.org
Subject: Re: [PATCH v3] drm/amdgpu: IB test encode test package change for VCN5


[AMD Official Use Only - General]


[AMD Official Use Only - General]

Ping.

Sonny
________________________________
From: Jiang, Sonny <Sonny.Jiang at amd.com<mailto:Sonny.Jiang at amd.com>>
Sent: Thursday, April 25, 2024 4:12 PM
To: amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org> <amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org>>
Subject: Re: [PATCH v3] drm/amdgpu: IB test encode test package change for VCN5

By tests, I didn't find error on VCN1 to VCN4.

Thanks,
Sonny

________________________________
From: Jiang, Sonny <Sonny.Jiang at amd.com<mailto:Sonny.Jiang at amd.com>>
Sent: Thursday, April 25, 2024 4:10 PM
To: amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org> <amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org>>
Cc: Jiang, Sonny <Sonny.Jiang at amd.com<mailto:Sonny.Jiang at amd.com>>; Jiang, Sonny <Sonny.Jiang at amd.com<mailto:Sonny.Jiang at amd.com>>
Subject: [PATCH v3] drm/amdgpu: IB test encode test package change for VCN5

From: Sonny Jiang <sonjiang at amd.com<mailto:sonjiang at amd.com>>

VCN5 session info package interface changed

Signed-off-by: Sonny Jiang <sonny.jiang at amd.com<mailto:sonny.jiang at amd.com>>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index 677eb141554e..b89605b400c0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -885,7 +885,7 @@ static int amdgpu_vcn_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t hand
         ib->ptr[ib->length_dw++] = handle;
         ib->ptr[ib->length_dw++] = upper_32_bits(addr);
         ib->ptr[ib->length_dw++] = addr;
-       ib->ptr[ib->length_dw++] = 0x0000000b;
+       ib->ptr[ib->length_dw++] = 0x00000000;

         ib->ptr[ib->length_dw++] = 0x00000014;
         ib->ptr[ib->length_dw++] = 0x00000002; /* task info */
@@ -952,7 +952,7 @@ static int amdgpu_vcn_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t han
         ib->ptr[ib->length_dw++] = handle;
         ib->ptr[ib->length_dw++] = upper_32_bits(addr);
         ib->ptr[ib->length_dw++] = addr;
-       ib->ptr[ib->length_dw++] = 0x0000000b;
+       ib->ptr[ib->length_dw++] = 0x00000000;

         ib->ptr[ib->length_dw++] = 0x00000014;
         ib->ptr[ib->length_dw++] = 0x00000002;
--
2.43.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20240429/3f96a35d/attachment-0001.htm>


More information about the amd-gfx mailing list