radv/video: Fix encode session info for VCN3+

Last dword should be 0.

Cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34449>
This commit is contained in:
David Rosca 2025-04-09 15:35:34 +02:00 committed by Marge Bot
parent 34031531fc
commit 7249d9548e

View file

@ -457,7 +457,10 @@ radv_enc_session_info(struct radv_cmd_buffer *cmd_buffer)
RADEON_ENC_CS(pdev->encoder_interface_version);
RADEON_ENC_CS(va >> 32);
RADEON_ENC_CS(va & 0xffffffff);
RADEON_ENC_CS(RENCODE_ENGINE_TYPE_ENCODE);
if (pdev->enc_hw_ver < RADV_VIDEO_ENC_HW_3)
RADEON_ENC_CS(RENCODE_ENGINE_TYPE_ENCODE);
else
RADEON_ENC_CS(0);
RADEON_ENC_END();
}