]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: IB test encode test package change for VCN5
authorSonny Jiang <sonny.jiang@amd.com>
Sat, 13 Apr 2024 16:12:02 +0000 (12:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:17:55 +0000 (16:17 -0400)
VCN5 session info package interface changed

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c

index 677eb141554e06282311b49340b50060d7a3b60f..b89605b400c0ffb91d771fa7d02434ec18becc57 100644 (file)
@@ -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;